Home
last modified time | relevance | path

Searched refs:dma_device (Results 1 - 25 of 260) sorted by relevance

1234567891011

/kernel/linux/linux-5.10/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 in mxs_dma_prep_dma_cyclic()
[all...]
H A Ddmaengine.c18 * The subsystem keeps a global list of dma_device structs it is protected by a
69 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 *devic
[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 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 in imxdma_probe()
[all...]
H A Dimx-sdma.c433 struct dma_device dma_device; member
1953 dma_cap_mask_t mask = sdma->dma_device.cap_mask; in sdma_xlate()
2058 dma_cap_set(DMA_SLAVE, sdma->dma_device.cap_mask); in sdma_probe()
2059 dma_cap_set(DMA_CYCLIC, sdma->dma_device.cap_mask); in sdma_probe()
2060 dma_cap_set(DMA_MEMCPY, sdma->dma_device.cap_mask); in sdma_probe()
2062 INIT_LIST_HEAD(&sdma->dma_device.channels); in sdma_probe()
2079 vchan_init(&sdmac->vc, &sdma->dma_device); in sdma_probe()
2095 sdma->dma_device.dev = &pdev->dev; in sdma_probe()
2097 sdma->dma_device 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()
/kernel/linux/linux-6.6/drivers/dma/
H A Dmxs-dma.c142 struct dma_device dma_device; member
367 dev_dbg(mxs_dma->dma_device.dev, in mxs_dma_int_handler()
401 mxs_chan->ccw = dma_alloc_coherent(mxs_dma->dma_device.dev, in mxs_dma_alloc_chan_resources()
431 dma_free_coherent(mxs_dma->dma_device.dev, CCW_BLOCK_SIZE, in mxs_dma_alloc_chan_resources()
446 dma_free_coherent(mxs_dma->dma_device.dev, CCW_BLOCK_SIZE, in mxs_dma_free_chan_resources()
491 dev_err(mxs_dma->dma_device.dev, in mxs_dma_prep_slave_sg()
536 dev_err(mxs_dma->dma_device.dev, "maximum bytes for sg entry exceeded: %d > %d\n", 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 in mxs_dma_prep_dma_cyclic()
[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 in st_fdma_probe()
[all...]
H A Ddmaengine.c18 * The subsystem keeps a global list of dma_device structs it is protected by a
69 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 *devic
[all...]
H A Dat_hdmac.c330 * @dma_device: dmaengine dma_device object members
340 struct dma_device dma_device; member
368 static inline struct at_dma *to_at_dma(struct dma_device *ddev) in to_at_dma()
370 return container_of(ddev, struct at_dma, dma_device); in to_at_dma()
832 dev_vdbg(atdma->dma_device.dev, in at_dma_interrupt()
836 for (i = 0; i < atdma->dma_device.chancnt; i++) { in at_dma_interrupt()
1738 BUG_ON(!atslave->dma_dev || atslave->dma_dev != atdma->dma_device.dev); in atc_alloc_chan_resources()
1965 atdma->dma_device in at_dma_probe()
[all...]
H A Dimx-dma.c176 struct dma_device dma_device; member
1033 return dma_request_channel(imxdma->dma_device.cap_mask, in imxdma_xlate()
1109 INIT_LIST_HEAD(&imxdma->dma_device.channels); in imxdma_probe()
1111 dma_cap_set(DMA_SLAVE, imxdma->dma_device.cap_mask); in imxdma_probe()
1112 dma_cap_set(DMA_CYCLIC, imxdma->dma_device.cap_mask); in imxdma_probe()
1113 dma_cap_set(DMA_MEMCPY, imxdma->dma_device.cap_mask); in imxdma_probe()
1114 dma_cap_set(DMA_INTERLEAVE, imxdma->dma_device.cap_mask); in imxdma_probe()
1147 imxdmac->chan.device = &imxdma->dma_device; in imxdma_probe()
1153 &imxdma->dma_device in imxdma_probe()
[all...]
H A Dimx-sdma.c523 struct dma_device dma_device; member
2164 dma_cap_mask_t mask = sdma->dma_device.cap_mask; in sdma_xlate()
2253 dma_cap_set(DMA_SLAVE, sdma->dma_device.cap_mask); in sdma_probe()
2254 dma_cap_set(DMA_CYCLIC, sdma->dma_device.cap_mask); in sdma_probe()
2255 dma_cap_set(DMA_MEMCPY, sdma->dma_device.cap_mask); in sdma_probe()
2256 dma_cap_set(DMA_PRIVATE, sdma->dma_device.cap_mask); in sdma_probe()
2258 INIT_LIST_HEAD(&sdma->dma_device.channels); in sdma_probe()
2276 vchan_init(&sdmac->vc, &sdma->dma_device); in sdma_probe()
2290 sdma->dma_device 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()
/kernel/linux/linux-5.10/include/linux/
H A Ddmaengine.h330 struct dma_device *device;
359 * @dev_id: parent dma_device dev_id
425 * callback in the dma_device structure, device_config and this struct
769 * struct dma_device - info on the entity supplying DMA services
844 struct dma_device { struct
933 void (*device_release)(struct dma_device *dev);
936 void (*dbg_summary_show)(struct seq_file *s, struct dma_device *dev);
1210 static inline bool is_dma_copy_aligned(struct dma_device *dev, size_t off1, in is_dma_copy_aligned()
1216 static inline bool is_dma_xor_aligned(struct dma_device *dev, size_t off1, in is_dma_xor_aligned()
1222 static inline bool is_dma_pq_aligned(struct dma_device *de
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Ddmaengine.h329 struct dma_device *device;
358 * @dev_id: parent dma_device dev_id
360 * compared to the parent dma_device
428 * callback in the dma_device structure, device_config and this struct
775 * struct dma_device - info on the entity supplying DMA services
854 struct dma_device { struct
941 void (*device_release)(struct dma_device *dev);
943 void (*dbg_summary_show)(struct seq_file *s, struct dma_device *dev);
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 *de
[all...]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/dma/dw-edma/
H A Ddw-edma-core.h113 struct dma_device wr_edma;
116 struct dma_device rd_edma;
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/drivers/dma/hsu/
H A Dhsu.h115 struct dma_device dma;
122 static inline struct hsu_dma *to_hsu_dma(struct dma_device *ddev) in to_hsu_dma()
/kernel/linux/linux-5.10/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, bu in mlx5_fpga_conn_unmap_buf()
[all...]
/kernel/linux/linux-6.6/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, bu in mlx5_fpga_conn_unmap_buf()
[all...]

Completed in 31 milliseconds

1234567891011