/linux-master/drivers/net/wireless/st/cw1200/ |
H A 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) 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 D | queue.c | 20 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 D | wsm.c | 358 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 D | txrx.c | 851 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 D | wsm.h | 763 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 D | net1080.c | 47 __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 D | nfnetlink_queue.h | 18 __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 D | queue.h | 40 struct sk_buff *wfx_pending_get(struct wfx_dev *wdev, u32 packet_id);
|
H A D | queue.c | 147 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 D | data_tx.c | 379 /* 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 D | wfx.h | 54 atomic_t packet_id; member in struct:wfx_dev
|
H A D | hif_api_cmd.h | 175 /* 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 D | network-coding.c | 1107 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 D | goya_packets.h | 16 enum packet_id { enum
|
/linux-master/drivers/input/joystick/iforce/ |
H A D | iforce.h | 136 u8 packet_id, u8 *data, size_t len);
|
H A D | iforce-packets.c | 156 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 D | gaudi_packets.h | 16 enum packet_id { enum
|
/linux-master/drivers/accel/habanalabs/include/gaudi2/ |
H A D | gaudi2_packets.h | 16 enum packet_id { enum
|
/linux-master/drivers/isdn/mISDN/ |
H A D | l1oip_core.c | 446 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 D | ttusb_dec.c | 587 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 D | nf-queue.c | 88 id = ntohl(ph->packet_id);
|
/linux-master/drivers/input/mouse/ |
H A D | alps.c | 953 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 D | tb_msgs.h | 133 u8 packet_id; member in struct:icm_pkg_header
|
/linux-master/drivers/input/touchscreen/ |
H A D | sur40.c | 47 __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 D | vc4_hdmi.c | 787 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);
|