Searched refs:MT_DMA_HDR_LEN (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.4/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() 220 skb = alloc_skb(cnt * 8 + MT_DMA_HDR_LEN + 4, GFP_KERNEL); in mt7601u_write_reg_pairs() 223 skb_reserve(skb, MT_DMA_HDR_LEN); in mt7601u_write_reg_pairs() 249 skb = alloc_skb(cnt * 4 + MT_DMA_HDR_LEN + 4, GFP_KERNEL); in mt7601u_burst_write_regs() 252 skb_reserve(skb, MT_DMA_HDR_LEN); in mt7601u_burst_write_regs() 308 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.4/drivers/net/wireless/mediatek/mt76/ |
D | mt76x02_usb_mcu.c | 157 skb = alloc_skb(cnt * 8 + MT_DMA_HDR_LEN + 4, GFP_KERNEL); in mt76x02u_mcu_wr_rp() 160 skb_reserve(skb, MT_DMA_HDR_LEN); in mt76x02u_mcu_wr_rp() 193 skb = alloc_skb(cnt * 8 + MT_DMA_HDR_LEN + 4, GFP_KERNEL); in mt76x02u_mcu_rd_rp() 196 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 | 410 min_len = MT_DMA_HDR_LEN + MT_RX_RXWI_LEN + in mt76u_get_rx_entry_len() 414 dma_len + MT_DMA_HDR_LEN > data_len || in mt76u_get_rx_entry_len() 425 if (SKB_WITH_OVERHEAD(buf_size) < MT_DMA_HDR_LEN + len) { in mt76u_build_rx_skb() 435 skb_put_data(skb, data + MT_DMA_HDR_LEN, MT_SKB_HEAD_LEN); in mt76u_build_rx_skb() 436 data += (MT_DMA_HDR_LEN + MT_SKB_HEAD_LEN); in mt76u_build_rx_skb() 450 skb_reserve(skb, MT_DMA_HDR_LEN); in mt76u_build_rx_skb() 472 data_len = min_t(int, len, data_len - 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 | 166 MT_DMA_HDR_LEN; in mt76x02_init_device()
|