Home
last modified time | relevance | path

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

12345

/linux/drivers/dma/
H A Ddmaengine.c18 * The subsystem keeps a global list of dma_device structs it is protected by a
71 static void dmaengine_debug_register(struct dma_device *dma_dev) in dmaengine_debug_register()
79 static void dmaengine_debug_unregister(struct dma_device *dma_dev) in dmaengine_debug_unregister()
86 struct dma_device *dma_dev) in dmaengine_dbg_summary_show()
106 struct dma_device *dma_dev = NULL; in dmaengine_summary_show()
138 static inline int dmaengine_debug_register(struct dma_device *dma_dev) in dmaengine_debug_register()
143 static inline void dmaengine_debug_unregister(struct dma_device *dma_dev) { } in dmaengine_debug_unregister()
324 struct dma_device *device; in min_chan()
366 struct dma_device *device; in dma_channel_rebalance()
394 static int dma_device_satisfies_mask(struct dma_device *devic
[all...]
H 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()
804 fdev->dma_device.device_alloc_chan_resources = st_fdma_alloc_chan_res; in st_fdma_probe()
805 fdev->dma_device in st_fdma_probe()
[all...]
H A Dat_hdmac.c338 * @dma_device: dmaengine dma_device object members
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()
837 dev_vdbg(atdma->dma_device.dev, in at_dma_interrupt()
841 for (i = 0; i < atdma->dma_device.chancnt; i++) { in at_dma_interrupt()
1743 BUG_ON(!atslave->dma_dev || atslave->dma_dev != atdma->dma_device.dev); in atc_alloc_chan_resources()
1943 list_for_each_entry_safe(chan, _chan, &atdma->dma_device
[all...]
H A Dimx-dma.c176 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 in imxdma_probe()
[all...]
H A Ddmaengine.h183 struct dma_chan *dma_get_any_slave_channel(struct dma_device *device);
208 int dma_async_device_register(struct dma_device *device);
209 int dmaenginem_async_device_register(struct dma_device *device);
210 void dma_async_device_unregister(struct dma_device *device);
211 int dma_async_device_channel_register(struct dma_device *device,
214 void dma_async_device_channel_unregister(struct dma_device *device,
221 dmaengine_get_debugfs_root(struct dma_device *dma_dev) {
227 dmaengine_get_debugfs_root(struct dma_device *dma_dev)
H 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()
911 dd = &jzdma->dma_device; in jz4780_dma_probe()
H A Didma64.h184 struct dma_device dma;
193 static inline struct idma64 *to_idma64(struct dma_device *ddev) in to_idma64()
H A Dswitchtec_dma.c174 struct dma_device dma_dev;
843 struct dma_device *dma_dev = &swdma_dev->dma_dev; in switchtec_dma_chan_status_isr()
1072 struct dma_device *dma = &swdma_dev->dma_dev; in switchtec_dma_chan_init()
1200 struct dma_device *dma = &swdma_dev->dma_dev; in switchtec_dma_release()
1236 static void switchtec_dma_release(struct dma_device *dma_dev) in switchtec_dma_create()
1251 struct dma_device *dma; in switchtec_dma_create()
H A Dplx_dma.c104 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 Dmilbeaut-xdmac.c75 struct dma_device ddev;
314 struct dma_device *ddev; in milbeaut_xdmac_probe()
H A Duniphier-xdmac.c97 struct dma_device ddev;
485 struct dma_device *ddev; in uniphier_xdmac_probe()
568 struct dma_device *ddev = &xdev->ddev; in uniphier_xdmac_remove()
/linux/include/linux/
H A Ddmaengine.h342 struct dma_device *device;
404 * @dev_id: parent dma_device dev_id
406 * compared to the parent dma_device
474 * callback in the dma_device structure, device_config and this struct
823 * struct dma_device - info on the entity supplying DMA services
905 struct dma_device { argument
997 void (*device_release)(struct dma_device *dev); in dmaengine_prep_config_single()
999 void (*dbg_summary_show)(struct seq_file *s, struct dma_device *dev); in dmaengine_prep_config_single()
1545 static inline bool is_dma_copy_aligned(struct dma_device *dev, size_t off1, in async_tx_test_ack()
1551 static inline bool is_dma_xor_aligned(struct dma_device *de
877 struct dma_device { global() struct
878 refdma_device global() argument
879 chancntdma_device global() argument
880 privatecntdma_device global() argument
881 channelsdma_device global() argument
882 global_nodedma_device global() argument
883 filterdma_device global() argument
884 cap_maskdma_device global() argument
885 desc_metadata_modesdma_device global() argument
886 max_xordma_device global() argument
887 max_pqdma_device global() argument
888 copy_aligndma_device global() argument
889 xor_aligndma_device global() argument
890 pq_aligndma_device global() argument
891 fill_aligndma_device global() argument
894 dev_iddma_device global() argument
895 devdma_device global() argument
896 ownerdma_device global() argument
897 chan_idadma_device global() argument
899 src_addr_widthsdma_device global() argument
900 dst_addr_widthsdma_device global() argument
901 directionsdma_device global() argument
902 min_burstdma_device global() argument
903 max_burstdma_device global() argument
904 max_sg_burstdma_device global() argument
906 residue_granularitydma_device global() argument
908 device_alloc_chan_resourcesdma_device global() argument
909 device_router_configdma_device global() argument
910 device_free_chan_resourcesdma_device global() argument
912 device_prep_dma_memcpydma_device global() argument
915 device_prep_dma_xordma_device global() argument
918 device_prep_dma_xor_valdma_device global() argument
921 device_prep_dma_pqdma_device global() argument
925 device_prep_dma_pq_valdma_device global() argument
929 device_prep_dma_memsetdma_device global() argument
932 device_prep_dma_memset_sgdma_device global() argument
935 device_prep_dma_interruptdma_device global() argument
938 device_prep_peripheral_dma_vecdma_device global() argument
942 device_prep_slave_sgdma_device global() argument
969 device_releasedma_device global() argument
971 dbg_summary_showdma_device global() argument
972 dbg_dev_rootdma_device global() argument
[all...]
H A Drio.h291 struct dma_device dma;
516 static inline struct rio_mport *dma_to_mport(struct dma_device *ddev) in dma_to_mport()
/linux/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()
/linux/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...]
/linux/crypto/async_tx/
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()
H A Dasync_memcpy.c38 struct dma_device *device = chan ? chan->device : NULL; in async_memcpy()
/linux/drivers/dma/idxd/
H A Ddma.c190 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 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()
1320 static void release_ioatdma(struct dma_device *device) in release_ioatdma()
/linux/drivers/dma/sf-pdma/
H A Dsf-pdma.h113 struct dma_device dma_dev;
/linux/drivers/dma/dw/
H A Dregs.h314 struct dma_device dma;
363 static inline struct dw_dma *to_dw_dma(struct dma_device *ddev) in to_dw_dma()
/linux/drivers/dma/ppc4xx/
H A Dadma.h70 struct dma_device common;
/linux/drivers/dma/fsl-dpaa2-qdma/
H A Ddpaa2-qdma.h101 struct dma_device dma_dev;
/linux/drivers/dma/qcom/
H A Dhidma.c75 static inline struct hidma_dev *to_hidma_dev(struct dma_device *dmadev) in to_hidma_dev()
108 struct dma_device *ddev = mchan->chan.device; in hidma_process_completed()
167 struct dma_device *ddev = mchan->chan.device; in hidma_callback()
195 struct dma_device *ddev; in hidma_chan_init()
H A Dhidma.h124 struct dma_device ddev;

12345