/linux-6.3-rc2/drivers/net/ethernet/marvell/prestera/ |
A D | prestera_rxtx.c | 79 dma_addr_t buf_dma; member 123 buf->buf_dma = DMA_MAPPING_ERROR; in prestera_sdma_buf_init() 176 dma_unmap_single(dev, buf->buf_dma, buf->skb->len, in prestera_sdma_rx_skb_alloc() 179 buf->buf_dma = dma; in prestera_sdma_rx_skb_alloc() 193 dma_addr_t buf_dma = buf->buf_dma; in prestera_sdma_rx_skb_get() local 200 buf->buf_dma = buf_dma; in prestera_sdma_rx_skb_get() 361 if (buf->buf_dma != DMA_MAPPING_ERROR) in prestera_sdma_rx_fini() 363 buf->buf_dma, buf->skb->len, in prestera_sdma_rx_fini() 406 next->buf_dma); in prestera_sdma_rx_init() 480 buf->buf_dma = dma; in prestera_sdma_tx_buf_map() [all …]
|
/linux-6.3-rc2/drivers/media/pci/mantis/ |
A 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()
|
A D | mantis_common.h | 124 dma_addr_t buf_dma; member
|
/linux-6.3-rc2/drivers/net/ethernet/ti/ |
A D | am65-cpsw-nuss.c | 310 dma_addr_t buf_dma; in am65_cpsw_nuss_rx_push() local 331 cppi5_hdesc_attach_buf(desc_rx, buf_dma, skb_tailroom(skb), buf_dma, skb_tailroom(skb)); in am65_cpsw_nuss_rx_push() 645 dma_addr_t buf_dma; in am65_cpsw_nuss_rx_cleanup() local 652 cppi5_hdesc_get_obuf(desc_rx, &buf_dma, &buf_dma_len); in am65_cpsw_nuss_rx_cleanup() 716 dma_addr_t desc_dma, buf_dma; in am65_cpsw_nuss_rx_packets() local 743 cppi5_hdesc_get_obuf(desc_rx, &buf_dma, &buf_dma_len); in am65_cpsw_nuss_rx_packets() 838 dma_addr_t buf_dma, next_desc_dma; in am65_cpsw_nuss_xmit_free() local 1073 dma_addr_t desc_dma, buf_dma; in am65_cpsw_nuss_ndo_slave_xmit() local 1104 dma_unmap_single(tx_chn->dma_dev, buf_dma, pkt_len, in am65_cpsw_nuss_ndo_slave_xmit() 1116 cppi5_hdesc_attach_buf(first_desc, buf_dma, pkt_len, buf_dma, pkt_len); in am65_cpsw_nuss_ndo_slave_xmit() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/ |
A 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.3-rc2/drivers/scsi/hisi_sas/ |
A 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) 254 dma_addr_t buf_dma; member
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxbf_gige/ |
A 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()
|
A D | mlxbf_gige.h | 196 dma_addr_t *buf_dma,
|
/linux-6.3-rc2/drivers/spi/ |
A D | spi-mtk-snfi.c | 874 dma_addr_t buf_dma; in mtk_snand_read_page_cache() local 935 buf_dma = dma_map_single(snf->dev, buf, dma_len, DMA_FROM_DEVICE); in mtk_snand_read_page_cache() 936 ret = dma_mapping_error(snf->dev, buf_dma); in mtk_snand_read_page_cache() 941 nfi_write32(snf, NFI_STRADDR, buf_dma); in mtk_snand_read_page_cache() 995 dma_unmap_single(snf->dev, buf_dma, dma_len, DMA_FROM_DEVICE); in mtk_snand_read_page_cache() 1035 dma_unmap_single(snf->dev, buf_dma, dma_len, DMA_FROM_DEVICE); in mtk_snand_read_page_cache() 1066 dma_addr_t buf_dma; in mtk_snand_write_page_cache() local 1125 buf_dma = dma_map_single(snf->dev, snf->buf, dma_len, DMA_TO_DEVICE); in mtk_snand_write_page_cache() 1126 ret = dma_mapping_error(snf->dev, buf_dma); in mtk_snand_write_page_cache() 1131 nfi_write32(snf, NFI_STRADDR, buf_dma); in mtk_snand_write_page_cache() [all …]
|
/linux-6.3-rc2/drivers/net/can/usb/ |
A 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()
|
A 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()
|
A 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()
|
A D | esd_usb.c | 567 dma_addr_t buf_dma; in esd_usb_setup_rx_urbs() local 577 &buf_dma); in esd_usb_setup_rx_urbs() 585 urb->transfer_dma = buf_dma; in esd_usb_setup_rx_urbs() 603 dev->rxbuf_dma[i] = buf_dma; in esd_usb_setup_rx_urbs()
|
/linux-6.3-rc2/drivers/mtd/nand/raw/ |
A 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.3-rc2/drivers/crypto/caam/ |
A D | caamhash.c | 111 dma_addr_t buf_dma; member 173 if (dma_mapping_error(jrdev, state->buf_dma)) { in buf_map_to_sec4_sg() 175 state->buf_dma = 0; in buf_map_to_sec4_sg() 179 dma_to_sec4_sg_one(sec4_sg, state->buf_dma, buflen, 0); in buf_map_to_sec4_sg() 563 if (state->buf_dma) { in ahash_unmap() 564 dma_unmap_single(dev, state->buf_dma, state->buflen, in ahash_unmap() 566 state->buf_dma = 0; in ahash_unmap() 1095 state->buf_dma = 0; in ahash_digest() 1172 state->buf_dma = dma_map_single(jrdev, buf, buflen, in ahash_final_no_ctx() 1174 if (dma_mapping_error(jrdev, state->buf_dma)) { in ahash_final_no_ctx() [all …]
|
/linux-6.3-rc2/drivers/media/pci/bt8xx/ |
A 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()
|
A D | bt878.h | 116 dma_addr_t buf_dma; member
|
/linux-6.3-rc2/drivers/usb/musb/ |
A D | cppi_dma.h | 88 dma_addr_t buf_dma; member
|
/linux-6.3-rc2/drivers/net/can/usb/kvaser_usb/ |
A 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.3-rc2/drivers/usb/gadget/udc/aspeed-vhub/ |
A D | epn.c | 68 writel(ep->buf_dma, ep->epn.regs + AST_VHUB_EP_DESC_BASE); in ast_vhub_epn_kick() 782 ep->buf, ep->buf_dma); in ast_vhub_epn_dispose() 837 &ep->buf_dma, GFP_KERNEL); in ast_vhub_alloc_epn() 844 ep->epn.descs_dma = ep->buf_dma + AST_VHUB_EPn_MAX_PACKET; in ast_vhub_alloc_epn()
|
/linux-6.3-rc2/drivers/staging/vt6655/ |
A D | desc.h | 221 dma_addr_t buf_dma; member
|
/linux-6.3-rc2/drivers/input/misc/ |
A 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.3-rc2/drivers/net/ethernet/pasemi/ |
A D | pasemi_mac.h | 40 dma_addr_t buf_dma; member
|
/linux-6.3-rc2/drivers/staging/qlge/ |
A 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.3-rc2/drivers/scsi/qla2xxx/ |
A 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()
|