Home
last modified time | relevance | path

Searched refs:MT_TXD_SIZE (Results 1 - 25 of 37) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/
H A Dmt76_connac.h34 #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)
292 return (void *)(txwi + MT_TXD_SIZE); in mt76_connac_txwi_to_txp()
H A Dmt76_connac3_mac.h185 #define MT_TXD_SIZE (8 * 4) macro
H A Dmt76_connac_mac.c168 tx_info->buf[0].len = MT_TXD_SIZE + sizeof(*txp); in mt76_connac_write_hw_txp()
478 u32 val, sz_txd = mt76_is_mmio(dev) ? MT_TXD_SIZE : MT_SDIO_TXD_SIZE; in mt76_connac2_mac_write_txwi()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dpci_mac.c59 tx_info->buf[0].len = MT_TXD_SIZE + sizeof(*txp); in mt7615_write_hw_txp()
107 tx_info->buf[0].len = MT_TXD_SIZE + sizeof(*txp); in mt7615_write_fw_txp()
174 txp = txwi + MT_TXD_SIZE; in mt7615_tx_prepare_skb()
H A Dmac.h158 #define MT_TXD_SIZE (8 * 4) macro
160 #define MT_USB_TXD_SIZE (MT_TXD_SIZE + 8 * 4)
430 return (struct mt7615_txp_common *)(txwi + MT_TXD_SIZE); in mt7615_txwi_to_txp()
H A Dmmio.c176 .txwi_size = MT_TXD_SIZE + sizeof(struct mt7615_txp_common), in mt7615_mmio_probe()
H A Dmcu.c736 if (skb->len > 512 - MT_TXD_SIZE) { in mt7615_mcu_add_beacon_offload()
749 memcpy(req.pkt + MT_TXD_SIZE, skb->data, skb->len); in mt7615_mcu_add_beacon_offload()
750 req.pkt_len = cpu_to_le16(MT_TXD_SIZE + skb->len); in mt7615_mcu_add_beacon_offload()
751 req.tim_ie_pos = cpu_to_le16(MT_TXD_SIZE + offs.tim_offset); in mt7615_mcu_add_beacon_offload()
755 csa_offs = MT_TXD_SIZE + offs.cntdwn_counter_offs[0] - 4; in mt7615_mcu_add_beacon_offload()
1807 if (skb->len > 512 - MT_TXD_SIZE) { in mt7615_mcu_uni_add_beacon_offload()
1815 memcpy(req.beacon_tlv.pkt + MT_TXD_SIZE, skb->data, skb->len); in mt7615_mcu_uni_add_beacon_offload()
1816 req.beacon_tlv.pkt_len = cpu_to_le16(MT_TXD_SIZE + skb->len); in mt7615_mcu_uni_add_beacon_offload()
1817 req.beacon_tlv.tim_ie_pos = cpu_to_le16(MT_TXD_SIZE + offs.tim_offset); in mt7615_mcu_uni_add_beacon_offload()
1822 csa_offs = MT_TXD_SIZE in mt7615_mcu_uni_add_beacon_offload()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7603/
H A Ddma.c51 if (skb->len < MT_TXD_SIZE + sizeof(struct ieee80211_hdr)) in mt7603_rx_loopback_skb()
72 hdr = (struct ieee80211_hdr *)&skb->data[MT_TXD_SIZE]; in mt7603_rx_loopback_skb()
H A Dmac.h128 #define MT_TXD_SIZE (8 * 4) macro
H A Dinit.c9 .txwi_size = MT_TXD_SIZE,
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7603/
H A Ddma.c30 if (skb->len < MT_TXD_SIZE + sizeof(struct ieee80211_hdr)) in mt7603_rx_loopback_skb()
51 hdr = (struct ieee80211_hdr *)&skb->data[MT_TXD_SIZE]; in mt7603_rx_loopback_skb()
H A Dmac.h128 #define MT_TXD_SIZE (8 * 4) macro
H A Dinit.c9 .txwi_size = MT_TXD_SIZE,
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmac.h164 #define MT_TXD_SIZE (8 * 4) macro
326 return (struct mt7915_txp *)(txwi + MT_TXD_SIZE); in mt7915_txwi_to_txp()
H A Dpci.c102 .txwi_size = MT_TXD_SIZE + sizeof(struct mt7915_txp), in mt7915_pci_probe()
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dpci_mac.c37 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()
H A Dmcu.c705 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()
1081 if (skb->len > 512 - MT_TXD_SIZE) { in mt7615_mcu_uni_add_beacon_offload()
1089 memcpy(req.beacon_tlv.pkt + MT_TXD_SIZE, skb->data, skb->len); in mt7615_mcu_uni_add_beacon_offload()
1090 req.beacon_tlv.pkt_len = cpu_to_le16(MT_TXD_SIZE + skb->len); in mt7615_mcu_uni_add_beacon_offload()
1091 req.beacon_tlv.tim_ie_pos = cpu_to_le16(MT_TXD_SIZE + offs.tim_offset); in mt7615_mcu_uni_add_beacon_offload()
1096 csa_offs = MT_TXD_SIZE in mt7615_mcu_uni_add_beacon_offload()
[all...]
H A Dmmio.c171 .txwi_size = MT_TXD_SIZE + sizeof(struct mt76_connac_txp_common), in mt7615_mmio_probe()
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dmcu.c1096 if (skb->len > 512 - MT_TXD_SIZE) { in mt7921_mcu_uni_add_beacon_offload()
1104 memcpy(req.beacon_tlv.pkt + MT_TXD_SIZE, skb->data, skb->len); in mt7921_mcu_uni_add_beacon_offload()
1105 req.beacon_tlv.pkt_len = cpu_to_le16(MT_TXD_SIZE + skb->len); in mt7921_mcu_uni_add_beacon_offload()
1106 req.beacon_tlv.tim_ie_pos = cpu_to_le16(MT_TXD_SIZE + offs.tim_offset); in mt7921_mcu_uni_add_beacon_offload()
1111 csa_offs = MT_TXD_SIZE + offs.cntdwn_counter_offs[0] - 4; in mt7921_mcu_uni_add_beacon_offload()
H A Dpci_mac.c47 txp = (struct mt76_connac_hw_txp *)(txwi + MT_TXD_SIZE); in mt7921e_tx_prepare_skb()
H A Dpci.c231 .txwi_size = MT_TXD_SIZE + sizeof(struct mt76_connac_hw_txp), in mt7921_pci_probe()
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmac.c785 txp = (struct mt76_connac_fw_txp *)(txwi + MT_TXD_SIZE); in mt7915_tx_prepare_skb()
824 struct mt76_connac_fw_txp *txp = ptr + MT_TXD_SIZE; in mt7915_wed_init_buf()
828 memset(ptr, 0, MT_TXD_SIZE + sizeof(*txp)); in mt7915_wed_init_buf()
830 val = FIELD_PREP(MT_TXD0_TX_BYTES, MT_TXD_SIZE) | in mt7915_wed_init_buf()
840 txp->buf[0] = cpu_to_le32(phys + MT_TXD_SIZE + sizeof(*txp)); in mt7915_wed_init_buf()
842 return MT_TXD_SIZE + sizeof(*txp); in mt7915_wed_init_buf()
H A Dmcu.h503 MT_TXD_SIZE + \
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmcu.h593 MT_TXD_SIZE + \
H A Dmmio.c328 .txwi_size = MT_TXD_SIZE + sizeof(struct mt76_connac_fw_txp), in mt7996_mmio_probe()

Completed in 28 milliseconds

12