Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/net/ethernet/intel/igc/
H A Digc_dump.c143 (u64)dma_unmap_addr(buffer_info, dma), in igc_rings_dump()
194 (u64)dma_unmap_addr(buffer_info, dma), in igc_rings_dump()
/openbmc/linux/drivers/infiniband/hw/mthca/
H A Dmthca_allocator.c289 dma_unmap_addr(&buf->direct, mapping)); in mthca_buf_free()
294 dma_unmap_addr(&buf->page_list[i], in mthca_buf_free()
H A 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()
/openbmc/linux/drivers/net/ethernet/google/gve/
H A Dgve_tx_dqo.c174 dma_unmap_addr(cur_state, dma[j]), in gve_tx_clean_pending_packets()
179 dma_unmap_addr(cur_state, dma[j]), in gve_tx_clean_pending_packets()
628 dma_unmap_addr(pkt, dma[i]), in gve_tx_add_skb_no_copy_dqo()
633 dma_unmap_addr(pkt, dma[i]), in gve_tx_add_skb_no_copy_dqo()
998 dma_unmap_single(dev, dma_unmap_addr(pkt, dma[0]), in gve_unmap_packet()
1001 dma_unmap_page(dev, dma_unmap_addr(pkt, dma[i]), in gve_unmap_packet()
H A Dgve_tx.c378 dma_unmap_single(dev, dma_unmap_addr(info, dma), in gve_tx_unmap_buf()
383 dma_unmap_page(dev, dma_unmap_addr(info, dma), in gve_tx_unmap_buf()
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_txrx_lib.c233 dma_unmap_single(dev, dma_unmap_addr(tx_buf, dma), in ice_clean_xdp_tx_buf()
419 dma_unmap_page(dev, dma_unmap_addr(tx_buf, dma), in __ice_xmit_xdp_ring()
H A Dice_txrx.c117 dma_unmap_addr(tx_buf, dma), in ice_unmap_and_free_tx_buf()
265 dma_unmap_addr(tx_buf, dma), in ice_clean_tx_irq()
288 dma_unmap_addr(tx_buf, dma), in ice_clean_tx_irq()
2508 dma_unmap_addr(tx_buf, dma), in ice_clean_ctrl_tx_irq()
/openbmc/linux/drivers/net/ethernet/arc/
H A Demac_main.c144 dma_unmap_single(dev, dma_unmap_addr(tx_buff, addr), in arc_emac_tx_clean()
242 dma_unmap_single(dev, dma_unmap_addr(rx_buff, addr), in arc_emac_rx()
563 dma_unmap_addr(tx_buff, addr), in arc_free_tx_queue()
595 dma_unmap_addr(rx_buff, addr), in arc_free_rx_queue()
/openbmc/linux/drivers/net/ethernet/qlogic/
H A Dqla3xxx.c1947 dma_unmap_addr(&tx_cb->map[0], mapaddr), in ql_process_mac_tx_intr()
1953 dma_unmap_addr(&tx_cb->map[i], mapaddr), in ql_process_mac_tx_intr()
2023 dma_unmap_addr(lrg_buf_cb2, mapaddr), in ql_process_mac_rx_intr()
2068 dma_unmap_addr(lrg_buf_cb2, mapaddr), in ql_process_macip_rx_intr()
2423 dma_unmap_addr(&tx_cb->map[seg], mapaddr), in ql_send_map()
2431 dma_unmap_addr(&tx_cb->map[seg], mapaddr), in ql_send_map()
2437 dma_unmap_addr(&tx_cb->map[0], mapaddr), in ql_send_map()
2438 dma_unmap_addr(&tx_cb->map[0], maplen), in ql_send_map()
2716 dma_unmap_addr(lrg_buf_cb, mapaddr), in ql_free_large_buffers()
3634 dma_unmap_addr(&tx_cb->map[0], mapaddr), in ql_reset_work()
[all …]
/openbmc/linux/drivers/net/ethernet/alacritech/
H A Dslicoss.c368 dma_unmap_addr(buff, map_addr), in slic_xmit_complete()
569 dma_unmap_addr(buff, map_addr), in slic_handle_receive()
576 dma_unmap_addr(buff, in slic_handle_receive()
587 dma_unmap_addr(buff, map_addr), in slic_handle_receive()
907 dma_unmap_addr(buff, map_addr), in slic_free_tx_queue()
949 dma_unmap_addr(buff, map_addr), in slic_free_rx_queue()
/openbmc/linux/include/linux/
H A Ddma-mapping.h596 #define dma_unmap_addr(PTR, ADDR_NAME) ((PTR)->ADDR_NAME) macro
603 #define dma_unmap_addr(PTR, ADDR_NAME) (0) macro
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb/
H A Dsge.c506 dma_unmap_single(&pdev->dev, dma_unmap_addr(ce, dma_addr), in free_freelQ_buffers()
623 dma_unmap_addr(ce, dma_addr), in free_cmdQ_buffers()
1054 dma_unmap_addr(ce, dma_addr), in get_packet()
1059 dma_unmap_addr(ce, dma_addr), in get_packet()
1072 dma_unmap_single(&pdev->dev, dma_unmap_addr(ce, dma_addr), in get_packet()
1096 dma_unmap_addr(ce, dma_addr), in unexpected_offload()
/openbmc/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_txrx.c38 dma_unmap_addr(tx_buffer, dma), in iavf_unmap_and_free_tx_resource()
43 dma_unmap_addr(tx_buffer, dma), in iavf_unmap_and_free_tx_resource()
253 dma_unmap_addr(tx_buf, dma), in iavf_clean_tx_irq()
278 dma_unmap_addr(tx_buf, dma), in iavf_clean_tx_irq()
/openbmc/linux/drivers/net/ethernet/alteon/
H A Dacenic.c644 mapping = dma_unmap_addr(ringp, mapping); in acenic_remove_one()
663 mapping = dma_unmap_addr(ringp,mapping); in acenic_remove_one()
682 mapping = dma_unmap_addr(ringp, mapping); in acenic_remove_one()
1973 dma_unmap_page(&ap->pdev->dev, dma_unmap_addr(rip, mapping), in ace_rx_int()
2041 dma_unmap_addr(info, mapping), in ace_tx_int()
2333 dma_unmap_addr(info, mapping), in ace_close()
/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dbcmsysport.c724 dma_unmap_single(kdev, dma_unmap_addr(cb, dma_addr), in bcm_sysport_rx_refill()
895 dma_unmap_single(kdev, dma_unmap_addr(cb, dma_addr), in bcm_sysport_tx_reclaim_one()
901 } else if (dma_unmap_addr(cb, dma_addr)) { in bcm_sysport_tx_reclaim_one()
903 dma_unmap_page(kdev, dma_unmap_addr(cb, dma_addr), in bcm_sysport_tx_reclaim_one()
1757 if (dma_unmap_addr(cb, dma_addr)) in bcm_sysport_fini_rx_ring()
1759 dma_unmap_addr(cb, dma_addr), in bcm_sysport_fini_rx_ring()
H A Dbnx2.c2754 dma_unmap_page(&bp->pdev->dev, dma_unmap_addr(rx_pg, mapping), in bnx2_free_rx_page()
2895 dma_unmap_addr(tx_buf, mapping), in bnx2_tx_int()
2979 dma_unmap_addr(cons_rx_pg, mapping)); in bnx2_reuse_rx_skb_pages()
3003 dma_unmap_addr(cons_rx_buf, mapping), in bnx2_reuse_rx_data()
3014 dma_unmap_addr(cons_rx_buf, mapping)); in bnx2_reuse_rx_data()
3092 mapping_old = dma_unmap_addr(rx_pg, mapping); in bnx2_rx_skb()
3177 dma_addr = dma_unmap_addr(rx_buf, mapping); in bnx2_rx_int()
5434 dma_unmap_addr(tx_buf, mapping), in bnx2_free_tx_skbs()
5445 dma_unmap_addr(tx_buf, mapping), in bnx2_free_tx_skbs()
5476 dma_unmap_addr(rx_buf, mapping), in bnx2_free_rx_skbs()
[all …]
/openbmc/linux/drivers/net/ethernet/mscc/
H A Docelot_fdma.c508 dma_unmap_single(ocelot->dev, dma_unmap_addr(buf, dma_addr), in ocelot_fdma_tx_cleanup()
735 dma_unmap_single(ocelot->dev, dma_unmap_addr(txb, dma_addr), in ocelot_fdma_free_tx_ring()
/openbmc/linux/drivers/net/ethernet/wangxun/libwx/
H A Dwx_lib.c745 dma_unmap_addr(tx_buffer, dma), in wx_clean_tx_irq()
766 dma_unmap_addr(tx_buffer, dma), in wx_clean_tx_irq()
1047 dma_unmap_addr(tx_buffer, dma), in wx_tx_map()
2264 dma_unmap_addr(tx_buffer, dma), in wx_clean_tx_ring()
2286 dma_unmap_addr(tx_buffer, dma), in wx_clean_tx_ring()
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.h813 dma_unmap_page(&bp->pdev->dev, dma_unmap_addr(sw_buf, mapping), in bnx2x_free_rx_sge()
896 dma_unmap_addr(cons_rx_buf, mapping)); in bnx2x_reuse_rx_data()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dsge.c361 dma_unmap_single(&pdev->dev, dma_unmap_addr(d, dma_addr), in clear_rx_desc()
793 dma_unmap_addr(sd, dma_addr), in get_packet()
797 dma_unmap_addr(sd, dma_addr), in get_packet()
812 dma_unmap_single(&adap->pdev->dev, dma_unmap_addr(sd, dma_addr), in get_packet()
846 dma_addr_t dma_addr = dma_unmap_addr(sd, dma_addr); in get_packet_pg()
2153 dma_unmap_addr(sd, dma_addr), in lro_add_page()
/openbmc/linux/drivers/net/ethernet/myricom/myri10ge/
H A Dmyri10ge.c1261 dma_unmap_page(&pdev->dev, (dma_unmap_addr(info, bus) in myri10ge_unmap_rx_page()
1404 dma_unmap_addr(&tx->info[idx], in myri10ge_tx_done()
1410 dma_unmap_addr(&tx->info[idx], in myri10ge_tx_done()
2122 dma_unmap_addr(&tx->info[idx], in myri10ge_free_rings()
2128 dma_unmap_addr(&tx->info[idx], in myri10ge_free_rings()
2596 dma_unmap_addr(&tx->info[idx], in myri10ge_unmap_tx_dma()
2601 dma_unmap_addr(&tx->info[idx], in myri10ge_unmap_tx_dma()
/openbmc/linux/drivers/net/ethernet/marvell/
H A Dskge.c1001 dma_unmap_addr(e, mapaddr), in skge_rx_clean()
2843 dma_unmap_single(&hw->pdev->dev, dma_unmap_addr(e, mapaddr), in skge_xmit_frame()
2847 dma_unmap_page(&hw->pdev->dev, dma_unmap_addr(e, mapaddr), in skge_xmit_frame()
2865 dma_unmap_single(&pdev->dev, dma_unmap_addr(e, mapaddr), in skge_tx_unmap()
2868 dma_unmap_page(&pdev->dev, dma_unmap_addr(e, mapaddr), in skge_tx_unmap()
3081 dma_unmap_addr(e, mapaddr), in skge_rx_get()
3086 dma_unmap_addr(e, mapaddr), in skge_rx_get()
3109 dma_unmap_addr(&ee, mapaddr), in skge_rx_get()
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_xdp.c142 dma_unmap_addr(tx_buf, mapping), in bnxt_tx_int_xdp()
/openbmc/linux/drivers/net/ethernet/brocade/bna/
H A 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()
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx.c767 dma_unmap_addr(tx_buffer, dma), in i40e_unmap_and_free_tx_resource()
772 dma_unmap_addr(tx_buffer, dma), in i40e_unmap_and_free_tx_resource()
976 dma_unmap_addr(tx_buf, dma), in i40e_clean_tx_irq()
1001 dma_unmap_addr(tx_buf, dma), in i40e_clean_tx_irq()
3902 dma_unmap_addr(tx_bi, dma), in i40e_xmit_xdp_ring()

123