Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/xilinx/
Dll_temac_main.c329 dma_addr_t skb_dma_addr; in temac_dma_bd_init() local
368 skb_dma_addr = dma_map_single(ndev->dev.parent, skb->data, in temac_dma_bd_init()
371 if (dma_mapping_error(ndev->dev.parent, skb_dma_addr)) in temac_dma_bd_init()
373 lp->rx_bd_v[i].phys = cpu_to_be32(skb_dma_addr); in temac_dma_bd_init()
850 dma_addr_t tail_p, skb_dma_addr; in temac_start_xmit() local
887 skb_dma_addr = dma_map_single(ndev->dev.parent, skb->data, in temac_start_xmit()
890 if (WARN_ON_ONCE(dma_mapping_error(ndev->dev.parent, skb_dma_addr))) { in temac_start_xmit()
895 cur_p->phys = cpu_to_be32(skb_dma_addr); in temac_start_xmit()
902 skb_dma_addr = dma_map_single(ndev->dev.parent, in temac_start_xmit()
906 if (dma_mapping_error(ndev->dev.parent, skb_dma_addr)) { in temac_start_xmit()
[all …]