Home
last modified time | relevance | path

Searched refs:txwi (Results 1 – 25 of 25) sorted by relevance

/linux-6.3-rc2/drivers/net/wireless/mediatek/mt7601u/
A Dtx.c136 struct mt76_txwi *txwi; in mt7601u_push_txwi() local
144 memset(txwi, 0, sizeof(*txwi)); in mt7601u_push_txwi()
156 txwi->rate_ctl = cpu_to_le16(rate_ctl); in mt7601u_push_txwi()
159 txwi->ack_ctl |= MT_TXWI_ACK_CTL_REQ; in mt7601u_push_txwi()
172 txwi->flags = in mt7601u_push_txwi()
177 txwi->flags = 0; in mt7601u_push_txwi()
180 txwi->wcid = wcid->idx; in mt7601u_push_txwi()
185 txwi->len_ctl = cpu_to_le16(pkt_len); in mt7601u_push_txwi()
187 return txwi; in mt7601u_push_txwi()
199 struct mt76_txwi *txwi; in mt7601u_tx() local
[all …]
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/
A Dmt76x02_beacon.c37 struct mt76x02_txwi *txwi; in mt76x02_write_beacon() local
39 txwi = (struct mt76x02_txwi *)(skb->data - sizeof(*txwi)); in mt76x02_write_beacon()
40 mt76x02_mac_write_txwi(dev, txwi, skb, NULL, NULL, skb->len); in mt76x02_write_beacon()
41 skb_push(skb, sizeof(*txwi)); in mt76x02_write_beacon()
43 struct mt76x02_txwi txwi; in mt76x02_write_beacon() local
45 mt76x02_mac_write_txwi(dev, &txwi, skb, NULL, NULL, skb->len); in mt76x02_write_beacon()
46 mt76_wr_copy(dev, offset, &txwi, sizeof(txwi)); in mt76x02_write_beacon()
47 offset += sizeof(txwi); in mt76x02_write_beacon()
A Dmt76_connac_mac.c128 if (!e->txwi) { in mt76_connac_tx_complete_skb()
348 txwi[1] |= cpu_to_le32(val); in mt76_connac2_mac_write_txwi_8023()
356 txwi[2] |= cpu_to_le32(val); in mt76_connac2_mac_write_txwi_8023()
361 txwi[7] |= cpu_to_le32(val); in mt76_connac2_mac_write_txwi_8023()
500 txwi[0] = cpu_to_le32(val); in mt76_connac2_mac_write_txwi()
510 txwi[1] = cpu_to_le32(val); in mt76_connac2_mac_write_txwi()
511 txwi[2] = 0; in mt76_connac2_mac_write_txwi()
521 txwi[3] = cpu_to_le32(val); in mt76_connac2_mac_write_txwi()
522 txwi[4] = 0; in mt76_connac2_mac_write_txwi()
528 txwi[5] = cpu_to_le32(val); in mt76_connac2_mac_write_txwi()
[all …]
A Ddma.c46 u8 *txwi; in mt76_alloc_txwi() local
51 if (!txwi) in mt76_alloc_txwi()
223 txwi = mt76_get_rxwi(dev); in mt76_dma_add_rx_buf()
224 if (!txwi) in mt76_dma_add_rx_buf()
229 mt76_put_rxwi(dev, txwi); in mt76_dma_add_rx_buf()
244 entry->txwi = txwi; in mt76_dma_add_rx_buf()
264 if (txwi) { in mt76_dma_add_buf()
309 q->entry[idx].txwi = txwi; in mt76_dma_add_buf()
331 e->txwi = NULL; in mt76_dma_tx_cleanup_idx()
366 if (entry.txwi) { in mt76_dma_tx_cleanup()
[all …]
A Dmt76x02_usb_core.c71 struct mt76x02_txwi *txwi; in mt76x02u_tx_prepare_skb() local
79 txwi = (struct mt76x02_txwi *)(tx_info->skb->data - sizeof(*txwi)); in mt76x02u_tx_prepare_skb()
80 mt76x02_mac_write_txwi(dev, txwi, tx_info->skb, wcid, sta, len); in mt76x02u_tx_prepare_skb()
81 skb_push(tx_info->skb, sizeof(*txwi)); in mt76x02u_tx_prepare_skb()
88 (le16_to_cpu(txwi->rate) & MT_PKTID_RATE) | in mt76x02u_tx_prepare_skb()
92 txwi->pktid = pid; in mt76x02u_tx_prepare_skb()
A Dmt76x02_mac.c350 memset(txwi, 0, sizeof(*txwi)); in mt76x02_mac_write_txwi()
362 txwi->wcid = wcid->idx; in mt76x02_mac_write_txwi()
364 txwi->wcid = 0xff; in mt76x02_mac_write_txwi()
377 txwi->iv = *((__le32 *)&ccmp_pn[0]); in mt76x02_mac_write_txwi()
391 txwi->rate = cpu_to_le16(rateval); in mt76x02_mac_write_txwi()
398 txwi->txstream = 0x13; in mt76x02_mac_write_txwi()
401 txwi->txstream = 0x93; in mt76x02_mac_write_txwi()
435 txwi->len_ctl = cpu_to_le16(len); in mt76x02_mac_write_txwi()
907 struct mt76x02_txwi *txwi; in mt76x02_tx_complete_skb() local
910 if (!e->txwi) { in mt76x02_tx_complete_skb()
[all …]
A Dmt76x02_txrx.c144 struct mt76x02_txwi *txwi = txwi_ptr; in mt76x02_tx_prepare_skb() local
153 mt76x02_mac_write_txwi(dev, txwi, tx_info->skb, wcid, sta, len); in mt76x02_tx_prepare_skb()
160 (le16_to_cpu(txwi->rate) & MT_RXWI_RATE_INDEX) | in mt76x02_tx_prepare_skb()
164 txwi->pktid = pid; in mt76x02_tx_prepare_skb()
A Dmt76_connac.h261 u8 *txwi; in mt76_connac_txwi_to_txp() local
266 txwi = mt76_get_txwi_ptr(dev, t); in mt76_connac_txwi_to_txp()
268 return (void *)(txwi + MT_TXD_SIZE); in mt76_connac_txwi_to_txp()
362 struct mt76_txwi_cache *txwi);
371 void mt76_connac2_mac_write_txwi(struct mt76_dev *dev, __le32 *txwi,
A Dtx.c780 struct mt76_txwi_cache *txwi; in mt76_token_release() local
784 txwi = idr_remove(&dev->token, token); in mt76_token_release()
785 if (txwi) { in mt76_token_release()
802 return txwi; in mt76_token_release()
A Dmt76x02_mac.h193 void mt76x02_mac_write_txwi(struct mt76x02_dev *dev, struct mt76x02_txwi *txwi,
A Dmt76x02.h196 int mt76x02_tx_prepare_skb(struct mt76_dev *mdev, void *txwi,
A Dmt76.h161 struct mt76_txwi_cache *txwi; member
1475 struct mt76_txwi_cache *txwi; in mt76_token_put() local
1478 txwi = idr_remove(&dev->token, token); in mt76_token_put()
1481 return txwi; in mt76_token_put()
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt7921/
A Dpci_mac.c19 u8 *txwi = (u8 *)txwi_ptr; in mt7921e_tx_prepare_skb() local
27 t = (struct mt76_txwi_cache *)(txwi + mdev->drv->txwi_size); in mt7921e_tx_prepare_skb()
47 txp = (struct mt76_connac_hw_txp *)(txwi + MT_TXD_SIZE); in mt7921e_tx_prepare_skb()
58 struct mt76_txwi_cache *txwi; in mt7921_tx_token_put() local
62 idr_for_each_entry(&dev->mt76.token, txwi, id) { in mt7921_tx_token_put()
63 mt7921_txwi_free(dev, txwi, NULL, false, NULL); in mt7921_tx_token_put()
A Dmac.c517 tid = le32_get_bits(txwi[1], MT_TXD1_TID); in mt7921_tx_check_aggr()
521 val = le32_to_cpu(txwi[2]); in mt7921_tx_check_aggr()
578 __le32 *txwi; in mt7921_txwi_free() local
585 txwi = (__le32 *)mt76_get_txwi_ptr(mdev, t); in mt7921_txwi_free()
590 mt7921_tx_check_aggr(sta, txwi); in mt7921_txwi_free()
609 struct mt76_txwi_cache *txwi; in mt7921_mac_tx_free() local
655 txwi = mt76_token_release(mdev, msdu, &wake); in mt7921_mac_tx_free()
656 if (!txwi) in mt7921_mac_tx_free()
1158 memset(txwi, 0, MT_SDIO_TXD_SIZE); in mt7921_usb_sdio_write_txwi()
1216 idx = le32_get_bits(txwi[1], MT_TXD1_WLAN_IDX); in mt7921_usb_sdio_tx_complete_skb()
[all …]
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt7996/
A Dmac.c1026 txwi[0] = cpu_to_le32(val); in mt7996_mac_write_txwi()
1034 txwi[1] = cpu_to_le32(val); in mt7996_mac_write_txwi()
1035 txwi[2] = 0; in mt7996_mac_write_txwi()
1046 txwi[3] = cpu_to_le32(val); in mt7996_mac_write_txwi()
1047 txwi[4] = 0; in mt7996_mac_write_txwi()
1052 txwi[5] = cpu_to_le32(val); in mt7996_mac_write_txwi()
1056 txwi[6] = cpu_to_le32(val); in mt7996_mac_write_txwi()
1057 txwi[7] = 0; in mt7996_mac_write_txwi()
1095 u8 *txwi = (u8 *)txwi_ptr; in mt7996_tx_prepare_skb() local
1196 __le32 *txwi; in mt7996_txwi_free() local
[all …]
A Dmt7996.h489 void mt7996_mac_write_txwi(struct mt7996_dev *dev, __le32 *txwi,
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt7615/
A Dmac.c774 txwi[0] = cpu_to_le32(val); in mt7615_mac_write_txwi()
785 txwi[1] = cpu_to_le32(val); in mt7615_mac_write_txwi()
794 txwi[3] = 0; in mt7615_mac_write_txwi()
799 txwi[3] = 0; in mt7615_mac_write_txwi()
806 txwi[4] = 0; in mt7615_mac_write_txwi()
807 txwi[6] = 0; in mt7615_mac_write_txwi()
844 txwi[5] = 0; in mt7615_mac_write_txwi()
1577 if (!txwi->skb) in mt7615_txwi_free()
1586 txwi->skb = NULL; in mt7615_txwi_free()
1587 mt76_put_txwi(mdev, txwi); in mt7615_txwi_free()
[all …]
A Dpci_mac.c69 u8 *txwi = (u8 *)txwi_ptr; in mt7615_tx_prepare_skb() local
91 t = (struct mt76_txwi_cache *)(txwi + mdev->drv->txwi_size); in mt7615_tx_prepare_skb()
102 txp = txwi + MT_TXD_SIZE; in mt7615_tx_prepare_skb()
A Dusb_sdio.c49 __le32 *txwi = (__le32 *)(skb->data - MT_USB_TXD_SIZE); in mt7663_usb_sdio_write_txwi() local
51 memset(txwi, 0, MT_USB_TXD_SIZE); in mt7663_usb_sdio_write_txwi()
52 mt7615_mac_write_txwi(dev, txwi, skb, wcid, sta, pid, key, qid, false); in mt7663_usb_sdio_write_txwi()
A Dmt7615.h485 int mt7615_mac_write_txwi(struct mt7615_dev *dev, __le32 *txwi,
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt7915/
A Dmac.c720 txwi[6] |= cpu_to_le32(val); in mt7915_mac_write_txwi_tm()
757 u8 *txwi = (u8 *)txwi_ptr; in mt7915_tx_prepare_skb() local
828 __le32 *txwi = ptr; in mt7915_wed_init_buf() local
835 txwi[0] = cpu_to_le32(val); in mt7915_wed_init_buf()
839 txwi[1] = cpu_to_le32(val); in mt7915_wed_init_buf()
862 val = le32_to_cpu(txwi[2]); in mt7915_tx_check_aggr()
880 __le32 *txwi; in mt7915_txwi_free() local
956 struct mt76_txwi_cache *txwi; in mt7915_mac_tx_free() local
1014 if (!txwi) in mt7915_mac_tx_free()
1046 if (!txwi) in mt7915_mac_tx_free_v0()
[all …]
A Dmt7915.h606 void mt7915_mac_write_txwi(struct mt76_dev *dev, __le32 *txwi,
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt7603/
A Dmac.c952 txwi[0] = cpu_to_le32(val); in mt7603_mac_write_txwi()
962 txwi[1] = cpu_to_le32(val); in mt7603_mac_write_txwi()
971 txwi[2] = cpu_to_le32(val); in mt7603_mac_write_txwi()
976 txwi[4] = 0; in mt7603_mac_write_txwi()
980 txwi[5] = cpu_to_le32(val); in mt7603_mac_write_txwi()
982 txwi[6] = 0; in mt7603_mac_write_txwi()
994 txwi[6] |= cpu_to_le32(val); in mt7603_mac_write_txwi()
997 txwi[6] |= cpu_to_le32(MT_TXD6_SGI); in mt7603_mac_write_txwi()
1021 txwi[3] = cpu_to_le32(val); in mt7603_mac_write_txwi()
1031 txwi[7] = 0; in mt7603_mac_write_txwi()
[all …]
/linux-6.3-rc2/drivers/net/wireless/ralink/rt2x00/
A Drt2800lib.h203 void rt2800_txdone_entry(struct queue_entry *entry, u32 status, __le32 *txwi,
A Drt2800lib.c796 __le32 *txwi = rt2800_drv_get_txwi(entry); in rt2800_write_tx_data() local
803 word = rt2x00_desc_read(txwi, 0); in rt2800_write_tx_data()
823 rt2x00_desc_write(txwi, 0, word); in rt2800_write_tx_data()
825 word = rt2x00_desc_read(txwi, 1); in rt2800_write_tx_data()
838 rt2x00_desc_write(txwi, 1, word); in rt2800_write_tx_data()
850 _rt2x00_desc_write(txwi, i, 0); in rt2800_write_tx_data()
977 __le32 *txwi; in rt2800_txdone_entry_check() local
999 txwi = rt2800_drv_get_txwi(entry); in rt2800_txdone_entry_check()
1001 word = rt2x00_desc_read(txwi, 1); in rt2800_txdone_entry_check()
1016 void rt2800_txdone_entry(struct queue_entry *entry, u32 status, __le32 *txwi, in rt2800_txdone_entry() argument
[all …]

Completed in 72 milliseconds