Home
last modified time | relevance | path

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

123456

/OK3568_Linux_fs/kernel/drivers/dma/
H A Dmxs-dma.c143 struct dma_device dma_device; member
368 dev_dbg(mxs_dma->dma_device.dev, in mxs_dma_int_handler()
402 mxs_chan->ccw = dma_alloc_coherent(mxs_dma->dma_device.dev, in mxs_dma_alloc_chan_resources()
432 dma_free_coherent(mxs_dma->dma_device.dev, CCW_BLOCK_SIZE, in mxs_dma_alloc_chan_resources()
447 dma_free_coherent(mxs_dma->dma_device.dev, CCW_BLOCK_SIZE, in mxs_dma_free_chan_resources()
492 dev_err(mxs_dma->dma_device.dev, in mxs_dma_prep_slave_sg()
537 dev_err(mxs_dma->dma_device.dev, "maximum bytes for sg entry exceeded: %d > %d\n", 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()
[all …]
H A Ddmaengine.c69 static void dmaengine_debug_register(struct dma_device *dma_dev) in dmaengine_debug_register()
77 static void dmaengine_debug_unregister(struct dma_device *dma_dev) in dmaengine_debug_unregister()
84 struct dma_device *dma_dev) in dmaengine_dbg_summary_show()
104 struct dma_device *dma_dev = NULL; in dmaengine_summary_show()
136 static inline int dmaengine_debug_register(struct dma_device *dma_dev) in dmaengine_debug_register()
141 static inline void dmaengine_debug_unregister(struct dma_device *dma_dev) { } in dmaengine_debug_unregister()
322 struct dma_device *device; in min_chan()
364 struct dma_device *device; in dma_channel_rebalance()
392 static int dma_device_satisfies_mask(struct dma_device *device, in dma_device_satisfies_mask()
425 struct dma_device *device = container_of(ref, struct dma_device, ref); in dma_device_release()
[all …]
H A Dst_fdma.c177 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()
810 fdev->dma_device.device_alloc_chan_resources = st_fdma_alloc_chan_res; in st_fdma_probe()
811 fdev->dma_device.device_free_chan_resources = st_fdma_free_chan_res; in st_fdma_probe()
[all …]
H A Dimx-dma.c176 struct dma_device dma_device; member
1053 return dma_request_channel(imxdma->dma_device.cap_mask, in imxdma_xlate()
1136 INIT_LIST_HEAD(&imxdma->dma_device.channels); in imxdma_probe()
1138 dma_cap_set(DMA_SLAVE, imxdma->dma_device.cap_mask); in imxdma_probe()
1139 dma_cap_set(DMA_CYCLIC, imxdma->dma_device.cap_mask); in imxdma_probe()
1140 dma_cap_set(DMA_MEMCPY, imxdma->dma_device.cap_mask); in imxdma_probe()
1141 dma_cap_set(DMA_INTERLEAVE, imxdma->dma_device.cap_mask); in imxdma_probe()
1174 imxdmac->chan.device = &imxdma->dma_device; in imxdma_probe()
1180 &imxdma->dma_device.channels); in imxdma_probe()
1183 imxdma->dma_device.dev = &pdev->dev; in imxdma_probe()
[all …]
H A Dimx-sdma.c433 struct dma_device dma_device; member
1951 dma_cap_mask_t mask = sdma->dma_device.cap_mask; in sdma_xlate()
2056 dma_cap_set(DMA_SLAVE, sdma->dma_device.cap_mask); in sdma_probe()
2057 dma_cap_set(DMA_CYCLIC, sdma->dma_device.cap_mask); in sdma_probe()
2058 dma_cap_set(DMA_MEMCPY, sdma->dma_device.cap_mask); in sdma_probe()
2060 INIT_LIST_HEAD(&sdma->dma_device.channels); in sdma_probe()
2077 vchan_init(&sdmac->vc, &sdma->dma_device); in sdma_probe()
2093 sdma->dma_device.dev = &pdev->dev; in sdma_probe()
2095 sdma->dma_device.device_alloc_chan_resources = sdma_alloc_chan_resources; in sdma_probe()
2096 sdma->dma_device.device_free_chan_resources = sdma_free_chan_resources; in sdma_probe()
[all …]
H 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()
H A Ddma-jz4780.c148 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()
H A Dst_fdma.h133 struct dma_device dma_device; member
H A Didma64.h184 struct dma_device dma;
193 static inline struct idma64 *to_idma64(struct dma_device *ddev) in to_idma64()
H A Dfsl-edma-common.h156 struct dma_device dma_dev;
247 void fsl_edma_cleanup_vchan(struct dma_device *dmadev);
H A Dat_hdmac_regs.h324 struct dma_device dma_common;
342 static inline struct at_dma *to_at_dma(struct dma_device *ddev) in to_at_dma()
/OK3568_Linux_fs/kernel/include/linux/
H A Ddmaengine.h331 struct dma_device *device;
854 struct dma_device { struct
943 void (*device_release)(struct dma_device *dev); argument
946 void (*dbg_summary_show)(struct seq_file *s, struct dma_device *dev); argument
1224 static inline bool is_dma_copy_aligned(struct dma_device *dev, size_t off1, in is_dma_copy_aligned()
1230 static inline bool is_dma_xor_aligned(struct dma_device *dev, size_t off1, in is_dma_xor_aligned()
1236 static inline bool is_dma_pq_aligned(struct dma_device *dev, size_t off1, in is_dma_pq_aligned()
1242 static inline bool is_dma_fill_aligned(struct dma_device *dev, size_t off1, in is_dma_fill_aligned()
1249 dma_set_maxpq(struct dma_device *dma, int maxpq, int has_pq_continue) in dma_set_maxpq()
1268 static inline bool dma_dev_has_pq_continue(struct dma_device *dma) in dma_dev_has_pq_continue()
[all …]
/OK3568_Linux_fs/kernel/drivers/dma/ioat/
H 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()
H 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()
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()
/OK3568_Linux_fs/kernel/crypto/async_tx/
H A Dasync_xor.c26 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()
H A Dasync_pq.c42 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()
H A Dasync_tx.c69 struct dma_device *device = chan->device; in async_tx_channel_switch()
224 struct dma_device *device; in async_trigger_callback()
/OK3568_Linux_fs/kernel/drivers/dma/hsu/
H A Dhsu.h111 struct dma_device dma;
118 static inline struct hsu_dma *to_hsu_dma(struct dma_device *ddev) in to_hsu_dma()
/OK3568_Linux_fs/kernel/drivers/dma/dw-edma/
H A Ddw-edma-core.h113 struct dma_device wr_edma;
116 struct dma_device rd_edma;
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/fpga/
H 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 …]
/OK3568_Linux_fs/kernel/drivers/dma/idxd/
H 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()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/hns/
H A Dhns_roce_db.c73 struct device *dma_device) in hns_roce_alloc_db_pgdir() argument
85 pgdir->page = dma_alloc_coherent(dma_device, PAGE_SIZE, in hns_roce_alloc_db_pgdir()
/OK3568_Linux_fs/kernel/include/rdma/
H A Dib_verbs.h2631 struct device *dma_device; member
2786 struct device *dma_device);
3953 return IS_ENABLED(CONFIG_INFINIBAND_VIRT_DMA) && !dev->dma_device; in ib_uses_virt_dma()
3965 return dma_mapping_error(dev->dma_device, dma_addr); in ib_dma_mapping_error()
3981 return dma_map_single(dev->dma_device, cpu_addr, size, direction); in ib_dma_map_single()
3996 dma_unmap_single(dev->dma_device, addr, size, direction); in ib_dma_unmap_single()
4015 return dma_map_page(dev->dma_device, page, offset, size, direction); in ib_dma_map_page()
4030 dma_unmap_page(dev->dma_device, addr, size, direction); in ib_dma_unmap_page()
4041 return dma_map_sg_attrs(dev->dma_device, sg, nents, direction, in ib_dma_map_sg_attrs()
4051 dma_unmap_sg_attrs(dev->dma_device, sg, nents, direction, in ib_dma_unmap_sg_attrs()
[all …]
/OK3568_Linux_fs/kernel/include/linux/platform_data/
H A Ddma-iop32x.h37 struct dma_device common;
/OK3568_Linux_fs/kernel/drivers/dma/dw/
H A Dregs.h314 struct dma_device dma;
364 static inline struct dw_dma *to_dw_dma(struct dma_device *ddev) in to_dw_dma()

123456