| /linux/drivers/dma/ |
| A D | mxs-dma.c | 143 struct dma_device dma_device; member 368 dev_dbg(mxs_dma->dma_device.dev, in mxs_dma_int_handler() 492 dev_err(mxs_dma->dma_device.dev, in mxs_dma_prep_slave_sg() 592 dev_err(mxs_dma->dma_device.dev, in mxs_dma_prep_dma_cyclic() 599 dev_err(mxs_dma->dma_device.dev, in mxs_dma_prep_dma_cyclic() 729 dma_cap_mask_t mask = mxs_dma->dma_device.cap_mask; in mxs_dma_xlate() 778 INIT_LIST_HEAD(&mxs_dma->dma_device.channels); in mxs_dma_probe() 785 mxs_chan->chan.device = &mxs_dma->dma_device; in mxs_dma_probe() 793 &mxs_dma->dma_device.channels); in mxs_dma_probe() 801 mxs_dma->dma_device.dev = &pdev->dev; in mxs_dma_probe() [all …]
|
| A D | dmaengine.c | 104 struct dma_device *dma_dev = NULL; in dmaengine_summary_show() 322 struct dma_device *device; in min_chan() 364 struct dma_device *device; in dma_channel_rebalance() 425 struct dma_device *device = container_of(ref, struct dma_device, ref); in dma_device_release() 555 struct dma_device *device; in dma_issue_pending_all() 572 struct dma_device *device; in dma_get_slave_caps() 619 struct dma_device *dev, in private_candidate() 758 struct dma_device *device, *_d; in __dma_request_channel() 814 struct dma_device *d, *_d; in dma_request_chan() 933 struct dma_device *device, *_d; in dmaengine_get() [all …]
|
| A D | st_fdma.c | 177 if (fdev->dma_device.dev->of_node != dma_spec->np) in st_fdma_of_xlate() 186 chan = dma_get_any_slave_channel(&fdev->dma_device); in st_fdma_of_xlate() 793 INIT_LIST_HEAD(&fdev->dma_device.channels); in st_fdma_probe() 799 vchan_init(&fchan->vchan, &fdev->dma_device); in st_fdma_probe() 805 dma_cap_set(DMA_SLAVE, fdev->dma_device.cap_mask); in st_fdma_probe() 806 dma_cap_set(DMA_CYCLIC, fdev->dma_device.cap_mask); in st_fdma_probe() 807 dma_cap_set(DMA_MEMCPY, fdev->dma_device.cap_mask); in st_fdma_probe() 809 fdev->dma_device.dev = &pdev->dev; in st_fdma_probe() 815 fdev->dma_device.device_tx_status = st_fdma_tx_status; in st_fdma_probe() 819 fdev->dma_device.device_pause = st_fdma_pause; in st_fdma_probe() [all …]
|
| A D | imx-dma.c | 176 struct dma_device dma_device; member 1112 INIT_LIST_HEAD(&imxdma->dma_device.channels); in imxdma_probe() 1114 dma_cap_set(DMA_SLAVE, imxdma->dma_device.cap_mask); in imxdma_probe() 1115 dma_cap_set(DMA_CYCLIC, imxdma->dma_device.cap_mask); in imxdma_probe() 1116 dma_cap_set(DMA_MEMCPY, imxdma->dma_device.cap_mask); in imxdma_probe() 1150 imxdmac->chan.device = &imxdma->dma_device; in imxdma_probe() 1156 &imxdma->dma_device.channels); in imxdma_probe() 1159 imxdma->dma_device.dev = &pdev->dev; in imxdma_probe() 1168 imxdma->dma_device.device_config = imxdma_config; in imxdma_probe() 1177 ret = dma_async_device_register(&imxdma->dma_device); in imxdma_probe() [all …]
|
| A D | imx-sdma.c | 500 struct dma_device dma_device; member 2031 dma_cap_mask_t mask = sdma->dma_device.cap_mask; in sdma_xlate() 2122 dma_cap_set(DMA_SLAVE, sdma->dma_device.cap_mask); in sdma_probe() 2126 INIT_LIST_HEAD(&sdma->dma_device.channels); in sdma_probe() 2144 vchan_init(&sdmac->vc, &sdma->dma_device); in sdma_probe() 2158 sdma->dma_device.dev = &pdev->dev; in sdma_probe() 2165 sdma->dma_device.device_config = sdma_config; in sdma_probe() 2170 sdma->dma_device.directions = SDMA_DMA_DIRECTIONS; in sdma_probe() 2174 sdma->dma_device.copy_align = 2; in sdma_probe() 2219 dma_async_device_unregister(&sdma->dma_device); in sdma_probe() [all …]
|
| 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()
|
| A D | dma-jz4780.c | 148 struct dma_device dma_device; member 179 dma_device); in jz4780_dma_chan_parent() 800 dma_cap_mask_t mask = jzdma->dma_device.cap_mask; in jz4780_of_dma_xlate() 811 dev_err(jzdma->dma_device.dev, in jz4780_of_dma_xlate() 819 dev_err(jzdma->dma_device.dev, in jz4780_of_dma_xlate() 841 struct dma_device *dd; in jz4780_dma_probe() 896 dd = &jzdma->dma_device; in jz4780_dma_probe()
|
| A D | st_fdma.h | 133 struct dma_device dma_device; member
|
| A D | idma64.h | 184 struct dma_device dma; 193 static inline struct idma64 *to_idma64(struct dma_device *ddev) in to_idma64()
|
| A D | fsl-edma-common.h | 157 struct dma_device dma_dev; 251 void fsl_edma_cleanup_vchan(struct dma_device *dmadev);
|
| /linux/include/linux/ |
| A D | dmaengine.h | 329 struct dma_device *device; 855 struct dma_device { struct 945 void (*device_release)(struct dma_device *dev); argument 1244 dma_set_maxpq(struct dma_device *dma, int maxpq, int has_pq_continue) in dma_set_maxpq() 1263 static inline bool dma_dev_has_pq_continue(struct dma_device *dma) in dma_dev_has_pq_continue() 1268 static inline unsigned short dma_dev_to_maxpq(struct dma_device *dma) in dma_dev_to_maxpq() 1571 int dma_async_device_register(struct dma_device *device); 1572 int dmaenginem_async_device_register(struct dma_device *device); 1573 void dma_async_device_unregister(struct dma_device *device); 1574 int dma_async_device_channel_register(struct dma_device *device, [all …]
|
| /linux/drivers/dma/ioat/ |
| A D | sysfs.c | 19 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 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() 552 struct dma_device *dma = &ioat_dma->dma_dev; in ioat_dma_remove() 569 struct dma_device *dma = &ioat_dma->dma_dev; in ioat_enumerate_channels() 769 struct dma_device *dma = &ioat_dma->dma_dev; in ioat_init_channel() 801 struct dma_device *dma = &ioat_dma->dma_dev; in ioat_xor_val_self_test() 1063 struct dma_device *dma; in ioat_intr_quirk() 1091 struct dma_device *dma; in ioat3_dma_probe() 1323 static void release_ioatdma(struct dma_device *device) in release_ioatdma()
|
| /linux/drivers/dma/qcom/ |
| A D | gpi.c | 468 struct dma_device dma_device; member 2192 INIT_LIST_HEAD(&gpi_dev->dma_device.channels); in gpi_probe() 2227 vchan_init(&gchan->vc, &gpi_dev->dma_device); in gpi_probe() 2246 dma_cap_zero(gpi_dev->dma_device.cap_mask); in gpi_probe() 2247 dma_cap_set(DMA_SLAVE, gpi_dev->dma_device.cap_mask); in gpi_probe() 2256 gpi_dev->dma_device.device_tx_status = dma_cookie_status; in gpi_probe() 2259 gpi_dev->dma_device.device_config = gpi_peripheral_config; in gpi_probe() 2261 gpi_dev->dma_device.dev = gpi_dev->dev; in gpi_probe() 2262 gpi_dev->dma_device.device_pause = gpi_pause; in gpi_probe() 2263 gpi_dev->dma_device.device_resume = gpi_resume; in gpi_probe() [all …]
|
| /linux/drivers/dma/hsu/ |
| A D | hsu.h | 111 struct dma_device dma; 118 static inline struct hsu_dma *to_hsu_dma(struct dma_device *ddev) in to_hsu_dma()
|
| /linux/crypto/async_tx/ |
| A D | async_xor.c | 26 struct dma_device *dma = chan->device; in do_async_xor() 141 dma_xor_aligned_offsets(struct dma_device *device, unsigned int offset, in dma_xor_aligned_offsets() 189 struct dma_device *device = chan ? chan->device : NULL; in async_xor_offs() 321 struct dma_device *device = chan ? chan->device : NULL; in async_xor_val_offs()
|
| A D | async_pq.c | 42 struct dma_device *dma = chan->device; in do_async_gen_syndrome() 143 is_dma_pq_aligned_offs(struct dma_device *dev, unsigned int *offs, in is_dma_pq_aligned_offs() 184 struct dma_device *device = chan ? chan->device : NULL; in async_gen_syndrome() 303 struct dma_device *device = chan ? chan->device : NULL; in async_syndrome_val()
|
| 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()
|
| /linux/drivers/dma/dw-edma/ |
| A D | dw-edma-core.h | 119 struct dma_device wr_edma; 122 struct dma_device rd_edma;
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
| 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/ |
| A D | dma.c | 162 static void idxd_dma_release(struct dma_device *device) in idxd_dma_release() 172 struct dma_device *dma; in idxd_register_dma_device() 221 struct dma_device *dma = &idxd->idxd_dma->dma; in idxd_register_dma_channel()
|
| /linux/drivers/infiniband/hw/hns/ |
| A D | hns_roce_db.c | 72 struct device *dma_device) in hns_roce_alloc_db_pgdir() argument 84 pgdir->page = dma_alloc_coherent(dma_device, PAGE_SIZE, in hns_roce_alloc_db_pgdir()
|
| /linux/include/rdma/ |
| A D | ib_verbs.h | 2682 struct device *dma_device; member 2845 struct device *dma_device); 4015 return dma_mapping_error(dev->dma_device, dma_addr); in ib_dma_mapping_error() 4046 dma_unmap_single(dev->dma_device, addr, size, direction); in ib_dma_unmap_single() 4080 dma_unmap_page(dev->dma_device, addr, size, direction); in ib_dma_unmap_page() 4091 return dma_map_sg_attrs(dev->dma_device, sg, nents, direction, in ib_dma_map_sg_attrs() 4101 dma_unmap_sg_attrs(dev->dma_device, sg, nents, direction, in ib_dma_unmap_sg_attrs() 4135 dma_unmap_sgtable(dev->dma_device, sgt, direction, dma_attrs); in ib_dma_unmap_sgtable_attrs() 4176 return dma_get_max_seg_size(dev->dma_device); in ib_dma_max_seg_size() 4192 dma_sync_single_for_cpu(dev->dma_device, addr, size, dir); in ib_dma_sync_single_for_cpu() [all …]
|
| /linux/include/linux/platform_data/ |
| A D | dma-iop32x.h | 37 struct dma_device common;
|
| /linux/drivers/dma/sf-pdma/ |
| A D | sf-pdma.h | 117 struct dma_device dma_dev;
|