Searched refs:tx_swbd (Results 1 – 2 of 2) sorted by relevance
88 struct enetc_tx_swbd *tx_swbd) in enetc_unmap_tx_buff() argument90 if (tx_swbd->is_dma_page) in enetc_unmap_tx_buff()91 dma_unmap_page(tx_ring->dev, tx_swbd->dma, in enetc_unmap_tx_buff()92 tx_swbd->len, DMA_TO_DEVICE); in enetc_unmap_tx_buff()94 dma_unmap_single(tx_ring->dev, tx_swbd->dma, in enetc_unmap_tx_buff()95 tx_swbd->len, DMA_TO_DEVICE); in enetc_unmap_tx_buff()96 tx_swbd->dma = 0; in enetc_unmap_tx_buff()100 struct enetc_tx_swbd *tx_swbd) in enetc_free_tx_skb() argument102 if (tx_swbd->dma) in enetc_free_tx_skb()103 enetc_unmap_tx_buff(tx_ring, tx_swbd); in enetc_free_tx_skb()[all …]
65 struct enetc_tx_swbd *tx_swbd; member