/drivers/net/wireless/st/cw1200/ |
D | queue.h | 87 int cw1200_queue_requeue(struct cw1200_queue *queue, u32 packet_id); 90 u32 packet_id); 91 int cw1200_queue_get_skb(struct cw1200_queue *queue, u32 packet_id, 103 static inline u8 cw1200_queue_get_queue_id(u32 packet_id) in cw1200_queue_get_queue_id() argument 105 return (packet_id >> 16) & 0xFF; in cw1200_queue_get_queue_id() 108 static inline u8 cw1200_queue_get_generation(u32 packet_id) in cw1200_queue_get_generation() argument 110 return (packet_id >> 8) & 0xFF; in cw1200_queue_get_generation()
|
D | queue.c | 20 u32 packet_id; member 48 static inline void cw1200_queue_parse_id(u32 packet_id, u8 *queue_generation, in cw1200_queue_parse_id() argument 52 *item_id = (packet_id >> 0) & 0xFF; in cw1200_queue_parse_id() 53 *item_generation = (packet_id >> 8) & 0xFF; in cw1200_queue_parse_id() 54 *queue_id = (packet_id >> 16) & 0xFF; in cw1200_queue_parse_id() 55 *queue_generation = (packet_id >> 24) & 0xFF; in cw1200_queue_parse_id() 300 item->packet_id = cw1200_queue_mk_packet_id(queue->generation, in cw1200_queue_put() 354 (*tx)->packet_id = item->packet_id; in cw1200_queue_get() 372 int cw1200_queue_requeue(struct cw1200_queue *queue, u32 packet_id) in cw1200_queue_requeue() argument 379 cw1200_queue_parse_id(packet_id, &queue_generation, &queue_id, in cw1200_queue_requeue() [all …]
|
D | txrx.c | 851 u8 queue_id = cw1200_queue_get_queue_id(arg->packet_id); in cw1200_tx_confirm_cb() 881 cw1200_queue_get_generation(arg->packet_id) + 1, in cw1200_tx_confirm_cb() 883 cw1200_queue_requeue(queue, arg->packet_id); in cw1200_tx_confirm_cb() 893 } else if (!cw1200_queue_get_skb(queue, arg->packet_id, in cw1200_tx_confirm_cb() 905 arg->packet_id == priv->bss_loss_confirm_id) { in cw1200_tx_confirm_cb() 953 cw1200_queue_remove(queue, arg->packet_id); in cw1200_tx_confirm_cb()
|
D | wsm.c | 358 tx_confirm.packet_id = WSM_GET32(buf); in wsm_tx_confirm() 1486 if (cw1200_queue_get_generation(wsm->packet_id) > in wsm_handle_tx_data() 1516 priv->bss_loss_confirm_id = wsm->packet_id; in wsm_handle_tx_data() 1546 priv->pending_frame_id = wsm->packet_id; in wsm_handle_tx_data() 1554 BUG_ON(cw1200_queue_remove(queue, wsm->packet_id)); in wsm_handle_tx_data() 1561 priv->pending_frame_id = wsm->packet_id; in wsm_handle_tx_data()
|
D | wsm.h | 763 u32 packet_id; member 804 u32 packet_id; /* Note this is actually a cookie */ member
|
/drivers/net/usb/ |
D | net1080.c | 47 __le16 packet_id; // detects dropped packets member 58 __le16 packet_id; member 398 if (header->packet_id != get_unaligned(&trailer->packet_id)) { in net1080_rx_fixup() 401 le16_to_cpu(header->packet_id), in net1080_rx_fixup() 402 le16_to_cpu(trailer->packet_id)); in net1080_rx_fixup() 407 header->packet_len, header->packet_id); in net1080_rx_fixup() 459 header->packet_id = cpu_to_le16((u16)dev->xid++); in net1080_tx_fixup() 465 put_unaligned(header->packet_id, &trailer->packet_id); in net1080_tx_fixup() 469 header->packet_id); in net1080_tx_fixup()
|
/drivers/net/wireless/silabs/wfx/ |
D | queue.c | 143 struct sk_buff *wfx_pending_get(struct wfx_dev *wdev, u32 packet_id) in wfx_pending_get() argument 155 if (req->packet_id != packet_id) in wfx_pending_get() 192 req->packet_id, ktime_ms_delta(now, tx_priv->xmit_timestamp)); in wfx_pending_dump_old_frames()
|
D | data_tx.c | 348 req->packet_id = atomic_add_return(1, &wvif->wdev->packet_id) & 0xFFFF; in wfx_tx_inner() 349 req->packet_id |= IEEE80211_SEQ_TO_SN(le16_to_cpu(hdr->seq_ctrl)) << 16; in wfx_tx_inner() 350 req->packet_id |= queue_id << 28; in wfx_tx_inner() 465 skb = wfx_pending_get(wdev, arg->packet_id); in wfx_tx_confirm_cb() 468 arg->packet_id); in wfx_tx_confirm_cb()
|
D | queue.h | 39 struct sk_buff *wfx_pending_get(struct wfx_dev *wdev, u32 packet_id);
|
D | wfx.h | 53 atomic_t packet_id; member
|
D | hif_api_cmd.h | 178 u32 packet_id; member 216 u32 packet_id; member
|
/drivers/isdn/mISDN/ |
D | l1oip_core.c | 446 u32 packet_id; in l1oip_socket_parse() local 485 packet_id = (*buf >> 4) & 1; in l1oip_socket_parse() 498 if (packet_id) { in l1oip_socket_parse() 501 "0x%x, but we have not\n", __func__, packet_id); in l1oip_socket_parse() 509 packet_id = (*buf++) << 24; in l1oip_socket_parse() 510 packet_id += (*buf++) << 16; in l1oip_socket_parse() 511 packet_id += (*buf++) << 8; in l1oip_socket_parse() 512 packet_id += (*buf++); in l1oip_socket_parse() 515 if (packet_id != hc->id) { in l1oip_socket_parse() 518 __func__, packet_id, hc->id); in l1oip_socket_parse()
|
/drivers/input/joystick/iforce/ |
D | iforce-packets.c | 156 u8 packet_id, u8 *data, size_t len) in iforce_process_packet() argument 161 switch (packet_id) { in iforce_process_packet()
|
D | iforce.h | 136 u8 packet_id, u8 *data, size_t len);
|
/drivers/misc/habanalabs/include/goya/ |
D | goya_packets.h | 16 enum packet_id { enum
|
/drivers/media/usb/ttusb-dec/ |
D | ttusb_dec.c | 587 u16 packet_id; in ttusb_dec_process_packet() local 602 packet_id = dec->packet[dec->packet_length - 4] << 8; in ttusb_dec_process_packet() 603 packet_id += dec->packet[dec->packet_length - 3]; in ttusb_dec_process_packet() 605 if ((packet_id != dec->next_packet_id) && dec->next_packet_id) { in ttusb_dec_process_packet() 607 __func__, dec->next_packet_id - 1, packet_id); in ttusb_dec_process_packet() 610 if (packet_id == 0xffff) in ttusb_dec_process_packet() 613 dec->next_packet_id = packet_id + 1; in ttusb_dec_process_packet()
|
/drivers/misc/habanalabs/include/gaudi/ |
D | gaudi_packets.h | 16 enum packet_id { enum
|
/drivers/misc/habanalabs/include/gaudi2/ |
D | gaudi2_packets.h | 16 enum packet_id { enum
|
/drivers/gpu/drm/vc4/ |
D | vc4_hdmi.c | 658 u32 packet_id = type - 0x80; in vc4_hdmi_stop_packet() local 668 HDMI_READ(HDMI_RAM_PACKET_CONFIG) & ~BIT(packet_id)); in vc4_hdmi_stop_packet() 673 BIT(packet_id)), 100); in vc4_hdmi_stop_packet() 685 u32 packet_id = frame->any.type - 0x80; in vc4_hdmi_write_infoframe() local 688 u32 packet_reg = ram_packet_start->offset + VC4_HDMI_PACKET_STRIDE * packet_id; in vc4_hdmi_write_infoframe() 690 VC4_HDMI_PACKET_STRIDE * (packet_id + 1); in vc4_hdmi_write_infoframe() 741 HDMI_READ(HDMI_RAM_PACKET_CONFIG) | BIT(packet_id)); in vc4_hdmi_write_infoframe() 746 BIT(packet_id)), 100); in vc4_hdmi_write_infoframe()
|
/drivers/input/mouse/ |
D | alps.c | 953 unsigned char packet_id; in alps_get_packet_id_v7() local 956 packet_id = V7_PACKET_ID_TWO; in alps_get_packet_id_v7() 958 packet_id = V7_PACKET_ID_MULTI; in alps_get_packet_id_v7() 960 packet_id = V7_PACKET_ID_NEW; in alps_get_packet_id_v7() 962 packet_id = V7_PACKET_ID_IDLE; in alps_get_packet_id_v7() 964 packet_id = V7_PACKET_ID_UNKNOWN; in alps_get_packet_id_v7() 966 return packet_id; in alps_get_packet_id_v7()
|
/drivers/input/touchscreen/ |
D | sur40.c | 47 __le32 packet_id; /* unique ID for all packets in one frame */ member 98 __le32 packet_id; member
|
/drivers/thunderbolt/ |
D | tb_msgs.h | 123 u8 packet_id; member
|
D | icm.c | 289 if (hdr->packet_id < req->npackets) { in icm_copy() 290 size_t offset = hdr->packet_id * req->response_size; in icm_copy() 295 return hdr->packet_id == hdr->total_packets - 1; in icm_copy() 1218 if (pkg->hdr.packet_id) in __icm_tr_device_connected()
|
/drivers/misc/habanalabs/common/ |
D | firmware_if.c | 2977 static int hl_fw_get_sec_attest_data(struct hl_device *hdev, u32 packet_id, void *data, u32 size, in hl_fw_get_sec_attest_data() argument 2988 "Failed to allocate DMA memory for CPU-CP packet %u\n", packet_id); in hl_fw_get_sec_attest_data() 2994 pkt.ctl = cpu_to_le32(packet_id << CPUCP_PKT_CTL_OPCODE_SHIFT); in hl_fw_get_sec_attest_data() 3003 "Failed to handle CPU-CP pkt %u, error %d\n", packet_id, rc); in hl_fw_get_sec_attest_data()
|
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | fwil_types.h | 223 __le32 packet_id; member
|