/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7603/ |
D | dma.c | 37 if (skb->len < MT_TXD_SIZE + sizeof(struct ieee80211_hdr)) in mt7603_rx_loopback_skb() 54 hdr = (struct ieee80211_hdr *)&skb->data[MT_TXD_SIZE]; in mt7603_rx_loopback_skb() 67 skb_pull(skb, MT_TXD_SIZE); in mt7603_rx_loopback_skb() 70 skb_push(skb, MT_TXD_SIZE); in mt7603_rx_loopback_skb()
|
D | mac.h | 128 #define MT_TXD_SIZE (8 * 4) macro
|
D | init.c | 9 .txwi_size = MT_TXD_SIZE,
|
D | main.c | 433 hdr = (struct ieee80211_hdr *)&skb->data[MT_TXD_SIZE]; in mt7603_ps_set_more_data()
|
D | mac.c | 961 val = FIELD_PREP(MT_TXD0_TX_BYTES, skb->len + MT_TXD_SIZE) | in mt7603_mac_write_txwi()
|
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/ |
D | mt76_connac.h | 34 #define MT_TXD_SIZE (8 * 4) macro 36 #define MT_USB_TXD_SIZE (MT_TXD_SIZE + 8 * 4) 40 #define MT_SDIO_TXD_SIZE (MT_TXD_SIZE + 8 * 4) 314 return (void *)(txwi + MT_TXD_SIZE); in mt76_connac_txwi_to_txp()
|
D | mt76_connac3_mac.h | 214 #define MT_TXD_SIZE (8 * 4) macro
|
D | mt76_connac_mac.c | 168 tx_info->buf[0].len = MT_TXD_SIZE + sizeof(*txp); in mt76_connac_write_hw_txp() 487 u32 val, sz_txd = mt76_is_mmio(dev) ? MT_TXD_SIZE : MT_SDIO_TXD_SIZE; in mt76_connac2_mac_write_txwi()
|
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | pci_mac.c | 37 tx_info->buf[0].len = MT_TXD_SIZE + sizeof(*txp); in mt7615_write_fw_txp() 102 txp = txwi + MT_TXD_SIZE; in mt7615_tx_prepare_skb()
|
D | mcu.c | 705 if (skb->len > 512 - MT_TXD_SIZE) { in mt7615_mcu_add_beacon_offload() 716 memcpy(req.pkt + MT_TXD_SIZE, skb->data, skb->len); in mt7615_mcu_add_beacon_offload() 717 req.pkt_len = cpu_to_le16(MT_TXD_SIZE + skb->len); in mt7615_mcu_add_beacon_offload() 718 req.tim_ie_pos = cpu_to_le16(MT_TXD_SIZE + offs.tim_offset); in mt7615_mcu_add_beacon_offload() 722 csa_offs = MT_TXD_SIZE + offs.cntdwn_counter_offs[0] - 4; in mt7615_mcu_add_beacon_offload() 1085 if (skb->len > 512 - MT_TXD_SIZE) { in mt7615_mcu_uni_add_beacon_offload() 1093 memcpy(req.beacon_tlv.pkt + MT_TXD_SIZE, skb->data, skb->len); in mt7615_mcu_uni_add_beacon_offload() 1094 req.beacon_tlv.pkt_len = cpu_to_le16(MT_TXD_SIZE + skb->len); in mt7615_mcu_uni_add_beacon_offload() 1095 req.beacon_tlv.tim_ie_pos = cpu_to_le16(MT_TXD_SIZE + offs.tim_offset); in mt7615_mcu_uni_add_beacon_offload() 1100 csa_offs = MT_TXD_SIZE + offs.cntdwn_counter_offs[0] - 4; in mt7615_mcu_uni_add_beacon_offload()
|
D | mmio.c | 171 .txwi_size = MT_TXD_SIZE + sizeof(struct mt76_connac_txp_common), in mt7615_mmio_probe()
|
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7921/ |
D | pci_mac.c | 47 txp = (struct mt76_connac_hw_txp *)(txwi + MT_TXD_SIZE); in mt7921e_tx_prepare_skb()
|
D | mcu.c | 1274 if (skb->len > 512 - MT_TXD_SIZE) { in mt7921_mcu_uni_add_beacon_offload() 1282 memcpy(req.beacon_tlv.pkt + MT_TXD_SIZE, skb->data, skb->len); in mt7921_mcu_uni_add_beacon_offload() 1283 req.beacon_tlv.pkt_len = cpu_to_le16(MT_TXD_SIZE + skb->len); in mt7921_mcu_uni_add_beacon_offload() 1284 req.beacon_tlv.tim_ie_pos = cpu_to_le16(MT_TXD_SIZE + offs.tim_offset); in mt7921_mcu_uni_add_beacon_offload() 1289 csa_offs = MT_TXD_SIZE + offs.cntdwn_counter_offs[0] - 4; in mt7921_mcu_uni_add_beacon_offload()
|
D | pci.c | 234 .txwi_size = MT_TXD_SIZE + sizeof(struct mt76_connac_hw_txp), in mt7921_pci_probe()
|
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7925/ |
D | pci_mac.c | 47 txp = (struct mt76_connac_hw_txp *)(txwi + MT_TXD_SIZE); in mt7925e_tx_prepare_skb()
|
D | pci.c | 269 .txwi_size = MT_TXD_SIZE + sizeof(struct mt76_connac_hw_txp), in mt7925_pci_probe()
|
D | mac.c | 735 u32 val, sz_txd = mt76_is_mmio(dev) ? MT_TXD_SIZE : MT_SDIO_TXD_SIZE; in mt7925_mac_write_txwi()
|
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7996/ |
D | mac.c | 857 val = FIELD_PREP(MT_TXD0_TX_BYTES, skb->len + MT_TXD_SIZE) | in mt7996_mac_write_txwi() 953 txp = (struct mt76_connac_txp_common *)(txwi + MT_TXD_SIZE); in mt7996_tx_prepare_skb() 998 struct mt76_connac_fw_txp *txp = ptr + MT_TXD_SIZE; in mt7996_wed_init_buf() 1002 memset(ptr, 0, MT_TXD_SIZE + sizeof(*txp)); in mt7996_wed_init_buf() 1004 val = FIELD_PREP(MT_TXD0_TX_BYTES, MT_TXD_SIZE) | in mt7996_wed_init_buf() 1014 txp->buf[0] = cpu_to_le32(phys + MT_TXD_SIZE + sizeof(*txp)); in mt7996_wed_init_buf() 1016 return MT_TXD_SIZE + sizeof(*txp); in mt7996_wed_init_buf()
|
D | mcu.c | 2498 bcn->pkt_len = cpu_to_le16(MT_TXD_SIZE + skb->len); in mt7996_mcu_beacon_cont() 2514 memcpy(buf + MT_TXD_SIZE, skb->data, skb->len); in mt7996_mcu_beacon_cont() 2554 len = ALIGN(sizeof(*bcn) + MT_TXD_SIZE + skb->len, 4); in mt7996_mcu_add_beacon() 2623 len = ALIGN(sizeof(*discov) + MT_TXD_SIZE + skb->len, 4); in mt7996_mcu_beacon_inband_discov() 2631 discov->prob_rsp_len = cpu_to_le16(MT_TXD_SIZE + skb->len); in mt7996_mcu_beacon_inband_discov() 2639 memcpy(buf + MT_TXD_SIZE, skb->data, skb->len); in mt7996_mcu_beacon_inband_discov()
|
D | mmio.c | 607 .txwi_size = MT_TXD_SIZE + sizeof(struct mt76_connac_fw_txp), in mt7996_mmio_probe()
|
D | mcu.h | 806 4 + MT_TXD_SIZE + \
|
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | mac.c | 792 txp = (struct mt76_connac_fw_txp *)(txwi + MT_TXD_SIZE); in mt7915_tx_prepare_skb() 831 struct mt76_connac_fw_txp *txp = ptr + MT_TXD_SIZE; in mt7915_wed_init_buf() 835 memset(ptr, 0, MT_TXD_SIZE + sizeof(*txp)); in mt7915_wed_init_buf() 837 val = FIELD_PREP(MT_TXD0_TX_BYTES, MT_TXD_SIZE) | in mt7915_wed_init_buf() 847 txp->buf[0] = cpu_to_le32(phys + MT_TXD_SIZE + sizeof(*txp)); in mt7915_wed_init_buf() 849 return MT_TXD_SIZE + sizeof(*txp); in mt7915_wed_init_buf()
|
D | mcu.h | 503 MT_TXD_SIZE + \
|
D | mcu.c | 1876 int len = sizeof(*cont) + MT_TXD_SIZE + skb->len; in mt7915_mcu_beacon_cont() 1883 cont->pkt_len = cpu_to_le16(MT_TXD_SIZE + skb->len); in mt7915_mcu_beacon_cont() 1898 memcpy(buf + MT_TXD_SIZE, skb->data, skb->len); in mt7915_mcu_beacon_cont() 1953 len = sizeof(*discov) + MT_TXD_SIZE + skb->len; in mt7915_mcu_add_inband_discov() 1970 discov->prob_rsp_len = cpu_to_le16(MT_TXD_SIZE + skb->len); in mt7915_mcu_add_inband_discov() 1977 memcpy(buf + MT_TXD_SIZE, skb->data, skb->len); in mt7915_mcu_add_inband_discov()
|
D | mmio.c | 917 .txwi_size = MT_TXD_SIZE + sizeof(struct mt76_connac_fw_txp), in mt7915_mmio_probe()
|