/linux-6.6.21/drivers/net/ethernet/marvell/prestera/ |
D | prestera_rxtx.c | 76 dma_addr_t buf_dma; member 120 buf->buf_dma = DMA_MAPPING_ERROR; in prestera_sdma_buf_init() 173 dma_unmap_single(dev, buf->buf_dma, buf->skb->len, in prestera_sdma_rx_skb_alloc() 176 buf->buf_dma = dma; in prestera_sdma_rx_skb_alloc() 190 dma_addr_t buf_dma = buf->buf_dma; in prestera_sdma_rx_skb_get() local 197 buf->buf_dma = buf_dma; in prestera_sdma_rx_skb_get() 207 prestera_sdma_rx_desc_init(sdma, buf->desc, buf->buf_dma); in prestera_sdma_rx_skb_get() 358 if (buf->buf_dma != DMA_MAPPING_ERROR) in prestera_sdma_rx_fini() 360 buf->buf_dma, buf->skb->len, in prestera_sdma_rx_fini() 403 next->buf_dma); in prestera_sdma_rx_init() [all …]
|
/linux-6.6.21/drivers/media/pci/mantis/ |
D | mantis_dma.c | 51 (unsigned long) mantis->buf_dma, in mantis_dma_exit() 56 mantis->buf_cpu, mantis->buf_dma); in mantis_dma_exit() 82 &mantis->buf_dma, GFP_KERNEL); in mantis_alloc_buffers() 91 (unsigned long) mantis->buf_dma, in mantis_alloc_buffers() 161 RISC_INSTR(risc_pos, mantis->buf_dma + buf_pos); in mantis_risc_program()
|
D | mantis_common.h | 124 dma_addr_t buf_dma; member
|
/linux-6.6.21/drivers/net/ethernet/ti/icssg/ |
D | icssg_prueth.c | 109 dma_addr_t buf_dma, next_desc_dma; in prueth_xmit_free() local 115 cppi5_hdesc_get_obuf(first_desc, &buf_dma, &buf_dma_len); in prueth_xmit_free() 116 k3_udma_glue_tx_cppi5_to_dma_addr(tx_chn->tx_chn, &buf_dma); in prueth_xmit_free() 118 dma_unmap_single(tx_chn->dma_dev, buf_dma, buf_dma_len, in prueth_xmit_free() 126 cppi5_hdesc_get_obuf(next_desc, &buf_dma, &buf_dma_len); in prueth_xmit_free() 127 k3_udma_glue_tx_cppi5_to_dma_addr(tx_chn->tx_chn, &buf_dma); in prueth_xmit_free() 129 dma_unmap_page(tx_chn->dma_dev, buf_dma, buf_dma_len, in prueth_xmit_free() 447 dma_addr_t buf_dma; in prueth_dma_rx_push() local 457 buf_dma = dma_map_single(rx_chn->dma_dev, skb->data, pkt_len, DMA_FROM_DEVICE); in prueth_dma_rx_push() 458 if (unlikely(dma_mapping_error(rx_chn->dma_dev, buf_dma))) { in prueth_dma_rx_push() [all …]
|
/linux-6.6.21/drivers/net/ethernet/ti/ |
D | am65-cpsw-nuss.c | 313 dma_addr_t buf_dma; in am65_cpsw_nuss_rx_push() local 323 buf_dma = dma_map_single(rx_chn->dma_dev, skb->data, pkt_len, in am65_cpsw_nuss_rx_push() 325 if (unlikely(dma_mapping_error(rx_chn->dma_dev, buf_dma))) { in am65_cpsw_nuss_rx_push() 333 k3_udma_glue_rx_dma_to_cppi5_addr(rx_chn->rx_chn, &buf_dma); in am65_cpsw_nuss_rx_push() 334 cppi5_hdesc_attach_buf(desc_rx, buf_dma, skb_tailroom(skb), buf_dma, skb_tailroom(skb)); in am65_cpsw_nuss_rx_push() 654 dma_addr_t buf_dma; in am65_cpsw_nuss_rx_cleanup() local 661 cppi5_hdesc_get_obuf(desc_rx, &buf_dma, &buf_dma_len); in am65_cpsw_nuss_rx_cleanup() 662 k3_udma_glue_rx_cppi5_to_dma_addr(rx_chn->rx_chn, &buf_dma); in am65_cpsw_nuss_rx_cleanup() 664 dma_unmap_single(rx_chn->dma_dev, buf_dma, buf_dma_len, DMA_FROM_DEVICE); in am65_cpsw_nuss_rx_cleanup() 725 dma_addr_t desc_dma, buf_dma; in am65_cpsw_nuss_rx_packets() local [all …]
|
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_trace.h | 107 __field(dma_addr_t, buf_dma) 117 __entry->buf_dma = ring->desc_cb[ring->next_to_clean].dma; 126 __entry->ntc, &__entry->desc_dma, &__entry->buf_dma,
|
/linux-6.6.21/drivers/scsi/hisi_sas/ |
D | hisi_sas.h | 57 hisi_sas_status_buf_addr((slot)->buf_dma) 62 #define hisi_sas_cmd_hdr_addr_dma(slot) hisi_sas_cmd_hdr_addr((slot)->buf_dma) 67 #define hisi_sas_sge_addr_dma(slot) hisi_sas_sge_addr((slot)->buf_dma) 72 #define hisi_sas_sge_dif_addr_dma(slot) hisi_sas_sge_dif_addr((slot)->buf_dma) 255 dma_addr_t buf_dma; member
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxbf_gige/ |
D | mlxbf_gige_main.c | 31 dma_addr_t *buf_dma, in mlxbf_gige_alloc_skb() argument 55 *buf_dma = dma_map_single(priv->dev, skb->data, map_len, dir); in mlxbf_gige_alloc_skb() 56 if (dma_mapping_error(priv->dev, *buf_dma)) { in mlxbf_gige_alloc_skb() 58 *buf_dma = (dma_addr_t)0; in mlxbf_gige_alloc_skb()
|
D | mlxbf_gige.h | 193 dma_addr_t *buf_dma,
|
/linux-6.6.21/drivers/spi/ |
D | spi-mtk-snfi.c | 875 dma_addr_t buf_dma; in mtk_snand_read_page_cache() local 936 buf_dma = dma_map_single(snf->dev, buf, dma_len, DMA_FROM_DEVICE); in mtk_snand_read_page_cache() 937 ret = dma_mapping_error(snf->dev, buf_dma); in mtk_snand_read_page_cache() 942 nfi_write32(snf, NFI_STRADDR, buf_dma); in mtk_snand_read_page_cache() 996 dma_unmap_single(snf->dev, buf_dma, dma_len, DMA_FROM_DEVICE); in mtk_snand_read_page_cache() 1036 dma_unmap_single(snf->dev, buf_dma, dma_len, DMA_FROM_DEVICE); in mtk_snand_read_page_cache() 1067 dma_addr_t buf_dma; in mtk_snand_write_page_cache() local 1126 buf_dma = dma_map_single(snf->dev, snf->buf, dma_len, DMA_TO_DEVICE); in mtk_snand_write_page_cache() 1127 ret = dma_mapping_error(snf->dev, buf_dma); in mtk_snand_write_page_cache() 1132 nfi_write32(snf, NFI_STRADDR, buf_dma); in mtk_snand_write_page_cache() [all …]
|
/linux-6.6.21/drivers/mtd/nand/raw/ |
D | intel-nand-controller.c | 296 dma_addr_t buf_dma; in ebu_dma_start() local 310 buf_dma = dma_map_single(chan->device->dev, (void *)buf, len, dir); in ebu_dma_start() 311 if (dma_mapping_error(chan->device->dev, buf_dma)) { in ebu_dma_start() 317 tx = dmaengine_prep_slave_single(chan, buf_dma, len, dir, flags); in ebu_dma_start() 350 dma_unmap_single(ebu_host->dev, buf_dma, len, dir); in ebu_dma_start()
|
/linux-6.6.21/drivers/net/can/usb/ |
D | mcba_usb.c | 631 dma_addr_t buf_dma; in mcba_usb_start() local 641 GFP_KERNEL, &buf_dma); in mcba_usb_start() 649 urb->transfer_dma = buf_dma; in mcba_usb_start() 662 buf, buf_dma); in mcba_usb_start() 668 priv->rxbuf_dma[i] = buf_dma; in mcba_usb_start()
|
D | usb_8dev.c | 726 dma_addr_t buf_dma; in usb_8dev_start() local 736 &buf_dma); in usb_8dev_start() 744 urb->transfer_dma = buf_dma; in usb_8dev_start() 764 priv->rxbuf_dma[i] = buf_dma; in usb_8dev_start()
|
D | ems_usb.c | 590 dma_addr_t buf_dma; in ems_usb_start() local 600 &buf_dma); in ems_usb_start() 608 urb->transfer_dma = buf_dma; in ems_usb_start() 626 dev->rxbuf_dma[i] = buf_dma; in ems_usb_start()
|
/linux-6.6.21/drivers/crypto/caam/ |
D | caamhash.c | 114 dma_addr_t buf_dma; member 174 state->buf_dma = dma_map_single(jrdev, state->buf, buflen, in buf_map_to_sec4_sg() 176 if (dma_mapping_error(jrdev, state->buf_dma)) { in buf_map_to_sec4_sg() 178 state->buf_dma = 0; in buf_map_to_sec4_sg() 182 dma_to_sec4_sg_one(sec4_sg, state->buf_dma, buflen, 0); in buf_map_to_sec4_sg() 564 if (state->buf_dma) { in ahash_unmap() 565 dma_unmap_single(dev, state->buf_dma, state->buflen, in ahash_unmap() 567 state->buf_dma = 0; in ahash_unmap() 1091 state->buf_dma = 0; in ahash_digest() 1168 state->buf_dma = dma_map_single(jrdev, buf, buflen, in ahash_final_no_ctx() [all …]
|
/linux-6.6.21/drivers/media/pci/bt8xx/ |
D | bt878.c | 71 bt->buf_dma); in bt878_mem_free() 88 &bt->buf_dma, GFP_KERNEL); in bt878_mem_alloc() 168 RISC_INSTR(bt->buf_dma + buf_pos); in bt878_risc_program()
|
D | bt878.h | 116 dma_addr_t buf_dma; member
|
/linux-6.6.21/drivers/usb/musb/ |
D | cppi_dma.h | 88 dma_addr_t buf_dma; member
|
/linux-6.6.21/drivers/net/can/usb/kvaser_usb/ |
D | kvaser_usb_core.c | 375 dma_addr_t buf_dma; in kvaser_usb_setup_rx_urbs() local 384 GFP_KERNEL, &buf_dma); in kvaser_usb_setup_rx_urbs() 399 urb->transfer_dma = buf_dma; in kvaser_usb_setup_rx_urbs() 408 buf_dma); in kvaser_usb_setup_rx_urbs() 414 dev->rxbuf_dma[i] = buf_dma; in kvaser_usb_setup_rx_urbs()
|
/linux-6.6.21/drivers/usb/gadget/udc/aspeed-vhub/ |
D | epn.c | 67 writel(ep->buf_dma, ep->epn.regs + AST_VHUB_EP_DESC_BASE); in ast_vhub_epn_kick() 781 ep->buf, ep->buf_dma); in ast_vhub_epn_dispose() 836 &ep->buf_dma, GFP_KERNEL); in ast_vhub_alloc_epn() 843 ep->epn.descs_dma = ep->buf_dma + AST_VHUB_EPn_MAX_PACKET; in ast_vhub_alloc_epn()
|
/linux-6.6.21/drivers/staging/vt6655/ |
D | desc.h | 221 dma_addr_t buf_dma; member
|
/linux-6.6.21/drivers/input/misc/ |
D | ati_remote2.c | 190 dma_addr_t buf_dma[2]; member 633 ar2->buf[i] = usb_alloc_coherent(udev, 4, GFP_KERNEL, &ar2->buf_dma[i]); in ati_remote2_urb_init() 648 ar2->urb[i]->transfer_dma = ar2->buf_dma[i]; in ati_remote2_urb_init() 661 usb_free_coherent(ar2->udev, 4, ar2->buf[i], ar2->buf_dma[i]); in ati_remote2_urb_cleanup()
|
/linux-6.6.21/drivers/net/ethernet/pasemi/ |
D | pasemi_mac.h | 40 dma_addr_t buf_dma; member
|
/linux-6.6.21/drivers/staging/qlge/ |
D | qlge_mpi.c | 784 dma_addr_t buf_dma; in qlge_dump_risc_ram_area() local 787 word_count * sizeof(u32), &buf_dma, in qlge_dump_risc_ram_area() 792 status = qlge_mb_dump_ram(qdev, buf_dma, ram_addr, word_count); in qlge_dump_risc_ram_area() 797 buf_dma); in qlge_dump_risc_ram_area()
|
/linux-6.6.21/drivers/scsi/qla2xxx/ |
D | qla_mid.c | 1141 dma_addr_t buf_dma; in qla_get_buf() local 1164 buf = dma_pool_zalloc(ha->fcp_cmnd_dma_pool, GFP_ATOMIC, &buf_dma); in qla_get_buf() 1172 dsc->buf_dma = qp->buf_pool.dma_array[tag] = buf_dma; in qla_get_buf() 1176 dsc->buf_dma = qp->buf_pool.dma_array[tag]; in qla_get_buf()
|