Home
last modified time | relevance | path

Searched refs:head_room (Results 1 – 3 of 3) sorted by relevance

/drivers/net/wireless/mediatek/mt76/
Dusb.c531 int head_room, drv_flags = dev->drv->drv_flags; in mt76u_build_rx_skb() local
534 head_room = drv_flags & MT_DRV_RX_DMA_HDR ? 0 : MT_DMA_HDR_LEN; in mt76u_build_rx_skb()
535 if (SKB_WITH_OVERHEAD(buf_size) < head_room + len) { in mt76u_build_rx_skb()
545 skb_put_data(skb, data + head_room, MT_SKB_HEAD_LEN); in mt76u_build_rx_skb()
546 data += head_room + MT_SKB_HEAD_LEN; in mt76u_build_rx_skb()
560 skb_reserve(skb, head_room); in mt76u_build_rx_skb()
572 int len, nsgs = 1, head_room, drv_flags = dev->drv->drv_flags; in mt76u_process_rx_entry() local
582 head_room = drv_flags & MT_DRV_RX_DMA_HDR ? 0 : MT_DMA_HDR_LEN; in mt76u_process_rx_entry()
583 data_len = min_t(int, len, data_len - head_room); in mt76u_process_rx_entry()
/drivers/net/ethernet/freescale/dpaa2/
Ddpni-cmd.h247 __le16 head_room; member
262 __le16 head_room; member
Ddpni.c643 layout->data_head_room = le16_to_cpu(rsp_params->head_room); in dpni_get_buffer_layout()
682 cmd_params->head_room = cpu_to_le16(layout->data_head_room); in dpni_set_buffer_layout()