Lines Matching full:mapping
27 dma_addr_t mapping, u32 len, in bnxt_xmit_bd() argument
56 txbd->tx_bd_haddr = cpu_to_le64(mapping); in bnxt_xmit_bd()
82 dma_unmap_addr_set(frag_tx_buf, mapping, frag_mapping); in bnxt_xmit_bd()
103 dma_addr_t mapping, u32 len, u16 rx_prod, in __bnxt_xmit_xdp() argument
108 tx_buf = bnxt_xmit_bd(bp, txr, mapping, len, xdp); in __bnxt_xmit_xdp()
116 dma_addr_t mapping, u32 len, in __bnxt_xmit_xdp_redirect() argument
121 tx_buf = bnxt_xmit_bd(bp, txr, mapping, len, NULL); in __bnxt_xmit_xdp_redirect()
124 dma_unmap_addr_set(tx_buf, mapping, mapping); in __bnxt_xmit_xdp_redirect()
145 dma_unmap_addr(tx_buf, mapping), in bnxt_tx_int_xdp()
186 dma_addr_t mapping; in bnxt_xdp_buff_init() local
193 mapping = rx_buf->mapping - bp->rx_dma_offset; in bnxt_xdp_buff_init()
194 dma_sync_single_for_cpu(&pdev->dev, mapping + offset, *len, bp->rx_dir); in bnxt_xdp_buff_init()
231 dma_addr_t mapping; in bnxt_rx_xdp() local
267 mapping = rx_buf->mapping - bp->rx_dma_offset; in bnxt_rx_xdp()
284 dma_sync_single_for_device(&pdev->dev, mapping + offset, *len, in bnxt_rx_xdp()
288 __bnxt_xmit_xdp(bp, txr, mapping + offset, *len, in bnxt_rx_xdp()
298 mapping = rx_buf->mapping - bp->rx_dma_offset; in bnxt_rx_xdp()
299 dma_unmap_page_attrs(&pdev->dev, mapping, in bnxt_rx_xdp()
340 dma_addr_t mapping; in bnxt_xdp_xmit() local
365 mapping = dma_map_single(&pdev->dev, xdp->data, xdp->len, in bnxt_xdp_xmit()
368 if (dma_mapping_error(&pdev->dev, mapping)) in bnxt_xdp_xmit()
371 __bnxt_xmit_xdp_redirect(bp, txr, mapping, xdp->len, xdp); in bnxt_xdp_xmit()