Searched refs:MT_DMA_HDR_LEN (Results 1 – 8 of 8) sorted by relevance
/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 | 90 data += MT_DMA_HDR_LEN; in mt7601u_rx_process_seg() 91 seg_len -= MT_DMA_HDR_LEN; in mt7601u_rx_process_seg() 119 u32 min_seg_len = MT_DMA_HDR_LEN + MT_RX_INFO_LEN + in mt7601u_rx_next_seg_len()
|
/drivers/net/wireless/mediatek/mt76/ |
D | mt76x02_usb_mcu.c | 146 skb = alloc_skb(cnt * 8 + MT_DMA_HDR_LEN + 4, GFP_KERNEL); in mt76x02u_mcu_wr_rp() 149 skb_reserve(skb, MT_DMA_HDR_LEN); in mt76x02u_mcu_wr_rp() 182 skb = alloc_skb(cnt * 8 + MT_DMA_HDR_LEN + 4, GFP_KERNEL); in mt76x02u_mcu_rd_rp() 185 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 | 466 min_len = MT_DMA_HDR_LEN + MT_RX_RXWI_LEN + MT_FCE_INFO_LEN; in mt76u_get_rx_entry_len() 468 dma_len + MT_DMA_HDR_LEN > data_len || in mt76u_get_rx_entry_len() 481 head_room = drv_flags & MT_DRV_RX_DMA_HDR ? 0 : MT_DMA_HDR_LEN; in mt76u_build_rx_skb() 529 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 | 156 MT_DMA_HDR_LEN; in mt76x02_init_device()
|