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

12

/linux-master/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) argument
105 return (packet_id >> 16) & 0xFF;
108 static inline u8 cw1200_queue_get_generation(u32 packet_id) argument
110 return (packet_id >> 8) & 0xFF;
H A Dqueue.c20 u32 packet_id; member in struct:cw1200_queue_item
48 static inline void cw1200_queue_parse_id(u32 packet_id, u8 *queue_generation, argument
52 *item_id = (packet_id >> 0) & 0xFF;
53 *item_generation = (packet_id >> 8) & 0xFF;
54 *queue_id = (packet_id >> 16) & 0xFF;
55 *queue_generation = (packet_id >> 24) & 0xFF;
300 item->packet_id = cw1200_queue_mk_packet_id(queue->generation,
354 (*tx)->packet_id = item->packet_id;
372 int cw1200_queue_requeue(struct cw1200_queue *queue, u32 packet_id) argument
441 cw1200_queue_remove(struct cw1200_queue *queue, u32 packet_id) argument
492 cw1200_queue_get_skb(struct cw1200_queue *queue, u32 packet_id, struct sk_buff **skb, const struct cw1200_txpriv **txpriv) argument
[all...]
H A Dwsm.c358 tx_confirm.packet_id = WSM_GET32(buf);
1486 if (cw1200_queue_get_generation(wsm->packet_id) >
1516 priv->bss_loss_confirm_id = wsm->packet_id;
1546 priv->pending_frame_id = wsm->packet_id;
1554 BUG_ON(cw1200_queue_remove(queue, wsm->packet_id));
1561 priv->pending_frame_id = wsm->packet_id;
H A Dtxrx.c851 u8 queue_id = cw1200_queue_get_queue_id(arg->packet_id);
881 cw1200_queue_get_generation(arg->packet_id) + 1,
883 cw1200_queue_requeue(queue, arg->packet_id);
893 } else if (!cw1200_queue_get_skb(queue, arg->packet_id,
905 arg->packet_id == priv->bss_loss_confirm_id) {
953 cw1200_queue_remove(queue, arg->packet_id);
H A Dwsm.h763 u32 packet_id; member in struct:wsm_tx_confirm
804 u32 packet_id; /* Note this is actually a cookie */ member in struct:wsm_tx
/linux-master/drivers/net/usb/
H A Dnet1080.c47 __le16 packet_id; // detects dropped packets member in struct:nc_header
58 __le16 packet_id; member in struct:nc_trailer
398 if (header->packet_id != get_unaligned(&trailer->packet_id)) {
400 netdev_dbg(dev->net, "(2+ dropped) rx packet_id mismatch 0x%x 0x%x\n",
401 le16_to_cpu(header->packet_id),
402 le16_to_cpu(trailer->packet_id));
407 header->packet_len, header->packet_id);
459 header->packet_id = cpu_to_le16((u16)dev->xid++);
465 put_unaligned(header->packet_id,
[all...]
/linux-master/include/uapi/linux/netfilter/
H A Dnfnetlink_queue.h18 __be32 packet_id; /* unique ID of packet in queue */ member in struct:nfqnl_msg_packet_hdr
/linux-master/drivers/net/wireless/silabs/wfx/
H A Dqueue.h40 struct sk_buff *wfx_pending_get(struct wfx_dev *wdev, u32 packet_id);
H A Dqueue.c147 struct sk_buff *wfx_pending_get(struct wfx_dev *wdev, u32 packet_id) argument
159 if (req->packet_id != packet_id)
196 req->packet_id, ktime_ms_delta(now, tx_priv->xmit_timestamp));
H A Ddata_tx.c379 /* packet_id just need to be unique on device. 32bits are more than necessary for that task,
382 req->packet_id = atomic_add_return(1, &wvif->wdev->packet_id) & 0xFFFF;
383 req->packet_id |= IEEE80211_SEQ_TO_SN(le16_to_cpu(hdr->seq_ctrl)) << 16;
384 req->packet_id |= queue_id << 28;
505 skb = wfx_pending_get(wdev, arg->packet_id);
507 dev_warn(wdev->dev, "received unknown packet_id (%#.8x) from chip\n",
508 arg->packet_id);
H A Dwfx.h54 atomic_t packet_id; member in struct:wfx_dev
H A Dhif_api_cmd.h175 /* packet_id is not interpreted by the device, so it is not necessary to declare it little
178 u32 packet_id; member in struct:wfx_hif_req_tx
213 /* packet_id is copied from struct wfx_hif_req_tx without been interpreted by the device, so
216 u32 packet_id; member in struct:wfx_hif_cnf_tx
/linux-master/net/batman-adv/
H A Dnetwork-coding.c1107 packet_id1 = nc_packet->packet_id;
1120 packet_id2 = nc_packet->packet_id;
1457 * @packet_id: checksum to identify packet
1464 __be32 packet_id)
1474 nc_packet->packet_id = packet_id;
1503 __be32 packet_id; local
1530 packet_id = batadv_skb_crc32(skb, payload + sizeof(*packet));
1531 if (!batadv_nc_skb_add_to_path(skb, nc_path, neigh_node, packet_id))
1556 __be32 packet_id; 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) argument
1737 __be32 packet_id; local
[all...]
/linux-master/drivers/accel/habanalabs/include/goya/
H A Dgoya_packets.h16 enum packet_id { enum
/linux-master/drivers/input/joystick/iforce/
H A Diforce.h136 u8 packet_id, u8 *data, size_t len);
H A Diforce-packets.c156 u8 packet_id, u8 *data, size_t len)
161 switch (packet_id) {
155 iforce_process_packet(struct iforce *iforce, u8 packet_id, u8 *data, size_t len) argument
/linux-master/drivers/accel/habanalabs/include/gaudi/
H A Dgaudi_packets.h16 enum packet_id { enum
/linux-master/drivers/accel/habanalabs/include/gaudi2/
H A Dgaudi2_packets.h16 enum packet_id { enum
/linux-master/drivers/isdn/mISDN/
H A Dl1oip_core.c446 u32 packet_id; local
485 packet_id = (*buf >> 4) & 1;
497 /* check packet_id */
498 if (packet_id) {
501 "0x%x, but we have not\n", __func__, packet_id);
509 packet_id = (*buf++) << 24;
510 packet_id += (*buf++) << 16;
511 packet_id += (*buf++) << 8;
512 packet_id += (*buf++);
515 if (packet_id !
[all...]
/linux-master/drivers/media/usb/ttusb-dec/
H A Dttusb_dec.c587 u16 packet_id; local
602 packet_id = dec->packet[dec->packet_length - 4] << 8;
603 packet_id += dec->packet[dec->packet_length - 3];
605 if ((packet_id != dec->next_packet_id) && dec->next_packet_id) {
607 __func__, dec->next_packet_id - 1, packet_id);
610 if (packet_id == 0xffff)
613 dec->next_packet_id = packet_id + 1;
/linux-master/tools/testing/selftests/netfilter/
H A Dnf-queue.c88 id = ntohl(ph->packet_id);
/linux-master/drivers/input/mouse/
H A Dalps.c953 unsigned char packet_id; local
956 packet_id = V7_PACKET_ID_TWO;
958 packet_id = V7_PACKET_ID_MULTI;
960 packet_id = V7_PACKET_ID_NEW;
962 packet_id = V7_PACKET_ID_IDLE;
964 packet_id = V7_PACKET_ID_UNKNOWN;
966 return packet_id;
/linux-master/drivers/thunderbolt/
H A Dtb_msgs.h133 u8 packet_id; member in struct:icm_pkg_header
/linux-master/drivers/input/touchscreen/
H A Dsur40.c47 __le32 packet_id; /* unique ID for all packets in one frame */ member in struct:sur40_header
98 __le32 packet_id; member in struct:sur40_image_header
492 /* packet_id = le32_to_cpu(header->packet_id); */
502 if (packet_id != le32_to_cpu(header->packet_id))
/linux-master/drivers/gpu/drm/vc4/
H A Dvc4_hdmi.c787 u32 packet_id = type - 0x80; local
797 HDMI_READ(HDMI_RAM_PACKET_CONFIG) & ~BIT(packet_id));
802 BIT(packet_id)), 100);
814 u32 packet_id = frame->any.type - 0x80; local
817 u32 packet_reg = ram_packet_start->offset + VC4_HDMI_PACKET_STRIDE * packet_id;
819 VC4_HDMI_PACKET_STRIDE * (packet_id + 1);
870 HDMI_READ(HDMI_RAM_PACKET_CONFIG) | BIT(packet_id));
875 BIT(packet_id)), 100);

Completed in 500 milliseconds

12