Home
last modified time | relevance | path

Searched refs:packet_id (Results 1 - 25 of 77) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/net/wireless/st/cw1200/
H A Dqueue.h87 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()
H A Dqueue.c19 u32 packet_id; member
47 static inline void cw1200_queue_parse_id(u32 packet_id, u8 *queue_generation, in cw1200_queue_parse_id() argument
51 *item_id = (packet_id >> 0) & 0xFF; in cw1200_queue_parse_id()
52 *item_generation = (packet_id >> 8) & 0xFF; in cw1200_queue_parse_id()
53 *queue_id = (packet_id >> 16) & 0xFF; in cw1200_queue_parse_id()
54 *queue_generation = (packet_id >> 24) & 0xFF; in cw1200_queue_parse_id()
297 item->packet_id = cw1200_queue_mk_packet_id(queue->generation, in cw1200_queue_put()
351 (*tx)->packet_id = item->packet_id; in cw1200_queue_get()
369 int cw1200_queue_requeue(struct cw1200_queue *queue, u32 packet_id) in cw1200_queue_requeue() argument
438 cw1200_queue_remove(struct cw1200_queue *queue, u32 packet_id) cw1200_queue_remove() argument
489 cw1200_queue_get_skb(struct cw1200_queue *queue, u32 packet_id, struct sk_buff **skb, const struct cw1200_txpriv **txpriv) cw1200_queue_get_skb() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/st/cw1200/
H A Dqueue.h87 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()
H A Dqueue.c20 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
441 cw1200_queue_remove(struct cw1200_queue *queue, u32 packet_id) cw1200_queue_remove() argument
492 cw1200_queue_get_skb(struct cw1200_queue *queue, u32 packet_id, struct sk_buff **skb, const struct cw1200_txpriv **txpriv) cw1200_queue_get_skb() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/usb/
H A Dnet1080.c47 __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()
400 netdev_dbg(dev->net, "(2+ dropped) rx packet_id mismatch 0x%x 0x%x\n", 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, in net1080_tx_fixup()
[all...]
/kernel/linux/linux-6.6/drivers/net/usb/
H A Dnet1080.c47 __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()
400 netdev_dbg(dev->net, "(2+ dropped) rx packet_id mismatch 0x%x 0x%x\n", 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, in net1080_tx_fixup()
[all...]
/kernel/linux/linux-5.10/net/batman-adv/
H A Dnetwork-coding.c1116 packet_id1 = nc_packet->packet_id; in batadv_nc_code_packets()
1129 packet_id2 = nc_packet->packet_id; in batadv_nc_code_packets()
1470 * @packet_id: checksum to identify packet
1477 __be32 packet_id) in batadv_nc_skb_add_to_path()
1487 nc_packet->packet_id = packet_id; in batadv_nc_skb_add_to_path()
1516 __be32 packet_id; in batadv_nc_skb_forward() local
1543 packet_id = batadv_skb_crc32(skb, payload + sizeof(*packet)); in batadv_nc_skb_forward()
1544 if (!batadv_nc_skb_add_to_path(skb, nc_path, neigh_node, packet_id)) in batadv_nc_skb_forward()
1569 __be32 packet_id; in batadv_nc_skb_store_for_decoding() local
1474 batadv_nc_skb_add_to_path(struct sk_buff *skb, struct batadv_nc_path *nc_path, struct batadv_neigh_node *neigh_node, __be32 packet_id) batadv_nc_skb_add_to_path() argument
1750 __be32 packet_id; batadv_nc_find_decoding_packet() local
[all...]
/kernel/linux/linux-6.6/net/batman-adv/
H A Dnetwork-coding.c1107 packet_id1 = nc_packet->packet_id; in batadv_nc_code_packets()
1120 packet_id2 = nc_packet->packet_id; in batadv_nc_code_packets()
1457 * @packet_id: checksum to identify packet
1464 __be32 packet_id) in batadv_nc_skb_add_to_path()
1474 nc_packet->packet_id = packet_id; in batadv_nc_skb_add_to_path()
1503 __be32 packet_id; in batadv_nc_skb_forward() local
1530 packet_id = batadv_skb_crc32(skb, payload + sizeof(*packet)); in batadv_nc_skb_forward()
1531 if (!batadv_nc_skb_add_to_path(skb, nc_path, neigh_node, packet_id)) in batadv_nc_skb_forward()
1556 __be32 packet_id; in batadv_nc_skb_store_for_decoding() local
1461 batadv_nc_skb_add_to_path(struct sk_buff *skb, struct batadv_nc_path *nc_path, struct batadv_neigh_node *neigh_node, __be32 packet_id) batadv_nc_skb_add_to_path() argument
1737 __be32 packet_id; batadv_nc_find_decoding_packet() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/wfx/
H A Dqueue.c147 struct sk_buff *wfx_pending_get(struct wfx_dev *wdev, u32 packet_id) in wfx_pending_get() argument
159 if (req->packet_id != packet_id) in wfx_pending_get()
197 req->packet_id, in wfx_pending_dump_old_frames()
H A Ddata_tx.c372 // packet_id just need to be unique on device. 32bits are more than in wfx_tx_inner()
375 req->packet_id = atomic_add_return(1, &wvif->wdev->packet_id) & 0xFFFF; in wfx_tx_inner()
376 req->packet_id |= IEEE80211_SEQ_TO_SN(le16_to_cpu(hdr->seq_ctrl)) << 16; in wfx_tx_inner()
377 req->packet_id |= queue_id << 28; in wfx_tx_inner()
496 skb = wfx_pending_get(wdev, arg->packet_id); in wfx_tx_confirm_cb()
498 dev_warn(wdev->dev, "received unknown packet_id (%#.8x) from chip\n", in wfx_tx_confirm_cb()
499 arg->packet_id); in wfx_tx_confirm_cb()
H A Dqueue.h39 struct sk_buff *wfx_pending_get(struct wfx_dev *wdev, u32 packet_id);
/kernel/linux/linux-6.6/drivers/net/wireless/silabs/wfx/
H A Dqueue.c143 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()
H A Ddata_tx.c345 /* packet_id just need to be unique on device. 32bits are more than necessary for that task, in wfx_tx_inner()
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()
467 dev_warn(wdev->dev, "received unknown packet_id (%#.8x) from chip\n", in wfx_tx_confirm_cb()
468 arg->packet_id); in wfx_tx_confirm_cb()
H A Dqueue.h39 struct sk_buff *wfx_pending_get(struct wfx_dev *wdev, u32 packet_id);
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/
H A Dtx.c120 wcid->packet_id = (wcid->packet_id + 1) & MT_PACKET_ID_MASK; in mt76_tx_status_skb_add()
121 if (wcid->packet_id == MT_PACKET_ID_NO_ACK || in mt76_tx_status_skb_add()
122 wcid->packet_id == MT_PACKET_ID_NO_SKB) in mt76_tx_status_skb_add()
123 wcid->packet_id = MT_PACKET_ID_FIRST; in mt76_tx_status_skb_add()
125 pid = wcid->packet_id; in mt76_tx_status_skb_add()
/kernel/linux/linux-5.10/drivers/isdn/mISDN/
H A Dl1oip_core.c446 u32 packet_id; in l1oip_socket_parse() local
485 packet_id = (*buf >> 4) & 1; in l1oip_socket_parse()
497 /* check packet_id */ 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 ! in l1oip_socket_parse()
[all...]
/kernel/linux/linux-6.6/drivers/isdn/mISDN/
H A Dl1oip_core.c446 u32 packet_id; in l1oip_socket_parse() local
485 packet_id = (*buf >> 4) & 1; in l1oip_socket_parse()
497 /* check packet_id */ 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 ! in l1oip_socket_parse()
[all...]
/kernel/linux/linux-5.10/drivers/input/joystick/iforce/
H A Diforce-packets.c156 u8 packet_id, u8 *data, size_t len) in iforce_process_packet()
161 switch (packet_id) { in iforce_process_packet()
155 iforce_process_packet(struct iforce *iforce, u8 packet_id, u8 *data, size_t len) iforce_process_packet() argument
/kernel/linux/linux-6.6/drivers/input/joystick/iforce/
H A Diforce-packets.c156 u8 packet_id, u8 *data, size_t len) in iforce_process_packet()
161 switch (packet_id) { in iforce_process_packet()
155 iforce_process_packet(struct iforce *iforce, u8 packet_id, u8 *data, size_t len) iforce_process_packet() argument
/kernel/linux/linux-5.10/drivers/misc/habanalabs/include/goya/
H A Dgoya_packets.h16 enum packet_id { enum
/kernel/linux/linux-5.10/include/uapi/linux/netfilter/
H A Dnfnetlink_queue.h18 __be32 packet_id; /* unique ID of packet in queue */ member
/kernel/linux/linux-6.6/drivers/accel/habanalabs/include/goya/
H A Dgoya_packets.h16 enum packet_id { enum
/kernel/linux/linux-6.6/include/uapi/linux/netfilter/
H A Dnfnetlink_queue.h18 __be32 packet_id; /* unique ID of packet in queue */ member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/netfilter/
H A Dnfnetlink_queue.h31 __be32 packet_id; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/netfilter/
H A Dnfnetlink_queue.h31 __be32 packet_id; member

Completed in 18 milliseconds

1234