Home
last modified time | relevance | path

Searched refs:dma_unmap_addr (Results 1 – 25 of 50) sorted by relevance

12

/Linux-v5.4/drivers/infiniband/hw/mthca/
Dmthca_allocator.c294 dma_unmap_addr(&buf->direct, mapping)); in mthca_buf_free()
299 dma_unmap_addr(&buf->page_list[i], in mthca_buf_free()
Dmthca_eq.c575 dma_unmap_addr(&eq->page_list[i], in mthca_create_eq()
622 dma_unmap_addr(&eq->page_list[i], mapping)); in mthca_free_eq()
/Linux-v5.4/drivers/net/ethernet/arc/
Demac_main.c144 dma_unmap_single(&ndev->dev, dma_unmap_addr(tx_buff, addr), in arc_emac_tx_clean()
241 dma_unmap_single(&ndev->dev, dma_unmap_addr(rx_buff, addr), in arc_emac_rx()
560 dma_unmap_addr(tx_buff, addr), in arc_free_tx_queue()
591 dma_unmap_addr(rx_buff, addr), in arc_free_rx_queue()
/Linux-v5.4/drivers/net/ethernet/qlogic/
Dqla3xxx.c1948 dma_unmap_addr(&tx_cb->map[0], mapaddr), in ql_process_mac_tx_intr()
1955 dma_unmap_addr(&tx_cb->map[i], in ql_process_mac_tx_intr()
2026 dma_unmap_addr(lrg_buf_cb2, mapaddr), in ql_process_mac_rx_intr()
2072 dma_unmap_addr(lrg_buf_cb2, mapaddr), in ql_process_macip_rx_intr()
2428 dma_unmap_addr(&tx_cb->map[seg], mapaddr), in ql_send_map()
2436 dma_unmap_addr(&tx_cb->map[seg], mapaddr), in ql_send_map()
2442 dma_unmap_addr(&tx_cb->map[0], mapaddr), in ql_send_map()
2443 dma_unmap_addr(&tx_cb->map[0], maplen), in ql_send_map()
2724 dma_unmap_addr(lrg_buf_cb, mapaddr), in ql_free_large_buffers()
3646 dma_unmap_addr(&tx_cb->map[0], in ql_reset_work()
[all …]
/Linux-v5.4/drivers/net/ethernet/alacritech/
Dslicoss.c369 dma_unmap_addr(buff, map_addr), in slic_xmit_complete()
570 dma_unmap_addr(buff, map_addr), in slic_handle_receive()
577 dma_unmap_addr(buff, in slic_handle_receive()
588 dma_unmap_addr(buff, map_addr), in slic_handle_receive()
908 dma_unmap_addr(buff, map_addr), in slic_free_tx_queue()
950 dma_unmap_addr(buff, map_addr), in slic_free_rx_queue()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb/
Dsge.c512 pci_unmap_single(pdev, dma_unmap_addr(ce, dma_addr), in free_freelQ_buffers()
627 pci_unmap_single(pdev, dma_unmap_addr(ce, dma_addr), in free_cmdQ_buffers()
1053 dma_unmap_addr(ce, dma_addr), in get_packet()
1058 dma_unmap_addr(ce, dma_addr), in get_packet()
1071 pci_unmap_single(pdev, dma_unmap_addr(ce, dma_addr), in get_packet()
1094 pci_dma_sync_single_for_cpu(adapter->pdev, dma_unmap_addr(ce, dma_addr), in unexpected_offload()
/Linux-v5.4/drivers/net/ethernet/intel/ice/
Dice_txrx.c25 dma_unmap_addr(tx_buf, dma), in ice_unmap_and_free_tx_buf()
30 dma_unmap_addr(tx_buf, dma), in ice_unmap_and_free_tx_buf()
144 dma_unmap_addr(tx_buf, dma), in ice_clean_tx_irq()
166 dma_unmap_addr(tx_buf, dma), in ice_clean_tx_irq()
/Linux-v5.4/drivers/staging/qlge/
Dqlge_main.c1047 dma_unmap_addr(lbq_desc, mapaddr), in ql_get_curr_lchunk()
1288 dma_unmap_addr(&tx_ring_desc->map[i], in ql_unmap_send()
1297 dma_unmap_addr(&tx_ring_desc->map[i], in ql_unmap_send()
1652 dma_unmap_addr(sbq_desc, mapaddr), in ql_process_mac_rx_skb()
1659 dma_unmap_addr(sbq_desc, mapaddr), in ql_process_mac_rx_skb()
1781 dma_unmap_addr(sbq_desc, mapaddr), in ql_build_rx_skb()
1813 dma_unmap_addr in ql_build_rx_skb()
1820 dma_unmap_addr in ql_build_rx_skb()
1836 dma_unmap_addr(sbq_desc, in ql_build_rx_skb()
1877 dma_unmap_addr(lbq_desc, in ql_build_rx_skb()
[all …]
/Linux-v5.4/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c37 dma_unmap_addr(tx_buffer, dma), in iavf_unmap_and_free_tx_resource()
42 dma_unmap_addr(tx_buffer, dma), in iavf_unmap_and_free_tx_resource()
231 dma_unmap_addr(tx_buf, dma), in iavf_clean_tx_irq()
256 dma_unmap_addr(tx_buf, dma), in iavf_clean_tx_irq()
/Linux-v5.4/drivers/net/ethernet/broadcom/
Dbcmsysport.c688 dma_unmap_single(kdev, dma_unmap_addr(cb, dma_addr), in bcm_sysport_rx_refill()
859 dma_unmap_single(kdev, dma_unmap_addr(cb, dma_addr), in bcm_sysport_tx_reclaim_one()
865 } else if (dma_unmap_addr(cb, dma_addr)) { in bcm_sysport_tx_reclaim_one()
867 dma_unmap_page(kdev, dma_unmap_addr(cb, dma_addr), in bcm_sysport_tx_reclaim_one()
1702 if (dma_unmap_addr(cb, dma_addr)) in bcm_sysport_fini_rx_ring()
1704 dma_unmap_addr(cb, dma_addr), in bcm_sysport_fini_rx_ring()
Dbnx2.c2761 dma_unmap_page(&bp->pdev->dev, dma_unmap_addr(rx_pg, mapping), in bnx2_free_rx_page()
2889 dma_unmap_single(&bp->pdev->dev, dma_unmap_addr(tx_buf, mapping), in bnx2_tx_int()
2902 dma_unmap_addr(tx_buf, mapping), in bnx2_tx_int()
2987 dma_unmap_addr(cons_rx_pg, mapping)); in bnx2_reuse_rx_skb_pages()
3011 dma_unmap_addr(cons_rx_buf, mapping), in bnx2_reuse_rx_data()
3022 dma_unmap_addr(cons_rx_buf, mapping)); in bnx2_reuse_rx_data()
3100 mapping_old = dma_unmap_addr(rx_pg, mapping); in bnx2_rx_skb()
3185 dma_addr = dma_unmap_addr(rx_buf, mapping); in bnx2_rx_int()
5456 dma_unmap_addr(tx_buf, mapping), in bnx2_free_tx_skbs()
5467 dma_unmap_addr(tx_buf, mapping), in bnx2_free_tx_skbs()
[all …]
/Linux-v5.4/drivers/net/ethernet/alteon/
Dacenic.c644 mapping = dma_unmap_addr(ringp, mapping); in acenic_remove_one()
664 mapping = dma_unmap_addr(ringp,mapping); in acenic_remove_one()
683 mapping = dma_unmap_addr(ringp, mapping); in acenic_remove_one()
1981 dma_unmap_addr(rip, mapping), in ace_rx_int()
2049 pci_unmap_page(ap->pdev, dma_unmap_addr(info, mapping), in ace_tx_int()
2340 pci_unmap_page(ap->pdev, dma_unmap_addr(info, mapping), in ace_close()
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.c88 dma_unmap_addr(tx_buf, mapping), in bnxt_tx_int_xdp()
/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.h815 dma_unmap_page(&bp->pdev->dev, dma_unmap_addr(sw_buf, mapping), in bnx2x_free_rx_sge()
898 dma_unmap_addr(cons_rx_buf, mapping)); in bnx2x_reuse_rx_data()
/Linux-v5.4/include/linux/
Ddma-mapping.h807 #define dma_unmap_addr(PTR, ADDR_NAME) ((PTR)->ADDR_NAME) macro
814 #define dma_unmap_addr(PTR, ADDR_NAME) (0) macro
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb3/
Dsge.c365 pci_unmap_single(pdev, dma_unmap_addr(d, dma_addr), in clear_rx_desc()
797 dma_unmap_addr(sd, dma_addr), len, in get_packet()
801 dma_unmap_addr(sd, dma_addr), len, in get_packet()
816 pci_unmap_single(adap->pdev, dma_unmap_addr(sd, dma_addr), in get_packet()
849 dma_addr_t dma_addr = dma_unmap_addr(sd, dma_addr); in get_packet_pg()
2147 dma_unmap_addr(sd, dma_addr), in lro_add_page()
/Linux-v5.4/drivers/infiniband/hw/cxgb3/
Dcxio_hal.c312 dma_unmap_addr(cq, mapping)); in cxio_destroy_cq()
322 dma_unmap_addr(wq, mapping)); in cxio_destroy_qp()
564 dma_unmap_addr(&rdev_p->ctrl_qp, mapping)); in cxio_hal_destroy_ctrl_qp()
/Linux-v5.4/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c1331 dma_unmap_single(dev, dma_unmap_addr(cb, dma_addr), in bcmgenet_free_tx_cb()
1335 dma_unmap_page(dev, dma_unmap_addr(cb, dma_addr), in bcmgenet_free_tx_cb()
1343 } else if (dma_unmap_addr(cb, dma_addr)) { in bcmgenet_free_tx_cb()
1345 dma_unmap_addr(cb, dma_addr), in bcmgenet_free_tx_cb()
1363 if (dma_unmap_addr(cb, dma_addr)) { in bcmgenet_free_rx_cb()
1364 dma_unmap_single(dev, dma_unmap_addr(cb, dma_addr), in bcmgenet_free_rx_cb()
/Linux-v5.4/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c1271 pci_unmap_page(pdev, (dma_unmap_addr(info, bus) in myri10ge_unmap_rx_page()
1414 dma_unmap_addr(&tx->info[idx], in myri10ge_tx_done()
1420 dma_unmap_addr(&tx->info[idx], in myri10ge_tx_done()
2125 dma_unmap_addr(&tx->info[idx], in myri10ge_free_rings()
2131 dma_unmap_addr(&tx->info[idx], in myri10ge_free_rings()
2599 dma_unmap_addr(&tx->info[idx], in myri10ge_unmap_tx_dma()
2604 dma_unmap_addr(&tx->info[idx], in myri10ge_unmap_tx_dma()
/Linux-v5.4/drivers/net/ethernet/marvell/
Dskge.c993 dma_unmap_addr(e, mapaddr), in skge_rx_clean()
2833 dma_unmap_addr(e, mapaddr), in skge_xmit_frame()
2839 dma_unmap_addr(e, mapaddr), in skge_xmit_frame()
2858 pci_unmap_single(pdev, dma_unmap_addr(e, mapaddr), in skge_tx_unmap()
2862 pci_unmap_page(pdev, dma_unmap_addr(e, mapaddr), in skge_tx_unmap()
3075 dma_unmap_addr(e, mapaddr), in skge_rx_get()
3080 dma_unmap_addr(e, mapaddr), in skge_rx_get()
3103 dma_unmap_addr(&ee, mapaddr), in skge_rx_get()
/Linux-v5.4/drivers/net/ethernet/intel/igc/
Digc_main.c232 dma_unmap_addr(tx_buffer, dma), in igc_clean_tx_ring()
254 dma_unmap_addr(tx_buffer, dma), in igc_clean_tx_ring()
1071 dma_unmap_addr(tx_buffer, dma), in igc_tx_map()
1083 dma_unmap_addr(tx_buffer, dma), in igc_tx_map()
1744 dma_unmap_addr(tx_buffer, dma), in igc_clean_tx_irq()
1765 dma_unmap_addr(tx_buffer, dma), in igc_clean_tx_irq()
/Linux-v5.4/drivers/infiniband/hw/cxgb4/
Dcq.c66 dma_unmap_addr(cq, mapping)); in destroy_cq()
175 dma_unmap_addr(cq, mapping)); in create_cq()
/Linux-v5.4/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c314 dma_unmap_addr(tx_buffer, dma), in ixgbevf_clean_tx_irq()
335 dma_unmap_addr(tx_buffer, dma), in ixgbevf_clean_tx_irq()
2397 dma_unmap_addr(tx_buffer, dma), in ixgbevf_clean_tx_ring()
2419 dma_unmap_addr(tx_buffer, dma), in ixgbevf_clean_tx_ring()
4063 dma_unmap_addr(tx_buffer, dma), in ixgbevf_tx_map()
4075 dma_unmap_addr(tx_buffer, dma), in ixgbevf_tx_map()
/Linux-v5.4/drivers/net/ethernet/brocade/bna/
Dbnad.c104 dma_unmap_addr(&unmap->vectors[0], dma_addr), in bnad_tx_buff_unmap()
119 dma_unmap_addr(&unmap->vectors[vector], dma_addr), in bnad_tx_buff_unmap()
298 dma_unmap_addr(&unmap->vector, dma_addr), in bnad_rxq_cleanup_page()
313 dma_unmap_addr(&unmap->vector, dma_addr), in bnad_rxq_cleanup_skb()
548 dma_unmap_addr(&unmap->vector, dma_addr), in bnad_cq_setup_skb_frags()
576 dma_unmap_addr(&unmap->vector, dma_addr), in bnad_cq_setup_skb()
/Linux-v5.4/drivers/net/ethernet/atheros/alx/
Dmain.c60 dma_unmap_addr(txb, dma), in alx_free_txbuf()
244 dma_unmap_addr(rxb, dma), in alx_clean_rx_irq()
519 dma_unmap_addr(cur_buf, dma), in alx_free_rxring_buf()

12