Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/
Denetc.c89 struct enetc_tx_swbd *tx_swbd) in enetc_unmap_tx_buff() argument
91 if (tx_swbd->is_dma_page) in enetc_unmap_tx_buff()
92 dma_unmap_page(tx_ring->dev, tx_swbd->dma, in enetc_unmap_tx_buff()
93 tx_swbd->len, DMA_TO_DEVICE); in enetc_unmap_tx_buff()
95 dma_unmap_single(tx_ring->dev, tx_swbd->dma, in enetc_unmap_tx_buff()
96 tx_swbd->len, DMA_TO_DEVICE); in enetc_unmap_tx_buff()
97 tx_swbd->dma = 0; in enetc_unmap_tx_buff()
101 struct enetc_tx_swbd *tx_swbd) in enetc_free_tx_skb() argument
103 if (tx_swbd->dma) in enetc_free_tx_skb()
104 enetc_unmap_tx_buff(tx_ring, tx_swbd); in enetc_free_tx_skb()
[all …]
Denetc.h66 struct enetc_tx_swbd *tx_swbd; member