Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/dma/
Dmxs-dma.c145 struct dma_device dma_device; member
390 dev_dbg(mxs_dma->dma_device.dev, in mxs_dma_int_handler()
424 mxs_chan->ccw = dma_zalloc_coherent(mxs_dma->dma_device.dev, in mxs_dma_alloc_chan_resources()
456 dma_free_coherent(mxs_dma->dma_device.dev, CCW_BLOCK_SIZE, in mxs_dma_alloc_chan_resources()
471 dma_free_coherent(mxs_dma->dma_device.dev, CCW_BLOCK_SIZE, in mxs_dma_free_chan_resources()
517 dev_err(mxs_dma->dma_device.dev, in mxs_dma_prep_slave_sg()
560 dev_err(mxs_dma->dma_device.dev, "maximum bytes for sg entry exceeded: %d > %d\n", in mxs_dma_prep_slave_sg()
615 dev_err(mxs_dma->dma_device.dev, in mxs_dma_prep_dma_cyclic()
622 dev_err(mxs_dma->dma_device.dev, in mxs_dma_prep_dma_cyclic()
737 if (mxs_dma->dma_device.dev->of_node != param->of_node) in mxs_dma_filter_fn()
[all …]
Dimx-dma.c181 struct dma_device dma_device; member
1046 return dma_request_channel(imxdma->dma_device.cap_mask, in imxdma_xlate()
1123 INIT_LIST_HEAD(&imxdma->dma_device.channels); in imxdma_probe()
1125 dma_cap_set(DMA_SLAVE, imxdma->dma_device.cap_mask); in imxdma_probe()
1126 dma_cap_set(DMA_CYCLIC, imxdma->dma_device.cap_mask); in imxdma_probe()
1127 dma_cap_set(DMA_MEMCPY, imxdma->dma_device.cap_mask); in imxdma_probe()
1128 dma_cap_set(DMA_INTERLEAVE, imxdma->dma_device.cap_mask); in imxdma_probe()
1162 imxdmac->chan.device = &imxdma->dma_device; in imxdma_probe()
1168 &imxdma->dma_device.channels); in imxdma_probe()
1171 imxdma->dma_device.dev = &pdev->dev; in imxdma_probe()
[all …]
Dimx-sdma.c324 struct dma_device dma_device; member
1438 dma_cap_mask_t mask = sdma->dma_device.cap_mask; in sdma_xlate()
1523 dma_cap_set(DMA_SLAVE, sdma->dma_device.cap_mask); in sdma_probe()
1524 dma_cap_set(DMA_CYCLIC, sdma->dma_device.cap_mask); in sdma_probe()
1526 INIT_LIST_HEAD(&sdma->dma_device.channels); in sdma_probe()
1534 sdmac->chan.device = &sdma->dma_device; in sdma_probe()
1547 &sdma->dma_device.channels); in sdma_probe()
1580 sdma->dma_device.dev = &pdev->dev; in sdma_probe()
1582 sdma->dma_device.device_alloc_chan_resources = sdma_alloc_chan_resources; in sdma_probe()
1583 sdma->dma_device.device_free_chan_resources = sdma_free_chan_resources; in sdma_probe()
[all …]
Ddmaengine.c182 __dma_device_satisfies_mask(struct dma_device *device, in __dma_device_satisfies_mask()
359 struct dma_device *device; in dma_issue_pending_all()
395 struct dma_device *device; in min_chan()
436 struct dma_device *device; in dma_channel_rebalance()
466 struct dma_device *device; in dma_get_slave_caps()
502 struct dma_device *dev, in private_candidate()
564 struct dma_chan *dma_get_any_slave_channel(struct dma_device *device) in dma_get_any_slave_channel()
607 struct dma_device *device, *_d; in __dma_request_channel()
707 struct dma_device *device, *_d; in dmaengine_get()
745 struct dma_device *device; in dmaengine_put()
[all …]
Ddma-jz4780.c139 struct dma_device dma_device; member
168 dma_device); in jz4780_dma_chan_parent()
692 dma_cap_mask_t mask = jzdma->dma_device.cap_mask; in jz4780_of_dma_xlate()
703 dev_err(jzdma->dma_device.dev, in jz4780_of_dma_xlate()
711 dev_err(jzdma->dma_device.dev, in jz4780_of_dma_xlate()
726 struct dma_device *dd; in jz4780_dma_probe()
771 dd = &jzdma->dma_device; in jz4780_dma_probe()
844 dma_async_device_unregister(&jzdma->dma_device); in jz4780_dma_remove()
Dat_hdmac_regs.h321 struct dma_device dma_common;
338 static inline struct at_dma *to_at_dma(struct dma_device *ddev) in to_at_dma()
Dvirt-dma.h45 void vchan_init(struct virt_dma_chan *vc, struct dma_device *dmadev);
Dvirt-dma.c106 void vchan_init(struct virt_dma_chan *vc, struct dma_device *dmadev) in vchan_init()
Dof-dma.c243 struct dma_device *dev = ofdma->of_dma_data; in of_dma_xlate_by_chan_id()
Dmv_xor.h113 struct dma_device dmadev;
Dedma.c122 struct dma_device dma_slave;
128 static inline struct edma_cc *to_edma_cc(struct dma_device *d) in to_edma_cc()
958 struct dma_device *dma, in edma_chan_init()
982 static void edma_dma_init(struct edma_cc *ecc, struct dma_device *dma, in edma_dma_init()
Dfsl_raid.h258 struct dma_device dma_dev;
Dtxx9dmac.h165 struct dma_device dma;
Dfsldma.h124 struct dma_device common;
Dmic_x100_dma.h143 struct dma_device dma_dev;
Ds3c24xx-dma.c243 struct dma_device slave;
244 struct dma_device memcpy;
1094 struct dma_device *dmadev, unsigned int channels, bool slave) in s3c24xx_dma_init_virtual_channels()
1140 static void s3c24xx_dma_free_virtual_channels(struct dma_device *dmadev) in s3c24xx_dma_free_virtual_channels()
Dsa11x0-dma.c122 struct dma_device slave;
135 static struct sa11x0_dma_dev *to_sa11x0_dma(struct dma_device *dmadev) in to_sa11x0_dma()
826 static int sa11x0_dma_init_dmadev(struct dma_device *dmadev, in sa11x0_dma_init_dmadev()
881 static void sa11x0_dma_free_channels(struct dma_device *dmadev) in sa11x0_dma_free_channels()
Ddmatest.c214 struct dma_device *device) in dmatest_match_device()
407 struct dma_device *dev; in dmatest_func()
791 struct dma_device *dma_dev = chan->device; in dmatest_add_channel()
Ddma-jz4740.c127 struct dma_device ddev;
512 struct dma_device *dd; in jz4740_dma_probe()
Dmoxart-dma.c149 struct dma_device dma_slave;
507 static void moxart_dma_init(struct dma_device *dma, struct device *dev) in moxart_dma_init()
Dbcm2835-dma.c49 struct dma_device ddev;
127 static inline struct bcm2835_dmadev *to_bcm2835_dma_dev(struct dma_device *d) in to_bcm2835_dma_dev()
Dmmp_tdma.c137 struct dma_device device;
586 struct dma_device *pdma_device = tdmac->chan.device; in mmp_tdma_filter_fn()
Dnbpfaxi.c226 struct dma_device dma_dev;
1234 struct dma_device *dma_dev = &nbpf->dma_dev; in nbpf_chan_probe()
1284 struct dma_device *dma_dev; in nbpf_probe()
Dsirf-dma.c84 struct dma_device dma;
647 struct dma_device *dma; in sirfsoc_dma_probe()
Dfsl_raid.c638 struct dma_device *dma_dev; in fsl_re_chan_probe()
762 struct dma_device *dma_dev; in fsl_re_probe()
Damba-pl08x.c262 struct dma_device slave;
263 struct dma_device memcpy;
1884 struct dma_device *dmadev, unsigned int channels, bool slave) in pl08x_dma_init_virtual_channels()
1931 static void pl08x_free_virtual_channels(struct dma_device *dmadev) in pl08x_free_virtual_channels()
Dmpc512x_dma.c224 struct dma_device dma;
868 struct dma_device *dma; in mpc_dma_probe()
Dep93xx_dma.c201 struct dma_device dma_dev;
1277 struct dma_device *dma_dev; in ep93xx_dma_probe()
Dsun6i-dma.c152 struct dma_device slave;
172 static inline struct sun6i_dma_dev *to_sun6i_dma_dev(struct dma_device *d) in to_sun6i_dma_dev()
Dpch_dma.c128 struct dma_device dma;
160 static inline struct pch_dma *to_pd(struct dma_device *ddev) in to_pd()
Dxgene-dma.c350 struct dma_device dma_dev[XGENE_DMA_MAX_CHANNEL];
1745 struct dma_device *dma_dev) in xgene_dma_set_caps()
1797 struct dma_device *dma_dev = &pdma->dma_dev[id]; in xgene_dma_async_register()
Domap-dma.c26 struct dma_device ddev;
161 static inline struct omap_dmadev *to_omap_dma_dev(struct dma_device *d) in to_omap_dma_dev()
Dste_dma40.c576 struct dma_device dma_both;
577 struct dma_device dma_slave;
578 struct dma_device dma_memcpy;
2811 static void __init d40_chan_init(struct d40_base *base, struct dma_device *dma, in d40_chan_init()
2844 static void d40_ops_init(struct d40_base *base, struct dma_device *dev) in d40_ops_init()
Dcoh901318.c1285 struct dma_device dma_slave;
1286 struct dma_device dma_memcpy;
2598 static void coh901318_base_init(struct dma_device *dma, const int *pick_chans, in coh901318_base_init()
Dtimb_dma.c100 struct dma_device dma;
Dat_xdmac.c219 struct dma_device dma;
276 static inline struct at_xdmac *to_at_xdmac(struct dma_device *ddev) in to_at_xdmac()
Dimg-mdc-dma.c136 struct dma_device dma_dev;
Dk3dma.c96 struct dma_device slave;
Dqcom_bam_dma.c383 struct dma_device common;
Dmmp_pdma.c130 struct dma_device device;
Dcppi41.c130 struct dma_device ddev;
Dfsl-edma.c165 struct dma_device dma_dev;
Dpl330.c452 struct dma_device ddma;
2775 struct dma_device *pd; in pl330_probe()
Dmv_xor.c978 struct dma_device *dma_dev; in mv_xor_channel_add()
Dtegra20-apb-dma.c217 struct dma_device dma_dev;
Diop-adma.c1283 struct dma_device *dma_dev; in iop_adma_probe()
/linux-4.1.27/drivers/infiniband/hw/ehca/
Dehca_tools.h72 dev_printk(KERN_DEBUG, (ib_dev)->dma_device, \
79 dev_info((ib_dev)->dma_device, "PU%04x EHCA_INFO:%s " format "\n", \
83 dev_warn((ib_dev)->dma_device, "PU%04x EHCA_WARN:%s " format "\n", \
87 dev_err((ib_dev)->dma_device, "PU%04x EHCA_ERR:%s " format "\n", \
Dehca_main.c467 shca->ib_device.dma_device = &shca->ofdev->dev; in ehca_init_device()
Dehca_mrmw.c2541 dma_sync_single_for_cpu(dev->dma_device, addr, size, dir); in ehca_dma_sync_single_for_cpu()
2548 dma_sync_single_for_device(dev->dma_device, addr, size, dir); in ehca_dma_sync_single_for_device()
/linux-4.1.27/include/linux/
Ddmaengine.h238 struct dma_device *device;
611 struct dma_device { struct
805 static inline bool is_dma_copy_aligned(struct dma_device *dev, size_t off1, in is_dma_copy_aligned()
811 static inline bool is_dma_xor_aligned(struct dma_device *dev, size_t off1, in is_dma_xor_aligned()
817 static inline bool is_dma_pq_aligned(struct dma_device *dev, size_t off1, in is_dma_pq_aligned()
824 dma_set_maxpq(struct dma_device *dma, int maxpq, int has_pq_continue) in dma_set_maxpq()
843 static inline bool dma_dev_has_pq_continue(struct dma_device *dma) in dma_dev_has_pq_continue()
848 static inline unsigned short dma_dev_to_maxpq(struct dma_device *dma) in dma_dev_to_maxpq()
866 static inline int dma_maxpq(struct dma_device *dma, enum dma_ctrl_flags flags) in dma_maxpq()
1084 int dma_async_device_register(struct dma_device *device);
[all …]
Dshdma-base.h110 struct dma_device dma_dev;
Drio.h280 struct dma_device dma;
447 static inline struct rio_mport *dma_to_mport(struct dma_device *ddev) in dma_to_mport()
Dasync_tx.h105 struct dma_device *dma = chan->device; in async_tx_issue_pending()
/linux-4.1.27/drivers/dma/hsu/
Dhsu.h110 struct dma_device dma;
116 static inline struct hsu_dma *to_hsu_dma(struct dma_device *ddev) in to_hsu_dma()
/linux-4.1.27/include/rdma/
Dib_verbs.h1478 struct device *dma_device; member
2147 return dma_mapping_error(dev->dma_device, dma_addr); in ib_dma_mapping_error()
2163 return dma_map_single(dev->dma_device, cpu_addr, size, direction); in ib_dma_map_single()
2180 dma_unmap_single(dev->dma_device, addr, size, direction); in ib_dma_unmap_single()
2188 return dma_map_single_attrs(dev->dma_device, cpu_addr, size, in ib_dma_map_single_attrs()
2197 return dma_unmap_single_attrs(dev->dma_device, addr, size, in ib_dma_unmap_single_attrs()
2217 return dma_map_page(dev->dma_device, page, offset, size, direction); in ib_dma_map_page()
2234 dma_unmap_page(dev->dma_device, addr, size, direction); in ib_dma_unmap_page()
2250 return dma_map_sg(dev->dma_device, sg, nents, direction); in ib_dma_map_sg()
2267 dma_unmap_sg(dev->dma_device, sg, nents, direction); in ib_dma_unmap_sg()
[all …]
/linux-4.1.27/drivers/dma/ioat/
Ddma.c102 struct dma_device *dma = &device->common; in ioat_init_channel()
130 struct dma_device *dma = &device->common; in ioat1_enumerate_channels()
820 struct dma_device *dma = &device->common; in ioat_dma_self_test()
1015 struct dma_device *dma = &device->common; in ioat_probe()
1112 struct dma_device *dma = c->device; in cap_show()
1126 struct dma_device *dma = c->device; in version_show()
1167 struct dma_device *dma = &device->common; in ioat_kobject_add()
1187 struct dma_device *dma = &device->common; in ioat_kobject_del()
1203 struct dma_device *dma; in ioat1_dma_probe()
1234 struct dma_device *dma = &device->common; in ioat_dma_remove()
Ddma.h81 struct dma_device common;
Ddma_v2.c371 struct dma_device *dma = &device->common; in ioat2_enumerate_channels()
879 struct dma_device *dma; in ioat2_dma_probe()
Ddma_v3.c1234 struct dma_device *dma = &device->common; in ioat_xor_val_self_test()
1580 struct dma_device *dma; in ioat3_intr_quirk()
1608 struct dma_device *dma; in ioat3_dma_probe()
/linux-4.1.27/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.c56 struct dma_device *dma = chan->device; in do_async_gen_syndrome()
185 struct dma_device *device = chan ? chan->device : NULL; in async_gen_syndrome()
301 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()
Dasync_raid6_recov.c37 struct dma_device *dma = chan ? chan->device : NULL; in async_sum_product()
102 struct dma_device *dma = chan ? chan->device : NULL; in async_mult()
/linux-4.1.27/arch/arm/include/asm/hardware/
Diop_adma.h46 struct dma_device common;
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx5/core/
Dalloc.c137 static struct mlx5_db_pgdir *mlx5_alloc_db_pgdir(struct device *dma_device) in mlx5_alloc_db_pgdir() argument
146 pgdir->db_page = dma_alloc_coherent(dma_device, PAGE_SIZE, in mlx5_alloc_db_pgdir()
/linux-4.1.27/drivers/dma/dw/
Dregs.h276 struct dma_device dma;
306 static inline struct dw_dma *to_dw_dma(struct dma_device *ddev) in to_dw_dma()
/linux-4.1.27/drivers/infiniband/ulp/ipoib/
Dipoib_ethtool.c53 strlcpy(drvinfo->bus_info, dev_name(priv->ca->dma_device), in ipoib_get_drvinfo()
Dipoib_main.c1577 SET_NETDEV_DEV(priv->dev, hca->dma_device); in ipoib_add_port()
/linux-4.1.27/drivers/dma/ppc4xx/
Dadma.h73 struct dma_device common;
/linux-4.1.27/drivers/dma/ipu/
Dipu_intern.h149 struct dma_device dma;
Dipu_idmac.c1615 struct dma_device *dma = &idmac->dma; in ipu_idmac_init()
/linux-4.1.27/drivers/dma/sh/
Dsudmac.c338 struct dma_device *dma_dev; in sudmac_probe()
401 struct dma_device *dma_dev = &su_dev->shdma_dev.dma_dev; in sudmac_remove()
Dusb-dmac.c101 struct dma_device engine;
769 struct dma_device *engine; in usb_dmac_probe()
Dshdmac.c698 struct dma_device *dma_dev; in sh_dmae_probe()
913 struct dma_device *dma_dev = &shdev->shdma_dev.dma_dev; in sh_dmae_remove()
Drcar-hpbdma.c541 struct dma_device *dma_dev; in hpb_dmae_probe()
Drcar-dmac.c179 struct dma_device engine;
1597 struct dma_device *engine; in rcar_dmac_probe()
Dshdma-base.c995 struct dma_device *dma_dev = &sdev->dma_dev; in shdma_init()
/linux-4.1.27/arch/sh/kernel/cpu/sh4a/
Dsetup-sh7722.c170 struct platform_device dma_device = { variable
497 &dma_device,
/linux-4.1.27/Documentation/dmaengine/
Dprovider.txt102 struct dma_device Initialization
107 framework. In our case, that structure is dma_device.
150 Our dma_device structure has a field called cap_mask that holds the
238 Our dma_device structure also requires a few function pointers in
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Den_main.c251 mdev->dma_device = &dev->persist->pdev->dev; in mlx4_en_add()
Dalloc.c679 static struct mlx4_db_pgdir *mlx4_alloc_db_pgdir(struct device *dma_device, in mlx4_alloc_db_pgdir() argument
691 pgdir->db_page = dma_alloc_coherent(dma_device, PAGE_SIZE, in mlx4_alloc_db_pgdir()
Dmlx4_en.h399 struct device *dma_device; member
/linux-4.1.27/net/rds/
Dib.h189 #define ibdev_to_node(ibdev) dev_to_node(ibdev->dma_device)
/linux-4.1.27/drivers/infiniband/hw/mlx5/
Dmr.c756 struct device *ddev = dev->ib_dev.dma_device; in reg_umr()
851 struct device *ddev = dev->ib_dev.dma_device; in mlx5_ib_update_mtt()
1400 mfrpl->mapped_page_list = dma_alloc_coherent(ibdev->dma_device, in mlx5_ib_alloc_fast_reg_page_list()
Dmain.c1215 dev->ib_dev.dma_device = &mdev->pdev->dev; in mlx5_ib_add()
/linux-4.1.27/drivers/infiniband/hw/usnic/
Dusnic_ib_main.c338 us_ibdev->ib_dev.dma_device = &dev->dev; in usnic_ib_device_add()
/linux-4.1.27/drivers/infiniband/hw/ocrdma/
Docrdma_main.c286 dev->ibdev.dma_device = &dev->nic_info.pdev->dev; in ocrdma_register_device()
/linux-4.1.27/drivers/infiniband/core/
Duser_mad.c1185 port->dev = device_create(umad_class, device->dma_device, in ib_umad_init_port()
1204 port->sm_dev = device_create(umad_class, device->dma_device, in ib_umad_init_port()
Dsysfs.c844 class_dev->parent = device->dma_device; in ib_device_register_sysfs()
Duverbs_main.c938 uverbs_dev->dev = device_create(uverbs_class, device->dma_device, in ib_uverbs_add_one()
Ducm.c1292 ucm_dev->dev.parent = device->dma_device; in ib_ucm_add_one()
/linux-4.1.27/drivers/infiniband/ulp/iser/
Discsi_iser.c648 ib_conn->device->ib_device->dma_device)) { in iscsi_iser_session_create()
/linux-4.1.27/Documentation/crypto/
Dasync-tx-api.txt213 2/ Since capabilities are specified at the device level a dma_device
/linux-4.1.27/drivers/infiniband/hw/mlx4/
Dmlx4_ib.h58 dev_warn((ibdev)->dma_device, MLX4_IB_DRV_NAME ": " format, ## arg)
Dmain.c2169 ibdev->ib_dev.dma_device = &dev->persist->pdev->dev; in mlx4_ib_add()
/linux-4.1.27/drivers/infiniband/hw/cxgb4/
Dprovider.c506 dev->ibdev.dma_device = &(dev->rdev.lldi.pdev->dev); in c4iw_register_device()
/linux-4.1.27/drivers/ntb/
Dntb_transport.c1059 struct dma_device *device; in ntb_async_rx()
1277 struct dma_device *device; in ntb_async_tx()
/linux-4.1.27/drivers/infiniband/hw/amso1100/
Dc2_provider.c801 dev->ibdev.dma_device = &dev->pcidev->dev; in c2_register_device()
/linux-4.1.27/drivers/rapidio/devices/
Dtsi721_dma.c55 static inline struct tsi721_device *to_tsi721(struct dma_device *ddev) in to_tsi721()
/linux-4.1.27/drivers/dma/xilinx/
Dxilinx_vdma.c246 struct dma_device common;
/linux-4.1.27/drivers/mtd/nand/
Dfsmc_nand.c559 struct dma_device *dma_dev; in dma_xfer()
Datmel_nand.c350 struct dma_device *dma_dev; in atmel_nand_dma_op()
/linux-4.1.27/drivers/media/platform/
Dm2m-deinterlace.c231 struct dma_device *dmadev = chan->device; in deinterlace_issue_dma()
/linux-4.1.27/sound/pci/mixart/
Dmixart.c957 subs->dma_device.id = subs->pcm->device << 16 | in preallocate_buffers()
/linux-4.1.27/drivers/infiniband/hw/mthca/
Dmthca_provider.c1281 dev->ib_dev.dma_device = &dev->pdev->dev; in mthca_register_device()
/linux-4.1.27/drivers/mmc/host/
Dmmci.c581 struct dma_device *device; in __mmci_dma_prep_data()
/linux-4.1.27/drivers/infiniband/ulp/srp/
Dib_srp.c2780 if (scsi_add_host(target->scsi_host, host->srp_dev->dev->dma_device)) in srp_add_target()
3365 host->dev.parent = device->dev->dma_device; in srp_add_port()
/linux-4.1.27/drivers/infiniband/hw/cxgb3/
Diwch_provider.c1385 dev->ibdev.dma_device = &(dev->rdev.rnic_info.pdev->dev); in iwch_register_device()
/linux-4.1.27/drivers/tty/serial/
Damba-pl011.c468 struct dma_device *dma_dev = chan->device; in pl011_dma_tx_refill()
/linux-4.1.27/drivers/infiniband/hw/ipath/
Dipath_verbs.c2139 dev->dma_device = &dd->pcidev->dev; in ipath_register_ib_device()
/linux-4.1.27/drivers/infiniband/hw/qib/
Dqib_verbs.c2190 ibdev->dma_device = &dd->pcidev->dev; in qib_register_ib_device()
/linux-4.1.27/drivers/infiniband/hw/nes/
Dnes_verbs.c3878 nesibdev->ibdev.dma_device = &nesdev->pcidev->dev; in nes_init_ofa_device()