Home
last modified time | relevance | path

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

12345

/Linux-v4.19/drivers/dma/
Dmxs-dma.c141 struct dma_device dma_device; member
385 dev_dbg(mxs_dma->dma_device.dev, in mxs_dma_int_handler()
419 mxs_chan->ccw = dma_zalloc_coherent(mxs_dma->dma_device.dev, in mxs_dma_alloc_chan_resources()
449 dma_free_coherent(mxs_dma->dma_device.dev, CCW_BLOCK_SIZE, in mxs_dma_alloc_chan_resources()
464 dma_free_coherent(mxs_dma->dma_device.dev, CCW_BLOCK_SIZE, in mxs_dma_free_chan_resources()
510 dev_err(mxs_dma->dma_device.dev, in mxs_dma_prep_slave_sg()
553 dev_err(mxs_dma->dma_device.dev, "maximum bytes for sg entry exceeded: %d > %d\n", in mxs_dma_prep_slave_sg()
608 dev_err(mxs_dma->dma_device.dev, in mxs_dma_prep_dma_cyclic()
615 dev_err(mxs_dma->dma_device.dev, in mxs_dma_prep_dma_cyclic()
730 if (mxs_dma->dma_device.dev->of_node != param->of_node) in mxs_dma_filter_fn()
[all …]
Dst_fdma.c180 if (fdev->dma_device.dev->of_node != dma_spec->np) in st_fdma_of_xlate()
189 chan = dma_get_any_slave_channel(&fdev->dma_device); in st_fdma_of_xlate()
802 INIT_LIST_HEAD(&fdev->dma_device.channels); in st_fdma_probe()
808 vchan_init(&fchan->vchan, &fdev->dma_device); in st_fdma_probe()
814 dma_cap_set(DMA_SLAVE, fdev->dma_device.cap_mask); in st_fdma_probe()
815 dma_cap_set(DMA_CYCLIC, fdev->dma_device.cap_mask); in st_fdma_probe()
816 dma_cap_set(DMA_MEMCPY, fdev->dma_device.cap_mask); in st_fdma_probe()
818 fdev->dma_device.dev = &pdev->dev; in st_fdma_probe()
819 fdev->dma_device.device_alloc_chan_resources = st_fdma_alloc_chan_res; in st_fdma_probe()
820 fdev->dma_device.device_free_chan_resources = st_fdma_free_chan_res; in st_fdma_probe()
[all …]
Dimx-dma.c176 struct dma_device dma_device; member
1039 return dma_request_channel(imxdma->dma_device.cap_mask, in imxdma_xlate()
1122 INIT_LIST_HEAD(&imxdma->dma_device.channels); in imxdma_probe()
1124 dma_cap_set(DMA_SLAVE, imxdma->dma_device.cap_mask); in imxdma_probe()
1125 dma_cap_set(DMA_CYCLIC, imxdma->dma_device.cap_mask); in imxdma_probe()
1126 dma_cap_set(DMA_MEMCPY, imxdma->dma_device.cap_mask); in imxdma_probe()
1127 dma_cap_set(DMA_INTERLEAVE, imxdma->dma_device.cap_mask); in imxdma_probe()
1161 imxdmac->chan.device = &imxdma->dma_device; in imxdma_probe()
1167 &imxdma->dma_device.channels); in imxdma_probe()
1170 imxdma->dma_device.dev = &pdev->dev; in imxdma_probe()
[all …]
Ddmaengine.c181 __dma_device_satisfies_mask(struct dma_device *device, in __dma_device_satisfies_mask()
368 struct dma_device *device; in dma_issue_pending_all()
404 struct dma_device *device; in min_chan()
445 struct dma_device *device; in dma_channel_rebalance()
475 struct dma_device *device; in dma_get_slave_caps()
510 struct dma_device *dev, in private_candidate()
546 static struct dma_chan *find_candidate(struct dma_device *device, in find_candidate()
595 struct dma_device *device = chan->device; in dma_get_slave_channel()
618 struct dma_chan *dma_get_any_slave_channel(struct dma_device *device) in dma_get_any_slave_channel()
648 struct dma_device *device, *_d; in __dma_request_channel()
[all …]
Dimx-sdma.c429 struct dma_device dma_device; member
1885 dma_cap_mask_t mask = sdma->dma_device.cap_mask; in sdma_xlate()
1989 dma_cap_set(DMA_SLAVE, sdma->dma_device.cap_mask); in sdma_probe()
1990 dma_cap_set(DMA_CYCLIC, sdma->dma_device.cap_mask); in sdma_probe()
1991 dma_cap_set(DMA_MEMCPY, sdma->dma_device.cap_mask); in sdma_probe()
1993 INIT_LIST_HEAD(&sdma->dma_device.channels); in sdma_probe()
2008 vchan_init(&sdmac->vc, &sdma->dma_device); in sdma_probe()
2045 sdma->dma_device.dev = &pdev->dev; in sdma_probe()
2047 sdma->dma_device.device_alloc_chan_resources = sdma_alloc_chan_resources; in sdma_probe()
2048 sdma->dma_device.device_free_chan_resources = sdma_free_chan_resources; in sdma_probe()
[all …]
Ddma-jz4780.c139 struct dma_device dma_device; member
169 dma_device); in jz4780_dma_chan_parent()
701 if (jzdma->dma_device.dev->of_node != data->of_node) in jz4780_dma_filter_fn()
720 dma_cap_mask_t mask = jzdma->dma_device.cap_mask; in jz4780_of_dma_xlate()
732 dev_err(jzdma->dma_device.dev, in jz4780_of_dma_xlate()
740 dev_err(jzdma->dma_device.dev, in jz4780_of_dma_xlate()
760 struct dma_device *dd; in jz4780_dma_probe()
808 dd = &jzdma->dma_device; in jz4780_dma_probe()
890 dma_async_device_unregister(&jzdma->dma_device); in jz4780_dma_remove()
Didma64.h187 struct dma_device dma;
196 static inline struct idma64 *to_idma64(struct dma_device *ddev) in to_idma64()
Dst_fdma.h137 struct dma_device dma_device; member
Dat_hdmac_regs.h330 struct dma_device dma_common;
348 static inline struct at_dma *to_at_dma(struct dma_device *ddev) in to_at_dma()
/Linux-v4.19/include/linux/
Ddmaengine.h266 struct dma_device *device;
734 struct dma_device { struct
1054 static inline bool is_dma_copy_aligned(struct dma_device *dev, size_t off1, in is_dma_copy_aligned()
1060 static inline bool is_dma_xor_aligned(struct dma_device *dev, size_t off1, in is_dma_xor_aligned()
1066 static inline bool is_dma_pq_aligned(struct dma_device *dev, size_t off1, in is_dma_pq_aligned()
1072 static inline bool is_dma_fill_aligned(struct dma_device *dev, size_t off1, in is_dma_fill_aligned()
1079 dma_set_maxpq(struct dma_device *dma, int maxpq, int has_pq_continue) in dma_set_maxpq()
1098 static inline bool dma_dev_has_pq_continue(struct dma_device *dma) in dma_dev_has_pq_continue()
1103 static inline unsigned short dma_dev_to_maxpq(struct dma_device *dma) in dma_dev_to_maxpq()
1121 static inline int dma_maxpq(struct dma_device *dma, enum dma_ctrl_flags flags) in dma_maxpq()
[all …]
Dshdma-base.h110 struct dma_device dma_dev;
/Linux-v4.19/drivers/dma/ioat/
Dsysfs.c31 struct dma_device *dma = c->device; in cap_show()
45 struct dma_device *dma = c->device; in version_show()
89 struct dma_device *dma = &ioat_dma->dma_dev; in ioat_kobject_add()
110 struct dma_device *dma = &ioat_dma->dma_dev; in ioat_kobject_del()
Dinit.c314 struct dma_device *dma = &ioat_dma->dma_dev; in ioat_dma_self_test()
505 struct dma_device *dma = &ioat_dma->dma_dev; in ioat_probe()
561 struct dma_device *dma = &ioat_dma->dma_dev; in ioat_dma_remove()
582 struct dma_device *dma = &ioat_dma->dma_dev; in ioat_enumerate_channels()
752 struct dma_device *dma = &ioat_dma->dma_dev; in ioat_init_channel()
786 struct dma_device *dma = &ioat_dma->dma_dev; in ioat_xor_val_self_test()
1048 struct dma_device *dma; in ioat_intr_quirk()
1076 struct dma_device *dma; in ioat3_dma_probe()
/Linux-v4.19/drivers/dma/hsu/
Dhsu.h114 struct dma_device dma;
121 static inline struct hsu_dma *to_hsu_dma(struct dma_device *ddev) in to_hsu_dma()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dconn.c51 struct device *dma_device; in mlx5_fpga_conn_map_buf() local
57 dma_device = &conn->fdev->mdev->pdev->dev; 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 = &conn->fdev->mdev->pdev->dev; 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-v4.19/crypto/async_tx/
Dasync_tx.c82 struct dma_device *device = chan->device; in async_tx_channel_switch()
237 struct dma_device *device; in async_trigger_callback()
Dasync_xor.c39 struct dma_device *dma = chan->device; in do_async_xor()
179 struct dma_device *device = chan ? chan->device : NULL; in async_xor()
274 struct dma_device *device = chan ? chan->device : NULL; in async_xor_val()
Dasync_pq.c58 struct dma_device *dma = chan->device; in do_async_gen_syndrome()
186 struct dma_device *device = chan ? chan->device : NULL; in async_gen_syndrome()
302 struct dma_device *device = chan ? chan->device : NULL; in async_syndrome_val()
Dasync_memcpy.c51 struct dma_device *device = chan ? chan->device : NULL; in async_memcpy()
/Linux-v4.19/drivers/infiniband/hw/hns/
Dhns_roce_db.c73 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-v4.19/arch/arm/include/asm/hardware/
Diop_adma.h46 struct dma_device common;
/Linux-v4.19/include/rdma/
Dib_verbs.h2249 struct device *dma_device; member
3543 return dma_mapping_error(dev->dma_device, dma_addr); in ib_dma_mapping_error()
3557 return dma_map_single(dev->dma_device, cpu_addr, size, direction); in ib_dma_map_single()
3571 dma_unmap_single(dev->dma_device, addr, size, direction); in ib_dma_unmap_single()
3588 return dma_map_page(dev->dma_device, page, offset, size, direction); in ib_dma_map_page()
3602 dma_unmap_page(dev->dma_device, addr, size, direction); in ib_dma_unmap_page()
3616 return dma_map_sg(dev->dma_device, sg, nents, direction); in ib_dma_map_sg()
3630 dma_unmap_sg(dev->dma_device, sg, nents, direction); in ib_dma_unmap_sg()
3638 return dma_map_sg_attrs(dev->dma_device, sg, nents, direction, in ib_dma_map_sg_attrs()
3647 dma_unmap_sg_attrs(dev->dma_device, sg, nents, direction, dma_attrs); in ib_dma_unmap_sg_attrs()
[all …]
/Linux-v4.19/drivers/dma/dw/
Dregs.h300 struct dma_device dma;
335 static inline struct dw_dma *to_dw_dma(struct dma_device *ddev) in to_dw_dma()
/Linux-v4.19/drivers/dma/ppc4xx/
Dadma.h73 struct dma_device common;
/Linux-v4.19/drivers/dma/ipu/
Dipu_intern.h149 struct dma_device dma;

12345