Searched refs:MT_DMA_HDR_LEN (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.10/drivers/net/wireless/mediatek/mt7601u/ |
D | mcu.c | 59 skb = alloc_skb(len + MT_DMA_HDR_LEN + 4, GFP_KERNEL); in mt7601u_mcu_msg_alloc() 61 skb_reserve(skb, MT_DMA_HDR_LEN); in mt7601u_mcu_msg_alloc() 222 skb = alloc_skb(cnt * 8 + MT_DMA_HDR_LEN + 4, GFP_KERNEL); in mt7601u_write_reg_pairs() 225 skb_reserve(skb, MT_DMA_HDR_LEN); in mt7601u_write_reg_pairs() 251 skb = alloc_skb(cnt * 4 + MT_DMA_HDR_LEN + 4, GFP_KERNEL); in mt7601u_burst_write_regs() 254 skb_reserve(skb, MT_DMA_HDR_LEN); in mt7601u_burst_write_regs() 310 buf.len = MT_DMA_HDR_LEN + len + 4; in __mt7601u_dma_fw()
|
D | dma.h | 13 #define MT_DMA_HDR_LEN 4 macro 16 #define MT_DMA_HDRS (MT_DMA_HDR_LEN + MT_RX_INFO_LEN)
|
D | dma.c | 89 data += MT_DMA_HDR_LEN; in mt7601u_rx_process_seg() 90 seg_len -= MT_DMA_HDR_LEN; in mt7601u_rx_process_seg() 114 u32 min_seg_len = MT_DMA_HDR_LEN + MT_RX_INFO_LEN + in mt7601u_rx_next_seg_len()
|
/Linux-v5.10/drivers/net/wireless/mediatek/mt76/ |
D | mt76x02_usb_mcu.c | 159 skb = alloc_skb(cnt * 8 + MT_DMA_HDR_LEN + 4, GFP_KERNEL); in mt76x02u_mcu_wr_rp() 162 skb_reserve(skb, MT_DMA_HDR_LEN); in mt76x02u_mcu_wr_rp() 195 skb = alloc_skb(cnt * 8 + MT_DMA_HDR_LEN + 4, GFP_KERNEL); in mt76x02u_mcu_rd_rp() 198 skb_reserve(skb, MT_DMA_HDR_LEN); in mt76x02u_mcu_rd_rp()
|
D | dma.h | 19 #define MT_DMA_HDR_LEN 4 macro
|
D | usb.c | 519 min_len = MT_DMA_HDR_LEN + MT_RX_RXWI_LEN + MT_FCE_INFO_LEN; in mt76u_get_rx_entry_len() 521 dma_len + MT_DMA_HDR_LEN > data_len || in mt76u_get_rx_entry_len() 534 head_room = drv_flags & MT_DRV_RX_DMA_HDR ? 0 : MT_DMA_HDR_LEN; in mt76u_build_rx_skb() 582 head_room = drv_flags & MT_DRV_RX_DMA_HDR ? 0 : MT_DMA_HDR_LEN; in mt76u_process_rx_entry()
|
D | mt76x02_usb_core.c | 12 skb_pull(skb, sizeof(struct mt76x02_txwi) + MT_DMA_HDR_LEN); in mt76x02u_remove_dma_hdr()
|
D | mt76x02_util.c | 162 MT_DMA_HDR_LEN; in mt76x02_init_device()
|