| /linux/drivers/dma/ |
| H A D | st_fdma.c | 178 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() 804 fdev->dma_device.device_alloc_chan_resources = st_fdma_alloc_chan_res; in st_fdma_probe() 805 fdev->dma_device.device_free_chan_resources = st_fdma_free_chan_res; in st_fdma_probe() [all …]
|
| H A D | at_hdmac.c | 348 struct dma_device dma_device; member 376 static inline struct at_dma *to_at_dma(struct dma_device *ddev) in to_at_dma() 378 return container_of(ddev, struct at_dma, dma_device); in to_at_dma() 842 dev_vdbg(atdma->dma_device.dev, in at_dma_interrupt() 846 for (i = 0; i < atdma->dma_device.chancnt; i++) { in at_dma_interrupt() 1748 BUG_ON(!atslave->dma_dev || atslave->dma_dev != atdma->dma_device.dev); in atc_alloc_chan_resources() 1980 atdma->dma_device.cap_mask = plat_dat->cap_mask; in at_dma_probe() 2024 INIT_LIST_HEAD(&atdma->dma_device.channels); in at_dma_probe() 2036 vchan_init(&atchan->vc, &atdma->dma_device); in at_dma_probe() 2041 atdma->dma_device.device_alloc_chan_resources = atc_alloc_chan_resources; in at_dma_probe() [all …]
|
| H A D | imx-dma.c | 176 struct dma_device dma_device; member 1032 return dma_request_channel(imxdma->dma_device.cap_mask, in imxdma_xlate() 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() 1113 dma_cap_set(DMA_INTERLEAVE, 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() [all …]
|
| H A D | dmaengine.h | 183 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()
|
| H A D | idma64.h | 184 struct dma_device dma; 193 static inline struct idma64 *to_idma64(struct dma_device *ddev) in to_idma64()
|
| H A D | dma-jz4780.c | 149 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()
|
| H A D | plx_dma.c | 104 struct dma_device dma_dev; 487 static void plx_dma_release(struct dma_device *dma_dev) in plx_dma_release() 499 struct dma_device *dma; in plx_dma_create()
|
| H A D | milbeaut-xdmac.c | 75 struct dma_device ddev; 314 struct dma_device *ddev; in milbeaut_xdmac_probe()
|
| H A D | uniphier-xdmac.c | 97 struct dma_device ddev; 485 struct dma_device *ddev; in uniphier_xdmac_probe() 569 struct dma_device *ddev = &xdev->ddev; in uniphier_xdmac_remove()
|
| H A D | virt-dma.c | 123 void vchan_init(struct virt_dma_chan *vc, struct dma_device *dmadev) in vchan_init()
|
| H A D | mv_xor.h | 118 struct dma_device dmadev;
|
| /linux/drivers/infiniband/core/ |
| H A D | umem_dmabuf.c | 118 struct device *dma_device, in ib_umem_dmabuf_get_with_dma_device() argument 157 dma_device, in ib_umem_dmabuf_get_with_dma_device() 179 return ib_umem_dmabuf_get_with_dma_device(device, device->dma_device, in ib_umem_dmabuf_get() 215 struct device *dma_device, in ib_umem_dmabuf_get_pinned_and_lock() argument 224 ib_umem_dmabuf_get_with_dma_device(device, dma_device, offset, in ib_umem_dmabuf_get_pinned_and_lock() 249 struct device *dma_device, in ib_umem_dmabuf_get_pinned_with_dma_device() argument 254 ib_umem_dmabuf_get_pinned_and_lock(device, dma_device, offset, in ib_umem_dmabuf_get_pinned_with_dma_device() 301 return ib_umem_dmabuf_get_pinned_and_lock(device, device->dma_device, in ib_umem_dmabuf_get_pinned_revocable_and_lock() 322 return ib_umem_dmabuf_get_pinned_with_dma_device(device, device->dma_device, in ib_umem_dmabuf_get_pinned()
|
| H A D | umem_odp.c | 102 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()
|
| /linux/drivers/dma/hsu/ |
| H A D | hsu.h | 115 struct dma_device dma; 122 static inline struct hsu_dma *to_hsu_dma(struct dma_device *ddev) in to_hsu_dma()
|
| /linux/crypto/async_tx/ |
| H A D | async_tx.c | 69 struct dma_device *device = chan->device; in async_tx_channel_switch() 224 struct dma_device *device; in async_trigger_callback()
|
| H A D | async_memcpy.c | 38 struct dma_device *device = chan ? chan->device : NULL; in async_memcpy()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
| H A D | conn.c | 51 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 …]
|
| /linux/drivers/dma/idxd/ |
| H A D | dma.c | 190 static void idxd_dma_release(struct dma_device *device) in idxd_dma_release() 216 struct dma_device *dma; in idxd_register_dma_device() 269 struct dma_device *dma = &idxd->idxd_dma->dma; in idxd_register_dma_channel()
|
| /linux/drivers/dma/ioat/ |
| H A D | init.c | 305 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() 1320 static void release_ioatdma(struct dma_device *device) in release_ioatdma()
|
| /linux/drivers/dma/sf-pdma/ |
| H A D | sf-pdma.h | 113 struct dma_device dma_dev;
|
| /linux/drivers/dma/ppc4xx/ |
| H A D | adma.h | 70 struct dma_device common;
|
| /linux/drivers/dma/fsl-dpaa2-qdma/ |
| H A D | dpaa2-qdma.h | 101 struct dma_device dma_dev;
|
| /linux/drivers/dma/dw/ |
| H A D | regs.h | 314 struct dma_device dma; 363 static inline struct dw_dma *to_dw_dma(struct dma_device *ddev) in to_dw_dma()
|
| /linux/include/linux/ |
| H A D | rio.h | 291 struct dma_device dma; 516 static inline struct rio_mport *dma_to_mport(struct dma_device *ddev) in dma_to_mport()
|
| /linux/drivers/dma/qcom/ |
| H A D | hidma.h | 124 struct dma_device ddev;
|