Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/
A Dtrace.h27 #define TXID_ENTRY __field(u8, wcid) __field(u8, pktid)
28 #define TXID_ASSIGN __entry->wcid = wcid; __entry->pktid = pktid
30 #define TXID_PR_ARG __entry->wcid, __entry->pktid
83 TP_PROTO(struct mt76_dev *dev, u8 wcid, u8 pktid),
84 TP_ARGS(dev, wcid, pktid),
100 TP_PROTO(struct mt76_dev *dev, u8 wcid, u8 pktid),
101 TP_ARGS(dev, wcid, pktid)
A Dmt76x02_trace.h22 #define TXID_ENTRY __field(u8, wcid) __field(u8, pktid)
24 #define TXID_PR_ARG __entry->wcid, __entry->pktid
65 __entry->pktid = stat->pktid;
A Dtx.c140 pid = idr_alloc(&wcid->pktid, skb, MT_PACKET_ID_FIRST, in mt76_tx_status_skb_add()
148 cb->pktid = pid; in mt76_tx_status_skb_add()
161 mt76_tx_status_skb_get(struct mt76_dev *dev, struct mt76_wcid *wcid, int pktid, in mt76_tx_status_skb_get() argument
169 skb = idr_remove(&wcid->pktid, pktid); in mt76_tx_status_skb_get()
174 idr_for_each_entry(&wcid->pktid, skb, id) { in mt76_tx_status_skb_get()
177 if (pktid >= 0) { in mt76_tx_status_skb_get()
189 idr_remove(&wcid->pktid, cb->pktid); in mt76_tx_status_skb_get()
195 if (idr_is_empty(&wcid->pktid)) in mt76_tx_status_skb_get()
263 if (cb->pktid < MT_PACKET_ID_FIRST) { in __mt76_tx_complete_skb()
A Dmt76x02_mac.c271 stat->pktid = FIELD_GET(MT_TX_STAT_FIFO_EXT_PKTID, stat2); in mt76x02_mac_load_tx_status()
492 if (st->pktid & MT_PACKET_ID_HAS_RATE) { in mt76x02_mac_fill_tx_status()
494 first_rate |= st->pktid & MT_PKTID_RATE; in mt76x02_mac_fill_tx_status()
562 if (stat->pktid == MT_PACKET_ID_NO_ACK) in mt76x02_send_tx_status()
581 if (mt76_is_skb_pktid(stat->pktid)) in mt76x02_send_tx_status()
583 stat->pktid, &list); in mt76x02_send_tx_status()
588 if (!status.skb && !(stat->pktid & MT_PACKET_ID_HAS_RATE)) { in mt76x02_send_tx_status()
609 cur_pktid = msta->status.pktid; in mt76x02_send_tx_status()
617 cur_pktid = stat->pktid; in mt76x02_send_tx_status()
919 trace_mac_txdone(mdev, txwi->wcid, txwi->pktid); in mt76x02_tx_complete_skb()
A Dmt76x02_mac.h18 u8 pktid; member
146 u8 pktid; member
A Dmt76x02_usb_core.c92 txwi->pktid = pid; in mt76x02u_tx_prepare_skb()
113 idr_remove(&wcid->pktid, pid); in mt76x02u_tx_prepare_skb()
A Dmt76.h336 struct idr pktid; member
399 u8 pktid; member
1110 static inline bool mt76_is_skb_pktid(u8 pktid) in mt76_is_skb_pktid() argument
1112 if (pktid & MT_PACKET_ID_HAS_RATE) in mt76_is_skb_pktid()
1115 return pktid >= MT_PACKET_ID_FIRST; in mt76_is_skb_pktid()
1196 struct mt76_wcid *wcid, int pktid,
1487 idr_init(&wcid->pktid); in mt76_packet_id_init()
1499 idr_destroy(&wcid->pktid); in mt76_packet_id_flush()
A Dmt76x02_txrx.c164 txwi->pktid = pid; in mt76x02_tx_prepare_skb()
/linux-6.3-rc2/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
A Dmsgbuf.c379 pktid = &pktids->array[idx]; in brcmf_msgbuf_get_pktid()
381 pktid->skb->len - pktid->data_offset, in brcmf_msgbuf_get_pktid()
383 skb = pktid->skb; in brcmf_msgbuf_get_pktid()
384 pktid->allocated.counter = 0; in brcmf_msgbuf_get_pktid()
406 pktid = &array[count]; in brcmf_msgbuf_release_array()
408 pktid->skb->len - pktid->data_offset, in brcmf_msgbuf_release_array()
707 u32 pktid; in brcmf_msgbuf_txflow() local
728 &physaddr, &pktid)) { in brcmf_msgbuf_txflow()
914 u32 pktid; in brcmf_msgbuf_rxbuf_data_post() local
941 &physaddr, &pktid)) { in brcmf_msgbuf_rxbuf_data_post()
[all …]
/linux-6.3-rc2/drivers/usb/serial/
A Dgarmin_gps.c390 int pktid = recpkt[0]; in gsp_rec_packet() local
424 usbdata[1] = __cpu_to_le32(pktid); in gsp_rec_packet()
591 int pktid = 0; in gsp_send() local
636 if (pktid > 255) { in gsp_send()
667 *dst++ = pktid; in gsp_send()
668 cksum += pktid; in gsp_send()
693 garmin_data_p->pkt_id = pktid; in gsp_send()
1046 int pktid, pktsiz, len; in garmin_write() local
1064 pktid = getPacketId(garmin_data_p->privpkt); in garmin_write()
1071 __func__, pktid); in garmin_write()
[all …]
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt7615/
A Dusb_sdio.c191 int pad, err, pktid; in mt7663_usb_sdio_tx_prepare_skb() local
206 pktid = mt76_tx_status_skb_add(&dev->mt76, wcid, skb); in mt7663_usb_sdio_tx_prepare_skb()
207 mt7663_usb_sdio_write_txwi(dev, wcid, qid, sta, key, pktid, skb); in mt7663_usb_sdio_tx_prepare_skb()
220 idr_remove(&wcid->pktid, pktid); in mt7663_usb_sdio_tx_prepare_skb()
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt7601u/
A Dmac.h17 u8 pktid; member
A Dtx.c73 u8 req_rate = stat->pktid; in mt7601u_tx_pktid_dec()
A Dmac.c167 stat.pktid = FIELD_GET(MT_TX_STAT_FIFO_PID_TYPE, val); in mt7601u_mac_fetch_tx_status()
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt7921/
A Dmac.c1172 int err, pad, pktid, type; in mt7921_usb_sdio_tx_prepare_skb() local
1189 pktid = mt76_tx_status_skb_add(&dev->mt76, wcid, skb); in mt7921_usb_sdio_tx_prepare_skb()
1190 mt7921_usb_sdio_write_txwi(dev, wcid, qid, sta, key, pktid, skb); in mt7921_usb_sdio_tx_prepare_skb()
1201 idr_remove(&wcid->pktid, pktid); in mt7921_usb_sdio_tx_prepare_skb()
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
A Dtrx.h397 u32 pktid:4; member
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
A Dtrx.h434 u32 pktid:4; member
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
A Dtrx.h399 u32 pktid:4; member
/linux-6.3-rc2/drivers/net/wireless/realtek/rtw89/
A Dmac.h585 u16 pktid; member
A Dmac.c2876 ctrl_para->pktid = FIELD_GET(B_AX_WD_CPUQ_OP_PKTID_MASK, val); in rtw89_mac_set_cpuio()

Completed in 57 milliseconds