Home
last modified time | relevance | path

Searched refs:packet_id (Results 1 – 20 of 20) sorted by relevance

/Linux-v4.19/drivers/net/wireless/st/cw1200/
Dqueue.h90 int cw1200_queue_requeue(struct cw1200_queue *queue, u32 packet_id);
93 u32 packet_id);
94 int cw1200_queue_get_skb(struct cw1200_queue *queue, u32 packet_id,
106 static inline u8 cw1200_queue_get_queue_id(u32 packet_id) in cw1200_queue_get_queue_id() argument
108 return (packet_id >> 16) & 0xFF; in cw1200_queue_get_queue_id()
111 static inline u8 cw1200_queue_get_generation(u32 packet_id) in cw1200_queue_get_generation() argument
113 return (packet_id >> 8) & 0xFF; in cw1200_queue_get_generation()
Dqueue.c22 u32 packet_id; member
50 static inline void cw1200_queue_parse_id(u32 packet_id, u8 *queue_generation, in cw1200_queue_parse_id() argument
54 *item_id = (packet_id >> 0) & 0xFF; in cw1200_queue_parse_id()
55 *item_generation = (packet_id >> 8) & 0xFF; in cw1200_queue_parse_id()
56 *queue_id = (packet_id >> 16) & 0xFF; in cw1200_queue_parse_id()
57 *queue_generation = (packet_id >> 24) & 0xFF; in cw1200_queue_parse_id()
302 item->packet_id = cw1200_queue_mk_packet_id(queue->generation, in cw1200_queue_put()
356 (*tx)->packet_id = item->packet_id; in cw1200_queue_get()
374 int cw1200_queue_requeue(struct cw1200_queue *queue, u32 packet_id) in cw1200_queue_requeue() argument
381 cw1200_queue_parse_id(packet_id, &queue_generation, &queue_id, in cw1200_queue_requeue()
[all …]
Dtxrx.c857 u8 queue_id = cw1200_queue_get_queue_id(arg->packet_id); in cw1200_tx_confirm_cb()
887 cw1200_queue_get_generation(arg->packet_id) + 1, in cw1200_tx_confirm_cb()
889 cw1200_queue_requeue(queue, arg->packet_id); in cw1200_tx_confirm_cb()
899 } else if (!cw1200_queue_get_skb(queue, arg->packet_id, in cw1200_tx_confirm_cb()
911 arg->packet_id == priv->bss_loss_confirm_id) { in cw1200_tx_confirm_cb()
959 cw1200_queue_remove(queue, arg->packet_id); in cw1200_tx_confirm_cb()
Dwsm.c361 tx_confirm.packet_id = WSM_GET32(buf); in wsm_tx_confirm()
1491 if (cw1200_queue_get_generation(wsm->packet_id) > in wsm_handle_tx_data()
1521 priv->bss_loss_confirm_id = wsm->packet_id; in wsm_handle_tx_data()
1551 priv->pending_frame_id = wsm->packet_id; in wsm_handle_tx_data()
1559 BUG_ON(cw1200_queue_remove(queue, wsm->packet_id)); in wsm_handle_tx_data()
1566 priv->pending_frame_id = wsm->packet_id; in wsm_handle_tx_data()
Dwsm.h766 u32 packet_id; member
809 u32 packet_id; /* Note this is actually a cookie */ member
/Linux-v4.19/drivers/net/usb/
Dnet1080.c59 __le16 packet_id; // detects dropped packets member
70 __le16 packet_id; member
411 if (header->packet_id != get_unaligned(&trailer->packet_id)) { in net1080_rx_fixup()
414 le16_to_cpu(header->packet_id), in net1080_rx_fixup()
415 le16_to_cpu(trailer->packet_id)); in net1080_rx_fixup()
420 header->packet_len, header->packet_id); in net1080_rx_fixup()
472 header->packet_id = cpu_to_le16((u16)dev->xid++); in net1080_tx_fixup()
478 put_unaligned(header->packet_id, &trailer->packet_id); in net1080_tx_fixup()
482 header->packet_id); in net1080_tx_fixup()
/Linux-v4.19/net/batman-adv/
Dnetwork-coding.c1127 packet_id1 = nc_packet->packet_id; in batadv_nc_code_packets()
1140 packet_id2 = nc_packet->packet_id; in batadv_nc_code_packets()
1488 __be32 packet_id) in batadv_nc_skb_add_to_path() argument
1498 nc_packet->packet_id = packet_id; in batadv_nc_skb_add_to_path()
1527 __be32 packet_id; in batadv_nc_skb_forward() local
1554 packet_id = batadv_skb_crc32(skb, payload + sizeof(*packet)); in batadv_nc_skb_forward()
1555 if (!batadv_nc_skb_add_to_path(skb, nc_path, neigh_node, packet_id)) in batadv_nc_skb_forward()
1580 __be32 packet_id; in batadv_nc_skb_store_for_decoding() local
1614 packet_id = batadv_skb_crc32(skb, payload + sizeof(*packet)); in batadv_nc_skb_store_for_decoding()
1615 if (!batadv_nc_skb_add_to_path(skb, nc_path, NULL, packet_id)) in batadv_nc_skb_store_for_decoding()
[all …]
Dtypes.h2029 __be32 packet_id; member
/Linux-v4.19/drivers/isdn/mISDN/
Dl1oip_core.c460 u32 packet_id; in l1oip_socket_parse() local
499 packet_id = (*buf >> 4) & 1; in l1oip_socket_parse()
512 if (packet_id) { in l1oip_socket_parse()
515 "0x%x, but we have not\n", __func__, packet_id); in l1oip_socket_parse()
523 packet_id = (*buf++) << 24; in l1oip_socket_parse()
524 packet_id += (*buf++) << 16; in l1oip_socket_parse()
525 packet_id += (*buf++) << 8; in l1oip_socket_parse()
526 packet_id += (*buf++); in l1oip_socket_parse()
529 if (packet_id != hc->id) { in l1oip_socket_parse()
532 __func__, packet_id, hc->id); in l1oip_socket_parse()
/Linux-v4.19/include/uapi/linux/netfilter/
Dnfnetlink_queue.h18 __be32 packet_id; /* unique ID of packet in queue */ member
/Linux-v4.19/drivers/gpu/drm/vc4/
Dvc4_hdmi.c351 u32 packet_id = type - 0x80; in vc4_hdmi_stop_packet() local
354 HDMI_READ(VC4_HDMI_RAM_PACKET_CONFIG) & ~BIT(packet_id)); in vc4_hdmi_stop_packet()
357 BIT(packet_id)), 100); in vc4_hdmi_stop_packet()
365 u32 packet_id = frame->any.type - 0x80; in vc4_hdmi_write_infoframe() local
366 u32 packet_reg = VC4_HDMI_RAM_PACKET(packet_id); in vc4_hdmi_write_infoframe()
401 HDMI_READ(VC4_HDMI_RAM_PACKET_CONFIG) | BIT(packet_id)); in vc4_hdmi_write_infoframe()
403 BIT(packet_id)), 100); in vc4_hdmi_write_infoframe()
/Linux-v4.19/drivers/input/touchscreen/
Dsur40.c51 __le32 packet_id; /* unique ID for all packets in one frame */ member
102 __le32 packet_id; member
460 u32 uninitialized_var(packet_id); in sur40_poll()
495 packet_id = le32_to_cpu(header->packet_id); in sur40_poll()
/Linux-v4.19/drivers/media/usb/ttusb-dec/
Dttusb_dec.c599 u16 packet_id; in ttusb_dec_process_packet() local
614 packet_id = dec->packet[dec->packet_length - 4] << 8; in ttusb_dec_process_packet()
615 packet_id += dec->packet[dec->packet_length - 3]; in ttusb_dec_process_packet()
617 if ((packet_id != dec->next_packet_id) && dec->next_packet_id) { in ttusb_dec_process_packet()
619 __func__, dec->next_packet_id - 1, packet_id); in ttusb_dec_process_packet()
622 if (packet_id == 0xffff) in ttusb_dec_process_packet()
625 dec->next_packet_id = packet_id + 1; in ttusb_dec_process_packet()
/Linux-v4.19/drivers/input/mouse/
Dalps.c955 unsigned char packet_id; in alps_get_packet_id_v7() local
958 packet_id = V7_PACKET_ID_TWO; in alps_get_packet_id_v7()
960 packet_id = V7_PACKET_ID_MULTI; in alps_get_packet_id_v7()
962 packet_id = V7_PACKET_ID_NEW; in alps_get_packet_id_v7()
964 packet_id = V7_PACKET_ID_IDLE; in alps_get_packet_id_v7()
966 packet_id = V7_PACKET_ID_UNKNOWN; in alps_get_packet_id_v7()
968 return packet_id; in alps_get_packet_id_v7()
/Linux-v4.19/drivers/thunderbolt/
Dtb_msgs.h119 u8 packet_id; member
Dicm.c191 if (hdr->packet_id < req->npackets) { in icm_copy()
192 size_t offset = hdr->packet_id * req->response_size; in icm_copy()
197 return hdr->packet_id == hdr->total_packets - 1; in icm_copy()
1029 if (pkg->hdr.packet_id) in icm_tr_device_connected()
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfwil_types.h230 __le32 packet_id; member
Dcfg80211.c4841 action_frame->packet_id = cpu_to_le32(*cookie); in brcmf_cfg80211_mgmt_tx()
/Linux-v4.19/include/uapi/drm/
Dradeon_drm.h194 unsigned char cmd_type, packet_id, pad0, pad1; member
/Linux-v4.19/net/netfilter/
Dnfnetlink_queue.c493 *packet_id_ptr = &pmsg->packet_id; in nfqnl_build_packet_message()