Lines Matching refs:buf_dma_addr
186 return le32_to_cpu(tx_desc->pp21.buf_dma_addr); in mvpp2_txdesc_dma_addr_get()
202 tx_desc->pp21.buf_dma_addr = cpu_to_le32(addr); in mvpp2_txdesc_dma_addr_set()
265 return le32_to_cpu(rx_desc->pp21.buf_dma_addr); in mvpp2_rxdesc_dma_addr_get()
508 dma_addr_t buf_dma_addr; in mvpp2_bm_bufs_free() local
513 &buf_dma_addr, &buf_phys_addr); in mvpp2_bm_bufs_free()
516 dma_unmap_single(dev, buf_dma_addr, in mvpp2_bm_bufs_free()
764 dma_addr_t *buf_dma_addr, in mvpp2_buf_alloc() argument
789 *buf_dma_addr = dma_addr; in mvpp2_buf_alloc()
1001 dma_addr_t buf_dma_addr, in mvpp2_bm_pool_put() argument
1014 val |= upper_32_bits(buf_dma_addr) & in mvpp2_bm_pool_put()
1034 MVPP2_BM_PHY_RLS_REG(pool), buf_dma_addr); in mvpp2_bm_pool_put()
4100 dma_addr_t buf_dma_addr = in tx_desc_unmap_put() local
4104 if (!IS_TSO_HEADER(txq_pcpu, buf_dma_addr)) in tx_desc_unmap_put()
4105 dma_unmap_single(port->dev->dev.parent, buf_dma_addr, in tx_desc_unmap_put()
4207 dma_addr_t buf_dma_addr; in mvpp2_tx_frag_process() local
4218 buf_dma_addr = dma_map_single(port->dev->dev.parent, addr, in mvpp2_tx_frag_process()
4221 if (dma_mapping_error(port->dev->dev.parent, buf_dma_addr)) { in mvpp2_tx_frag_process()
4226 mvpp2_txdesc_dma_addr_set(port, tx_desc, buf_dma_addr); in mvpp2_tx_frag_process()
4287 dma_addr_t buf_dma_addr; in mvpp2_tso_put_data() local
4293 buf_dma_addr = dma_map_single(dev->dev.parent, tso->data, sz, in mvpp2_tso_put_data()
4295 if (unlikely(dma_mapping_error(dev->dev.parent, buf_dma_addr))) { in mvpp2_tso_put_data()
4300 mvpp2_txdesc_dma_addr_set(port, tx_desc, buf_dma_addr); in mvpp2_tso_put_data()
4374 dma_addr_t buf_dma_addr; in mvpp2_tx() local
4412 buf_dma_addr = dma_map_single(dev->dev.parent, skb->data, in mvpp2_tx()
4414 if (unlikely(dma_mapping_error(dev->dev.parent, buf_dma_addr))) { in mvpp2_tx()
4420 mvpp2_txdesc_dma_addr_set(port, tx_desc, buf_dma_addr); in mvpp2_tx()