Searched refs:MT_TXD_SIZE (Results 1 – 18 of 18) sorted by relevance
/linux/drivers/net/wireless/mediatek/mt76/mt7921/ |
A D | mac.h | 200 #define MT_TXD_SIZE (8 * 4) macro 202 #define MT_SDIO_TXD_SIZE (MT_TXD_SIZE + 8 * 4) 343 return (struct mt7921_txp_common *)(txwi + MT_TXD_SIZE); in mt7921_txwi_to_txp()
|
A D | pci_mac.c | 16 tx_info->buf[0].len = MT_TXD_SIZE + sizeof(*txp); in mt7921_write_hw_txp() 78 txp = (struct mt7921_txp_common *)(txwi + MT_TXD_SIZE); in mt7921e_tx_prepare_skb()
|
A D | pci.c | 127 .txwi_size = MT_TXD_SIZE + sizeof(struct mt7921_txp_common), in mt7921_pci_probe()
|
A D | mac.c | 847 u32 sz_txd = is_mmio ? MT_TXD_SIZE : MT_SDIO_TXD_SIZE; in mt7921_mac_write_txwi()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7615/ |
A D | mac.h | 166 #define MT_TXD_SIZE (8 * 4) macro 168 #define MT_USB_TXD_SIZE (MT_TXD_SIZE + 8 * 4) 396 return (struct mt7615_txp_common *)(txwi + MT_TXD_SIZE); in mt7615_txwi_to_txp()
|
A D | pci_mac.c | 57 tx_info->buf[0].len = MT_TXD_SIZE + sizeof(*txp); in mt7615_write_hw_txp() 105 tx_info->buf[0].len = MT_TXD_SIZE + sizeof(*txp); in mt7615_write_fw_txp() 169 txp = txwi + MT_TXD_SIZE; in mt7615_tx_prepare_skb()
|
A D | mcu.c | 748 if (skb->len > 512 - MT_TXD_SIZE) { in mt7615_mcu_add_beacon_offload() 761 memcpy(req.pkt + MT_TXD_SIZE, skb->data, skb->len); in mt7615_mcu_add_beacon_offload() 762 req.pkt_len = cpu_to_le16(MT_TXD_SIZE + skb->len); in mt7615_mcu_add_beacon_offload() 763 req.tim_ie_pos = cpu_to_le16(MT_TXD_SIZE + offs.tim_offset); in mt7615_mcu_add_beacon_offload() 767 csa_offs = MT_TXD_SIZE + offs.cntdwn_counter_offs[0] - 4; in mt7615_mcu_add_beacon_offload() 1267 if (skb->len > 512 - MT_TXD_SIZE) { in mt7615_mcu_uni_add_beacon_offload() 1275 memcpy(req.beacon_tlv.pkt + MT_TXD_SIZE, skb->data, skb->len); in mt7615_mcu_uni_add_beacon_offload() 1276 req.beacon_tlv.pkt_len = cpu_to_le16(MT_TXD_SIZE + skb->len); in mt7615_mcu_uni_add_beacon_offload() 1277 req.beacon_tlv.tim_ie_pos = cpu_to_le16(MT_TXD_SIZE + offs.tim_offset); in mt7615_mcu_uni_add_beacon_offload() 1282 csa_offs = MT_TXD_SIZE + offs.cntdwn_counter_offs[0] - 4; in mt7615_mcu_uni_add_beacon_offload()
|
A D | mmio.c | 188 .txwi_size = MT_TXD_SIZE + sizeof(struct mt7615_txp_common), in mt7615_mmio_probe()
|
A D | mac.c | 623 u32 val, sz_txd = is_mmio ? MT_TXD_SIZE : MT_USB_TXD_SIZE; in mt7615_mac_write_txwi()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7603/ |
A D | dma.c | 30 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()
|
A D | mac.h | 128 #define MT_TXD_SIZE (8 * 4) macro
|
A D | init.c | 9 .txwi_size = MT_TXD_SIZE,
|
A D | main.c | 419 hdr = (struct ieee80211_hdr *)&skb->data[MT_TXD_SIZE]; in mt7603_ps_set_more_data()
|
A D | mac.c | 948 val = FIELD_PREP(MT_TXD0_TX_BYTES, skb->len + MT_TXD_SIZE) | in mt7603_mac_write_txwi()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
A D | mac.h | 195 #define MT_TXD_SIZE (8 * 4) macro 416 return (struct mt7915_txp *)(txwi + MT_TXD_SIZE); in mt7915_txwi_to_txp()
|
A D | pci.c | 224 .txwi_size = MT_TXD_SIZE + sizeof(struct mt7915_txp), in mt7915_pci_probe()
|
A D | mcu.c | 2511 int len = sizeof(*cont) + MT_TXD_SIZE + skb->len; in mt7915_mcu_beacon_cont() 2517 cont->pkt_len = cpu_to_le16(MT_TXD_SIZE + skb->len); in mt7915_mcu_beacon_cont() 2532 memcpy(buf + MT_TXD_SIZE, skb->data, skb->len); in mt7915_mcu_beacon_cont() 2640 if (skb->len > MAX_BEACON_SIZE - MT_TXD_SIZE) { in mt7915_mcu_add_beacon()
|
A D | mac.c | 1066 val = FIELD_PREP(MT_TXD0_TX_BYTES, skb->len + MT_TXD_SIZE) | in mt7915_mac_write_txwi() 1165 txp = (struct mt7915_txp *)(txwi + MT_TXD_SIZE); in mt7915_tx_prepare_skb()
|
Completed in 53 milliseconds