Home
last modified time | relevance | path

Searched refs:dma_device (Results 1 – 25 of 128) sorted by relevance

123456

/drivers/dma/
A Dmxs-dma.c142 struct dma_device dma_device; member
367 dev_dbg(mxs_dma->dma_device.dev, in mxs_dma_int_handler()
491 dev_err(mxs_dma->dma_device.dev, in mxs_dma_prep_slave_sg()
591 dev_err(mxs_dma->dma_device.dev, in mxs_dma_prep_dma_cyclic()
598 dev_err(mxs_dma->dma_device.dev, in mxs_dma_prep_dma_cyclic()
728 dma_cap_mask_t mask = mxs_dma->dma_device.cap_mask; in mxs_dma_xlate()
775 INIT_LIST_HEAD(&mxs_dma->dma_device.channels); in mxs_dma_probe()
782 mxs_chan->chan.device = &mxs_dma->dma_device; in mxs_dma_probe()
790 &mxs_dma->dma_device.channels); in mxs_dma_probe()
798 mxs_dma->dma_device.dev = &pdev->dev; in mxs_dma_probe()
[all …]
A Ddmaengine.c106 struct dma_device *dma_dev = NULL; in dmaengine_summary_show()
324 struct dma_device *device; in min_chan()
366 struct dma_device *device; in dma_channel_rebalance()
427 struct dma_device *device = container_of(ref, struct dma_device, ref); in dma_device_release()
558 struct dma_device *device; in dma_issue_pending_all()
575 struct dma_device *device; in dma_get_slave_caps()
622 struct dma_device *dev, in private_candidate()
761 struct dma_device *device, *_d; in __dma_request_channel()
818 struct dma_device *d, *_d; in dma_request_chan()
964 struct dma_device *device, *_d; in dmaengine_get()
[all …]
A Dst_fdma.c178 if (fdev->dma_device.dev->of_node != dma_spec->np) in st_fdma_of_xlate()
187 chan = dma_get_any_slave_channel(&fdev->dma_device); in st_fdma_of_xlate()
787 INIT_LIST_HEAD(&fdev->dma_device.channels); in st_fdma_probe()
793 vchan_init(&fchan->vchan, &fdev->dma_device); in st_fdma_probe()
799 dma_cap_set(DMA_SLAVE, fdev->dma_device.cap_mask); in st_fdma_probe()
800 dma_cap_set(DMA_CYCLIC, fdev->dma_device.cap_mask); in st_fdma_probe()
801 dma_cap_set(DMA_MEMCPY, fdev->dma_device.cap_mask); in st_fdma_probe()
803 fdev->dma_device.dev = &pdev->dev; in st_fdma_probe()
809 fdev->dma_device.device_tx_status = st_fdma_tx_status; in st_fdma_probe()
813 fdev->dma_device.device_pause = st_fdma_pause; in st_fdma_probe()
[all …]
A Dat_hdmac.c348 struct dma_device dma_device; member
842 dev_vdbg(atdma->dma_device.dev, in at_dma_interrupt()
1975 atdma->dma_device.cap_mask = plat_dat->cap_mask; in at_dma_probe()
2019 INIT_LIST_HEAD(&atdma->dma_device.channels); in at_dma_probe()
2031 vchan_init(&atchan->vc, &atdma->dma_device); in at_dma_probe()
2040 atdma->dma_device.dev = &pdev->dev; in at_dma_probe()
2060 atdma->dma_device.device_config = atc_config; in at_dma_probe()
2061 atdma->dma_device.device_pause = atc_pause; in at_dma_probe()
2062 atdma->dma_device.device_resume = atc_resume; in at_dma_probe()
2101 dma_async_device_unregister(&atdma->dma_device); in at_dma_probe()
[all …]
A Dimx-dma.c176 struct dma_device dma_device; member
1108 INIT_LIST_HEAD(&imxdma->dma_device.channels); in imxdma_probe()
1110 dma_cap_set(DMA_SLAVE, imxdma->dma_device.cap_mask); in imxdma_probe()
1111 dma_cap_set(DMA_CYCLIC, imxdma->dma_device.cap_mask); in imxdma_probe()
1112 dma_cap_set(DMA_MEMCPY, imxdma->dma_device.cap_mask); in imxdma_probe()
1146 imxdmac->chan.device = &imxdma->dma_device; in imxdma_probe()
1152 &imxdma->dma_device.channels); in imxdma_probe()
1155 imxdma->dma_device.dev = &pdev->dev; in imxdma_probe()
1164 imxdma->dma_device.device_config = imxdma_config; in imxdma_probe()
1173 ret = dma_async_device_register(&imxdma->dma_device); in imxdma_probe()
[all …]
A Dimx-sdma.c530 struct dma_device dma_device; member
2213 dma_cap_mask_t mask = sdma->dma_device.cap_mask; in sdma_xlate()
2302 dma_cap_set(DMA_SLAVE, sdma->dma_device.cap_mask); in sdma_probe()
2307 INIT_LIST_HEAD(&sdma->dma_device.channels); in sdma_probe()
2325 vchan_init(&sdmac->vc, &sdma->dma_device); in sdma_probe()
2345 sdma->dma_device.dev = &pdev->dev; in sdma_probe()
2352 sdma->dma_device.device_config = sdma_config; in sdma_probe()
2357 sdma->dma_device.directions = SDMA_DMA_DIRECTIONS; in sdma_probe()
2361 sdma->dma_device.copy_align = 2; in sdma_probe()
2406 dma_async_device_unregister(&sdma->dma_device); in sdma_probe()
[all …]
A Ddmaengine.h183 struct dma_chan *dma_get_any_slave_channel(struct dma_device *device);
189 dmaengine_get_debugfs_root(struct dma_device *dma_dev) { in dmaengine_get_debugfs_root()
195 dmaengine_get_debugfs_root(struct dma_device *dma_dev) in dmaengine_get_debugfs_root()
A Ddma-jz4780.c149 struct dma_device dma_device; member
180 dma_device); in jz4780_dma_chan_parent()
809 dma_cap_mask_t mask = jzdma->dma_device.cap_mask; in jz4780_of_dma_xlate()
826 dev_err(jzdma->dma_device.dev, in jz4780_of_dma_xlate()
834 dev_err(jzdma->dma_device.dev, in jz4780_of_dma_xlate()
857 struct dma_device *dd; in jz4780_dma_probe()
912 dd = &jzdma->dma_device; in jz4780_dma_probe()
A Didma64.h184 struct dma_device dma;
193 static inline struct idma64 *to_idma64(struct dma_device *ddev) in to_idma64()
A Dst_fdma.h133 struct dma_device dma_device; member
A Dplx_dma.c104 struct dma_device dma_dev;
488 static void plx_dma_release(struct dma_device *dma_dev) in plx_dma_release()
500 struct dma_device *dma; in plx_dma_create()
A Dloongson2-apb-dma.c141 struct dma_device ddev;
159 static inline struct ls2x_dma_priv *to_ldma_priv(struct dma_device *ddev) in to_ldma_priv()
607 struct dma_device *ddev; in ls2x_dma_probe()
A Duniphier-xdmac.c97 struct dma_device ddev;
485 struct dma_device *ddev; in uniphier_xdmac_probe()
569 struct dma_device *ddev = &xdev->ddev; in uniphier_xdmac_remove()
/drivers/infiniband/core/
A Dumem_dmabuf.c118 struct device *dma_device, in ib_umem_dmabuf_get_with_dma_device() argument
160 dma_device, in ib_umem_dmabuf_get_with_dma_device()
182 return ib_umem_dmabuf_get_with_dma_device(device, device->dma_device, in ib_umem_dmabuf_get()
203 struct device *dma_device, in ib_umem_dmabuf_get_pinned_with_dma_device() argument
210 umem_dmabuf = ib_umem_dmabuf_get_with_dma_device(device, dma_device, offset, in ib_umem_dmabuf_get_pinned_with_dma_device()
243 return ib_umem_dmabuf_get_pinned_with_dma_device(device, device->dma_device, in ib_umem_dmabuf_get_pinned()
A Dumem_odp.c102 ret = hmm_dma_map_alloc(dev->dma_device, map, in ib_init_umem_odp()
120 hmm_dma_map_free(dev->dma_device, map); in ib_init_umem_odp()
292 hmm_dma_map_free(dev->dma_device, &umem_odp->map); in ib_umem_odp_free()
447 if (!hmm_dma_unmap_pfn(dev->dma_device, &umem_odp->map, idx)) in ib_umem_odp_unmap_dma_pages()
/drivers/dma/ioat/
A Dsysfs.c19 struct dma_device *dma = c->device; in cap_show()
33 struct dma_device *dma = c->device; in version_show()
77 struct dma_device *dma = &ioat_dma->dma_dev; in ioat_kobject_add()
98 struct dma_device *dma = &ioat_dma->dma_dev; in ioat_kobject_del()
A Dinit.c305 struct dma_device *dma = &ioat_dma->dma_dev; in ioat_dma_self_test()
496 struct dma_device *dma = &ioat_dma->dma_dev; in ioat_probe()
540 struct dma_device *dma = &ioat_dma->dma_dev; in ioat_dma_remove()
557 struct dma_device *dma = &ioat_dma->dma_dev; in ioat_enumerate_channels()
758 struct dma_device *dma = &ioat_dma->dma_dev; in ioat_init_channel()
790 struct dma_device *dma = &ioat_dma->dma_dev; in ioat_xor_val_self_test()
1052 struct dma_device *dma; in ioat_intr_quirk()
1080 struct dma_device *dma; in ioat3_dma_probe()
1321 static void release_ioatdma(struct dma_device *device) in release_ioatdma()
/drivers/dma/qcom/
A Dgpi.c470 struct dma_device dma_device; member
2200 INIT_LIST_HEAD(&gpi_dev->dma_device.channels); in gpi_probe()
2233 vchan_init(&gchan->vc, &gpi_dev->dma_device); in gpi_probe()
2252 dma_cap_zero(gpi_dev->dma_device.cap_mask); in gpi_probe()
2253 dma_cap_set(DMA_SLAVE, gpi_dev->dma_device.cap_mask); in gpi_probe()
2262 gpi_dev->dma_device.device_tx_status = dma_cookie_status; in gpi_probe()
2265 gpi_dev->dma_device.device_config = gpi_peripheral_config; in gpi_probe()
2267 gpi_dev->dma_device.dev = gpi_dev->dev; in gpi_probe()
2268 gpi_dev->dma_device.device_pause = gpi_pause; in gpi_probe()
2269 gpi_dev->dma_device.device_resume = gpi_resume; in gpi_probe()
[all …]
/drivers/dma/hsu/
A Dhsu.h115 struct dma_device dma;
122 static inline struct hsu_dma *to_hsu_dma(struct dma_device *ddev) in to_hsu_dma()
/drivers/net/ethernet/mellanox/mlx5/core/fpga/
A Dconn.c51 struct device *dma_device; in mlx5_fpga_conn_map_buf() local
57 dma_device = mlx5_core_dma_dev(conn->fdev->mdev); in mlx5_fpga_conn_map_buf()
58 buf->sg[0].dma_addr = dma_map_single(dma_device, buf->sg[0].data, in mlx5_fpga_conn_map_buf()
60 err = dma_mapping_error(dma_device, buf->sg[0].dma_addr); in mlx5_fpga_conn_map_buf()
70 buf->sg[1].dma_addr = dma_map_single(dma_device, buf->sg[1].data, in mlx5_fpga_conn_map_buf()
72 err = dma_mapping_error(dma_device, buf->sg[1].dma_addr); in mlx5_fpga_conn_map_buf()
75 dma_unmap_single(dma_device, buf->sg[0].dma_addr, in mlx5_fpga_conn_map_buf()
87 struct device *dma_device; in mlx5_fpga_conn_unmap_buf() local
89 dma_device = mlx5_core_dma_dev(conn->fdev->mdev); in mlx5_fpga_conn_unmap_buf()
91 dma_unmap_single(dma_device, buf->sg[1].dma_addr, in mlx5_fpga_conn_unmap_buf()
[all …]
/drivers/dma/idxd/
A Ddma.c190 static void idxd_dma_release(struct dma_device *device) in idxd_dma_release()
200 struct dma_device *dma; in idxd_register_dma_device()
251 struct dma_device *dma = &idxd->idxd_dma->dma; in idxd_register_dma_channel()
/drivers/infiniband/hw/hns/
A Dhns_roce_db.c71 struct device *dma_device) in hns_roce_alloc_db_pgdir() argument
83 pgdir->page = dma_alloc_coherent(dma_device, PAGE_SIZE, in hns_roce_alloc_db_pgdir()
/drivers/uio/
A Duio_dmem_genirq.c91 dma_free_coherent(uiomem->dma_device, uiomem->size, in uio_dmem_genirq_release()
260 uiomem->dma_device = &pdev->dev; in uio_dmem_genirq_probe()
/drivers/dma/dw/
A Dregs.h314 struct dma_device dma;
363 static inline struct dw_dma *to_dw_dma(struct dma_device *ddev) in to_dw_dma()
/drivers/dma/sf-pdma/
A Dsf-pdma.h113 struct dma_device dma_dev;

Completed in 61 milliseconds

123456