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

/linux-4.4.14/drivers/dma/
H A Dmxs-dma.c145 struct dma_device dma_device; member in struct:mxs_dma_engine
390 dev_dbg(mxs_dma->dma_device.dev, mxs_dma_int_handler()
424 mxs_chan->ccw = dma_zalloc_coherent(mxs_dma->dma_device.dev, mxs_dma_alloc_chan_resources()
456 dma_free_coherent(mxs_dma->dma_device.dev, CCW_BLOCK_SIZE, mxs_dma_alloc_chan_resources()
471 dma_free_coherent(mxs_dma->dma_device.dev, CCW_BLOCK_SIZE, mxs_dma_free_chan_resources()
517 dev_err(mxs_dma->dma_device.dev, mxs_dma_prep_slave_sg()
560 dev_err(mxs_dma->dma_device.dev, "maximum bytes for sg entry exceeded: %d > %d\n", for_each_sg()
615 dev_err(mxs_dma->dma_device.dev, mxs_dma_prep_dma_cyclic()
622 dev_err(mxs_dma->dma_device.dev, mxs_dma_prep_dma_cyclic()
737 if (mxs_dma->dma_device.dev->of_node != param->of_node) mxs_dma_filter_fn()
756 dma_cap_mask_t mask = mxs_dma->dma_device.cap_mask; mxs_dma_xlate()
810 dma_cap_set(DMA_SLAVE, mxs_dma->dma_device.cap_mask); mxs_dma_probe()
811 dma_cap_set(DMA_CYCLIC, mxs_dma->dma_device.cap_mask); mxs_dma_probe()
813 INIT_LIST_HEAD(&mxs_dma->dma_device.channels); mxs_dma_probe()
820 mxs_chan->chan.device = &mxs_dma->dma_device; mxs_dma_probe()
829 &mxs_dma->dma_device.channels); mxs_dma_probe()
837 mxs_dma->dma_device.dev = &pdev->dev; mxs_dma_probe()
840 mxs_dma->dma_device.dev->dma_parms = &mxs_dma->dma_parms; mxs_dma_probe()
841 dma_set_max_seg_size(mxs_dma->dma_device.dev, MAX_XFER_BYTES); mxs_dma_probe()
843 mxs_dma->dma_device.device_alloc_chan_resources = mxs_dma_alloc_chan_resources; mxs_dma_probe()
844 mxs_dma->dma_device.device_free_chan_resources = mxs_dma_free_chan_resources; mxs_dma_probe()
845 mxs_dma->dma_device.device_tx_status = mxs_dma_tx_status; mxs_dma_probe()
846 mxs_dma->dma_device.device_prep_slave_sg = mxs_dma_prep_slave_sg; mxs_dma_probe()
847 mxs_dma->dma_device.device_prep_dma_cyclic = mxs_dma_prep_dma_cyclic; mxs_dma_probe()
848 mxs_dma->dma_device.device_pause = mxs_dma_pause_chan; mxs_dma_probe()
849 mxs_dma->dma_device.device_resume = mxs_dma_resume_chan; mxs_dma_probe()
850 mxs_dma->dma_device.device_terminate_all = mxs_dma_terminate_all; mxs_dma_probe()
851 mxs_dma->dma_device.src_addr_widths = BIT(DMA_SLAVE_BUSWIDTH_4_BYTES); mxs_dma_probe()
852 mxs_dma->dma_device.dst_addr_widths = BIT(DMA_SLAVE_BUSWIDTH_4_BYTES); mxs_dma_probe()
853 mxs_dma->dma_device.directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV); mxs_dma_probe()
854 mxs_dma->dma_device.residue_granularity = DMA_RESIDUE_GRANULARITY_BURST; mxs_dma_probe()
855 mxs_dma->dma_device.device_issue_pending = mxs_dma_enable_chan; mxs_dma_probe()
857 ret = dma_async_device_register(&mxs_dma->dma_device); mxs_dma_probe()
859 dev_err(mxs_dma->dma_device.dev, "unable to register\n"); mxs_dma_probe()
865 dev_err(mxs_dma->dma_device.dev, mxs_dma_probe()
867 dma_async_device_unregister(&mxs_dma->dma_device); mxs_dma_probe()
870 dev_info(mxs_dma->dma_device.dev, "initialized\n"); mxs_dma_probe()
H A Dimx-dma.c181 struct dma_device dma_device; member in struct:imxdma_engine
1046 return dma_request_channel(imxdma->dma_device.cap_mask, imxdma_xlate()
1127 INIT_LIST_HEAD(&imxdma->dma_device.channels); imxdma_probe()
1129 dma_cap_set(DMA_SLAVE, imxdma->dma_device.cap_mask); imxdma_probe()
1130 dma_cap_set(DMA_CYCLIC, imxdma->dma_device.cap_mask); imxdma_probe()
1131 dma_cap_set(DMA_MEMCPY, imxdma->dma_device.cap_mask); imxdma_probe()
1132 dma_cap_set(DMA_INTERLEAVE, imxdma->dma_device.cap_mask); imxdma_probe()
1166 imxdmac->chan.device = &imxdma->dma_device; imxdma_probe()
1172 &imxdma->dma_device.channels); imxdma_probe()
1175 imxdma->dma_device.dev = &pdev->dev; imxdma_probe()
1177 imxdma->dma_device.device_alloc_chan_resources = imxdma_alloc_chan_resources; imxdma_probe()
1178 imxdma->dma_device.device_free_chan_resources = imxdma_free_chan_resources; imxdma_probe()
1179 imxdma->dma_device.device_tx_status = imxdma_tx_status; imxdma_probe()
1180 imxdma->dma_device.device_prep_slave_sg = imxdma_prep_slave_sg; imxdma_probe()
1181 imxdma->dma_device.device_prep_dma_cyclic = imxdma_prep_dma_cyclic; imxdma_probe()
1182 imxdma->dma_device.device_prep_dma_memcpy = imxdma_prep_dma_memcpy; imxdma_probe()
1183 imxdma->dma_device.device_prep_interleaved_dma = imxdma_prep_dma_interleaved; imxdma_probe()
1184 imxdma->dma_device.device_config = imxdma_config; imxdma_probe()
1185 imxdma->dma_device.device_terminate_all = imxdma_terminate_all; imxdma_probe()
1186 imxdma->dma_device.device_issue_pending = imxdma_issue_pending; imxdma_probe()
1190 imxdma->dma_device.copy_align = DMAENGINE_ALIGN_4_BYTES; imxdma_probe()
1191 imxdma->dma_device.dev->dma_parms = &imxdma->dma_parms; imxdma_probe()
1192 dma_set_max_seg_size(imxdma->dma_device.dev, 0xffffff); imxdma_probe()
1194 ret = dma_async_device_register(&imxdma->dma_device); imxdma_probe()
1212 dma_async_device_unregister(&imxdma->dma_device); imxdma_probe()
1224 dma_async_device_unregister(&imxdma->dma_device); imxdma_remove()
H A Dimx-sdma.c379 struct dma_device dma_device; member in struct:sdma_engine
1632 dma_cap_mask_t mask = sdma->dma_device.cap_mask; sdma_xlate()
1727 dma_cap_set(DMA_SLAVE, sdma->dma_device.cap_mask); sdma_probe()
1728 dma_cap_set(DMA_CYCLIC, sdma->dma_device.cap_mask); sdma_probe()
1730 INIT_LIST_HEAD(&sdma->dma_device.channels); sdma_probe()
1738 sdmac->chan.device = &sdma->dma_device; sdma_probe()
1751 &sdma->dma_device.channels); sdma_probe()
1788 sdma->dma_device.dev = &pdev->dev; sdma_probe()
1790 sdma->dma_device.device_alloc_chan_resources = sdma_alloc_chan_resources; sdma_probe()
1791 sdma->dma_device.device_free_chan_resources = sdma_free_chan_resources; sdma_probe()
1792 sdma->dma_device.device_tx_status = sdma_tx_status; sdma_probe()
1793 sdma->dma_device.device_prep_slave_sg = sdma_prep_slave_sg; sdma_probe()
1794 sdma->dma_device.device_prep_dma_cyclic = sdma_prep_dma_cyclic; sdma_probe()
1795 sdma->dma_device.device_config = sdma_config; sdma_probe()
1796 sdma->dma_device.device_terminate_all = sdma_disable_channel; sdma_probe()
1797 sdma->dma_device.src_addr_widths = BIT(DMA_SLAVE_BUSWIDTH_4_BYTES); sdma_probe()
1798 sdma->dma_device.dst_addr_widths = BIT(DMA_SLAVE_BUSWIDTH_4_BYTES); sdma_probe()
1799 sdma->dma_device.directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV); sdma_probe()
1800 sdma->dma_device.residue_granularity = DMA_RESIDUE_GRANULARITY_BURST; sdma_probe()
1801 sdma->dma_device.device_issue_pending = sdma_issue_pending; sdma_probe()
1802 sdma->dma_device.dev->dma_parms = &sdma->dma_parms; sdma_probe()
1803 dma_set_max_seg_size(sdma->dma_device.dev, 65535); sdma_probe()
1807 ret = dma_async_device_register(&sdma->dma_device); sdma_probe()
1832 dma_async_device_unregister(&sdma->dma_device); sdma_probe()
1843 dma_async_device_unregister(&sdma->dma_device); sdma_remove()
H A Ddmaengine.c30 * The subsystem keeps a global list of dma_device structs it is protected by a
182 __dma_device_satisfies_mask(struct dma_device *device, __dma_device_satisfies_mask()
366 struct dma_device *device; dma_issue_pending_all()
402 struct dma_device *device; min_chan()
443 struct dma_device *device; dma_channel_rebalance()
473 struct dma_device *device; dma_get_slave_caps()
509 struct dma_device *dev, private_candidate()
557 struct dma_device *device = chan->device; dma_get_slave_channel()
579 struct dma_chan *dma_get_any_slave_channel(struct dma_device *device) dma_get_any_slave_channel()
622 struct dma_device *device, *_d; __dma_request_channel()
726 struct dma_device *device, *_d; dmaengine_get()
764 struct dma_device *device; dmaengine_put()
781 static bool device_has_all_tx_types(struct dma_device *device) device_has_all_tx_types()
820 static int get_dma_id(struct dma_device *device) get_dma_id()
836 * @device: &dma_device
838 int dma_async_device_register(struct dma_device *device) dma_async_device_register()
975 * @device: &dma_device
980 void dma_async_device_unregister(struct dma_device *device) dma_async_device_unregister()
H A Ddma-jz4780.c139 struct dma_device dma_device; member in struct:jz4780_dma_dev
169 dma_device); jz4780_dma_chan_parent()
690 if (jzdma->dma_device.dev->of_node != data->of_node) jz4780_dma_filter_fn()
709 dma_cap_mask_t mask = jzdma->dma_device.cap_mask; jz4780_of_dma_xlate()
721 dev_err(jzdma->dma_device.dev, jz4780_of_dma_xlate()
729 dev_err(jzdma->dma_device.dev, jz4780_of_dma_xlate()
749 struct dma_device *dd; jz4780_dma_probe()
797 dd = &jzdma->dma_device; jz4780_dma_probe()
878 dma_async_device_unregister(&jzdma->dma_device); jz4780_dma_remove()
H A Didma64.h186 struct dma_device dma;
195 static inline struct idma64 *to_idma64(struct dma_device *ddev) to_idma64()
H A Dvirt-dma.c106 void vchan_init(struct virt_dma_chan *vc, struct dma_device *dmadev) vchan_init()
H A Dvirt-dma.h45 void vchan_init(struct virt_dma_chan *vc, struct dma_device *dmadev);
H A Dat_hdmac_regs.h320 * @chan_common: common dmaengine dma_device object members
330 struct dma_device dma_common;
348 static inline struct at_dma *to_at_dma(struct dma_device *ddev) to_at_dma()
H A Dof-dma.c325 * dma_device struct the function should match upon.
332 struct dma_device *dev = ofdma->of_dma_data; of_dma_xlate_by_chan_id()
H A Dbcm2835-dma.c50 struct dma_device ddev;
133 static inline struct bcm2835_dmadev *to_bcm2835_dma_dev(struct dma_device *d) to_bcm2835_dma_dev()
H A Ddma-jz4740.c127 struct dma_device ddev;
512 struct dma_device *dd; jz4740_dma_probe()
H A Dmmp_tdma.c136 struct dma_device device;
585 struct dma_device *pdma_device = tdmac->chan.device; mmp_tdma_filter_fn()
H A Dmoxart-dma.c149 struct dma_device dma_slave;
507 static void moxart_dma_init(struct dma_device *dma, struct device *dev) moxart_dma_init()
H A Dfsl_raid.h258 struct dma_device dma_dev;
H A Dfsldma.h124 struct dma_device common;
H A Dmic_x100_dma.h143 struct dma_device dma_dev;
H A Dmv_xor.h121 struct dma_device dmadev;
H A Ds3c24xx-dma.c243 struct dma_device slave;
244 struct dma_device memcpy;
1094 struct dma_device *dmadev, unsigned int channels, bool slave) s3c24xx_dma_init_virtual_channels()
1140 static void s3c24xx_dma_free_virtual_channels(struct dma_device *dmadev) s3c24xx_dma_free_virtual_channels()
H A Dsa11x0-dma.c122 struct dma_device slave;
135 static struct sa11x0_dma_dev *to_sa11x0_dma(struct dma_device *dmadev) to_sa11x0_dma()
826 static int sa11x0_dma_init_dmadev(struct dma_device *dmadev, sa11x0_dma_init_dmadev()
881 static void sa11x0_dma_free_channels(struct dma_device *dmadev) sa11x0_dma_free_channels()
H A Dtxx9dmac.h165 struct dma_device dma;
H A Ddma-axi-dmac.c120 struct dma_device dma_dev;
565 struct dma_device *dma_dev; axi_dmac_probe()
H A Dpch_dma.c124 struct dma_device dma;
156 static inline struct pch_dma *to_pd(struct dma_device *ddev) to_pd()
H A Dste_dma40.c535 * @dma_both: dma_device channels that can do both memcpy and slave transfers.
536 * @dma_slave: dma_device channels that can do only do slave transfers.
537 * @dma_memcpy: dma_device channels that can do only do memcpy transfers.
576 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, d40_chan_init()
2844 static void d40_ops_init(struct d40_base *base, struct dma_device *dev) d40_ops_init()
H A Ddmatest.c214 struct dma_device *device) dmatest_match_device()
407 struct dma_device *dev; dmatest_func()
791 struct dma_device *dma_dev = chan->device; dmatest_add_channel()
H A Dedma.c245 struct dma_device dma_slave;
246 struct dma_device *dma_memcpy;
722 static inline struct edma_cc *to_edma_cc(struct dma_device *d) to_edma_cc()
1774 struct dma_device *s_ddev = &ecc->dma_slave; edma_dma_init()
1775 struct dma_device *m_ddev = NULL; edma_dma_init()
H A Dnbpfaxi.c226 struct dma_device dma_dev;
1234 struct dma_device *dma_dev = &nbpf->dma_dev; nbpf_chan_probe()
1284 struct dma_device *dma_dev; nbpf_probe()
H A Dxgene-dma.c308 * @dma_dev: embedded struct dma_device
320 struct dma_device dma_dev[XGENE_DMA_MAX_CHANNEL];
1652 struct dma_device *dma_dev) xgene_dma_set_caps()
1702 struct dma_device *dma_dev = &pdma->dma_dev[id]; xgene_dma_async_register()
H A Dep93xx_dma.c201 struct dma_device dma_dev;
1277 struct dma_device *dma_dev; ep93xx_dma_probe()
H A Dfsl_raid.c638 struct dma_device *dma_dev; fsl_re_chan_probe()
762 struct dma_device *dma_dev; fsl_re_probe()
H A Dmpc512x_dma.c224 struct dma_device dma;
868 struct dma_device *dma; mpc_dma_probe()
H A Domap-dma.c29 struct dma_device ddev;
165 static inline struct omap_dmadev *to_omap_dma_dev(struct dma_device *d) to_omap_dma_dev()
H A Dsirf-dma.c120 struct dma_device dma;
847 struct dma_device *dma; sirfsoc_dma_probe()
H A Dsun4i-dma.c167 struct dma_device slave;
176 static struct sun4i_dma_dev *to_sun4i_dma_dev(struct dma_device *dev) to_sun4i_dma_dev()
H A Dsun6i-dma.c152 struct dma_device slave;
172 static inline struct sun6i_dma_dev *to_sun6i_dma_dev(struct dma_device *d) to_sun6i_dma_dev()
H A 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, coh901318_base_init()
H A Damba-pl08x.c264 struct dma_device slave;
265 struct dma_device memcpy;
1886 struct dma_device *dmadev, unsigned int channels, bool slave) pl08x_dma_init_virtual_channels()
1933 static void pl08x_free_virtual_channels(struct dma_device *dmadev) pl08x_free_virtual_channels()
H A Dcppi41.c130 struct dma_device ddev;
H A Dimg-mdc-dma.c136 struct dma_device dma_dev;
H A Dk3dma.c95 struct dma_device slave;
H A Dtimb_dma.c96 struct dma_device dma;
H A Dzx296702_dma.c121 struct dma_device slave;
H A Dpxa_dma.c123 struct dma_device slave;
1259 static void pxad_free_channels(struct dma_device *dmadev) pxad_free_channels()
H A Dat_xdmac.c219 struct dma_device dma;
280 static inline struct at_xdmac *to_at_xdmac(struct dma_device *ddev) to_at_xdmac()
H A Dfsl-edma.c165 struct dma_device dma_dev;
H A Diop-adma.c1283 struct dma_device *dma_dev; iop_adma_probe()
H A Dmmp_pdma.c129 struct dma_device device;
H A Dmv_xor.c976 struct dma_device *dma_dev; mv_xor_channel_add()
H A Dqcom_bam_dma.c383 struct dma_device common;
H A Dpl330.c452 struct dma_device ddma;
2780 struct dma_device *pd; pl330_probe()
H A Dtegra20-apb-dma.c214 struct dma_device dma_dev;
/linux-4.4.14/drivers/dma/ioat/
H A Dsysfs.c31 struct dma_device *dma = c->device; cap_show()
45 struct dma_device *dma = c->device; version_show()
73 struct dma_device *dma = &ioat_dma->dma_dev; ioat_kobject_add()
94 struct dma_device *dma = &ioat_dma->dma_dev; ioat_kobject_del()
H A Dinit.c314 struct dma_device *dma = &ioat_dma->dma_dev; ioat_dma_self_test()
503 struct dma_device *dma = &ioat_dma->dma_dev; ioat_probe()
571 struct dma_device *dma = &ioat_dma->dma_dev; ioat_dma_remove()
593 struct dma_device *dma = &ioat_dma->dma_dev; ioat_enumerate_channels()
755 struct dma_device *dma = &ioat_dma->dma_dev; ioat_init_channel()
791 struct dma_device *dma = &ioat_dma->dma_dev; ioat_xor_val_self_test()
1055 struct dma_device *dma; ioat_intr_quirk()
1083 struct dma_device *dma; ioat3_dma_probe()
H A Ddma.h68 * @dma_dev: embedded struct dma_device
83 struct dma_device dma_dev;
/linux-4.4.14/drivers/staging/rdma/ehca/
H A 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", \
H A Dehca_mrmw.c2541 dma_sync_single_for_cpu(dev->dma_device, addr, size, dir); ehca_dma_sync_single_for_cpu()
2548 dma_sync_single_for_device(dev->dma_device, addr, size, dir); ehca_dma_sync_single_for_device()
H A Dehca_main.c486 shca->ib_device.dma_device = &shca->ofdev->dev; ehca_init_device()
/linux-4.4.14/drivers/dma/hsu/
H A Dhsu.h109 struct dma_device dma;
116 static inline struct hsu_dma *to_hsu_dma(struct dma_device *ddev) to_hsu_dma()
/linux-4.4.14/include/linux/
H A Ddmaengine.h263 struct dma_device *device;
287 * @dev_id: parent dma_device dev_id
288 * @idr_ref: reference count to gate release of dma_device dev_id
349 * callback in the dma_device structure, device_config and this struct
610 * struct dma_device - info on the entity supplying DMA services
663 struct dma_device { struct
879 static inline bool is_dma_copy_aligned(struct dma_device *dev, size_t off1, is_dma_copy_aligned()
885 static inline bool is_dma_xor_aligned(struct dma_device *dev, size_t off1, is_dma_xor_aligned()
891 static inline bool is_dma_pq_aligned(struct dma_device *dev, size_t off1, is_dma_pq_aligned()
897 static inline bool is_dma_fill_aligned(struct dma_device *dev, size_t off1, is_dma_fill_aligned()
904 dma_set_maxpq(struct dma_device *dma, int maxpq, int has_pq_continue) dma_set_maxpq()
923 static inline bool dma_dev_has_pq_continue(struct dma_device *dma) dma_dev_has_pq_continue()
928 static inline unsigned short dma_dev_to_maxpq(struct dma_device *dma) dma_dev_to_maxpq()
946 static inline int dma_maxpq(struct dma_device *dma, enum dma_ctrl_flags flags) dma_maxpq()
1224 int dma_async_device_register(struct dma_device *device);
1225 void dma_async_device_unregister(struct dma_device *device);
1228 struct dma_chan *dma_get_any_slave_channel(struct dma_device *device);
H A Dshdma-base.h110 struct dma_device dma_dev;
H A Dasync_tx.h105 struct dma_device *dma = chan->device; async_tx_issue_pending()
H A Drio.h280 struct dma_device dma;
447 static inline struct rio_mport *dma_to_mport(struct dma_device *ddev) dma_to_mport()
/linux-4.4.14/arch/arm/include/asm/hardware/
H A Diop_adma.h39 * @common: embedded struct dma_device
46 struct dma_device common;
/linux-4.4.14/crypto/async_tx/
H A Dasync_xor.c39 struct dma_device *dma = chan->device; do_async_xor()
179 struct dma_device *device = chan ? chan->device : NULL; async_xor()
274 struct dma_device *device = chan ? chan->device : NULL; async_xor_val()
H A Dasync_memcpy.c51 struct dma_device *device = chan ? chan->device : NULL; async_memcpy()
H A Dasync_tx.c82 struct dma_device *device = chan->device; async_tx_channel_switch()
237 struct dma_device *device; async_trigger_callback()
H A Dasync_pq.c56 struct dma_device *dma = chan->device; do_async_gen_syndrome()
185 struct dma_device *device = chan ? chan->device : NULL; async_gen_syndrome()
301 struct dma_device *device = chan ? chan->device : NULL; async_syndrome_val()
H A Dasync_raid6_recov.c37 struct dma_device *dma = chan ? chan->device : NULL; async_sum_product()
102 struct dma_device *dma = chan ? chan->device : NULL; async_mult()
/linux-4.4.14/drivers/infiniband/ulp/ipoib/
H A Dipoib_ethtool.c53 strlcpy(drvinfo->bus_info, dev_name(priv->ca->dma_device), ipoib_get_drvinfo()
H A Dipoib_main.c1825 SET_NETDEV_DEV(priv->dev, hca->dma_device); ipoib_add_port()
/linux-4.4.14/drivers/dma/dw/
H A Dregs.h276 struct dma_device dma;
306 static inline struct dw_dma *to_dw_dma(struct dma_device *ddev) to_dw_dma()
/linux-4.4.14/drivers/dma/ppc4xx/
H A Dadma.h60 * @common: embedded struct dma_device
73 struct dma_device common;
/linux-4.4.14/drivers/infiniband/hw/mlx4/
H A Dmr.c291 mr->page_map = dma_map_single(device->dma_device, mr->pages, mlx4_alloc_priv_pages()
294 if (dma_mapping_error(device->dma_device, mr->page_map)) { mlx4_alloc_priv_pages()
313 dma_unmap_single(device->dma_device, mr->page_map, mlx4_free_priv_pages()
H A Dmlx4_ib.h58 dev_warn((ibdev)->dma_device, MLX4_IB_DRV_NAME ": " format, ## arg)
H A Dmain.c2196 ibdev->ib_dev.dma_device = &dev->persist->pdev->dev; mlx4_ib_add()
/linux-4.4.14/drivers/dma/ipu/
H A Dipu_intern.h149 struct dma_device dma;
H A Dipu_idmac.c1615 struct dma_device *dma = &idmac->dma; ipu_idmac_init()
/linux-4.4.14/include/rdma/
H A Dib_verbs.h1580 struct device *dma_device; member in struct:ib_device
2598 return dma_mapping_error(dev->dma_device, dma_addr); ib_dma_mapping_error()
2614 return dma_map_single(dev->dma_device, cpu_addr, size, direction); ib_dma_map_single()
2631 dma_unmap_single(dev->dma_device, addr, size, direction); ib_dma_unmap_single()
2639 return dma_map_single_attrs(dev->dma_device, cpu_addr, size, ib_dma_map_single_attrs()
2648 return dma_unmap_single_attrs(dev->dma_device, addr, size, ib_dma_unmap_single_attrs()
2668 return dma_map_page(dev->dma_device, page, offset, size, direction); ib_dma_map_page()
2685 dma_unmap_page(dev->dma_device, addr, size, direction); ib_dma_unmap_page()
2701 return dma_map_sg(dev->dma_device, sg, nents, direction); ib_dma_map_sg()
2718 dma_unmap_sg(dev->dma_device, sg, nents, direction); ib_dma_unmap_sg()
2726 return dma_map_sg_attrs(dev->dma_device, sg, nents, direction, attrs); ib_dma_map_sg_attrs()
2734 dma_unmap_sg_attrs(dev->dma_device, sg, nents, direction, attrs); ib_dma_unmap_sg_attrs()
2779 dma_sync_single_for_cpu(dev->dma_device, addr, size, dir); ib_dma_sync_single_for_cpu()
2797 dma_sync_single_for_device(dev->dma_device, addr, size, dir); ib_dma_sync_single_for_device()
2818 ret = dma_alloc_coherent(dev->dma_device, size, &handle, flag); ib_dma_alloc_coherent()
2838 dma_free_coherent(dev->dma_device, size, cpu_addr, dma_handle); ib_dma_free_coherent()
/linux-4.4.14/drivers/dma/sh/
H A Dsudmac.c338 struct dma_device *dma_dev; sudmac_probe()
401 struct dma_device *dma_dev = &su_dev->shdma_dev.dma_dev; sudmac_remove()
H A Dshdmac.c698 struct dma_device *dma_dev; sh_dmae_probe()
913 struct dma_device *dma_dev = &shdev->shdma_dev.dma_dev; sh_dmae_remove()
H A Dusb-dmac.c101 struct dma_device engine;
772 struct dma_device *engine; usb_dmac_probe()
H A Drcar-hpbdma.c541 struct dma_device *dma_dev; hpb_dmae_probe()
H A Dshdma-base.c963 /* reference struct dma_device */ shdma_chan_probe()
995 struct dma_device *dma_dev = &sdev->dma_dev; shdma_init()
H A Drcar-dmac.c179 struct dma_device engine;
1602 struct dma_device *engine; rcar_dmac_probe()
/linux-4.4.14/drivers/infiniband/hw/mlx5/
H A Dmr.c764 struct device *ddev = dev->ib_dev.dma_device; reg_umr()
860 struct device *ddev = dev->ib_dev.dma_device; mlx5_ib_update_mtt()
1186 mr->desc_map = dma_map_single(device->dma_device, mr->descs, mlx5_alloc_priv_descs()
1188 if (dma_mapping_error(device->dma_device, mr->desc_map)) { mlx5_alloc_priv_descs()
1207 dma_unmap_single(device->dma_device, mr->desc_map, mlx5_free_priv_descs()
H A Dmain.c1360 dev->ib_dev.dma_device = &mdev->pdev->dev; mlx5_ib_add()
/linux-4.4.14/arch/powerpc/platforms/512x/
H A Dmpc512x_lpbfifo.c166 struct dma_device *dma_dev = NULL; mpc512x_lpbfifo_kick()
502 struct dma_device *dma_dev = lpbfifo.chan->device; mpc512x_lpbfifo_remove()
/linux-4.4.14/arch/sh/kernel/cpu/sh4a/
H A Dsetup-sh7722.c170 struct platform_device dma_device = { variable in typeref:struct:platform_device
497 &dma_device,
/linux-4.4.14/drivers/misc/mic/scif/
H A Dscif_dma.c449 struct dma_device *ddev; scif_sync_dma()
511 struct dma_device *ddev; scif_async_dma()
914 struct dma_device *dev = chan->device; scif_rma_list_dma_copy_unaligned()
1137 struct dma_device *dev = chan->device; _scif_rma_list_dma_copy_aligned()
1257 struct dma_device *dev = chan->device; scif_rma_list_dma_copy_aligned()
H A Dscif_fence.c207 struct dma_device *ddev = chan->device; _scif_prog_signal()
586 struct dma_device *ddev = chan->device; _scif_fence_mark()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
H A Dalloc.c679 static struct mlx4_db_pgdir *mlx4_alloc_db_pgdir(struct device *dma_device, mlx4_alloc_db_pgdir() argument
691 pgdir->db_page = dma_alloc_coherent(dma_device, PAGE_SIZE, mlx4_alloc_db_pgdir()
H A Den_main.c290 mdev->dma_device = &dev->persist->pdev->dev; mlx4_en_add()
H A Dmlx4_en.h400 struct device *dma_device; member in struct:mlx4_en_dev
/linux-4.4.14/drivers/infiniband/hw/ocrdma/
H A Docrdma_main.c189 dev->ibdev.dma_device = &dev->nic_info.pdev->dev; ocrdma_register_device()
/linux-4.4.14/net/rds/
H A Dib.h225 #define ibdev_to_node(ibdev) dev_to_node(ibdev->dma_device)
/linux-4.4.14/drivers/infiniband/core/
H A Duser_mad.c1190 port->dev = device_create(umad_class, device->dma_device, ib_umad_init_port()
1209 port->sm_dev = device_create(umad_class, device->dma_device, ib_umad_init_port()
H A Dsysfs.c820 device->dev.parent = device->dma_device; ib_device_register_sysfs()
H A Ducm.c1290 ucm_dev->dev.parent = device->dma_device; ib_ucm_add_one()
H A Duverbs_main.c1126 uverbs_dev->dev = device_create(uverbs_class, device->dma_device, ib_uverbs_add_one()
/linux-4.4.14/drivers/staging/rdma/amso1100/
H A Dc2_provider.c830 dev->ibdev.dma_device = &dev->pcidev->dev; c2_register_device()
/linux-4.4.14/drivers/rapidio/devices/
H A Dtsi721_dma.c55 static inline struct tsi721_device *to_tsi721(struct dma_device *ddev) to_tsi721()
/linux-4.4.14/drivers/infiniband/hw/cxgb4/
H A Dprovider.c531 dev->ibdev.dma_device = &(dev->rdev.lldi.pdev->dev); c4iw_register_device()
/linux-4.4.14/drivers/infiniband/hw/usnic/
H A Dusnic_ib_main.c368 us_ibdev->ib_dev.dma_device = &dev->dev; usnic_ib_device_add()
/linux-4.4.14/drivers/ntb/
H A Dntb_transport.c1226 struct dma_device *device; ntb_async_rx()
1455 struct dma_device *device; ntb_async_tx()
/linux-4.4.14/drivers/mtd/nand/
H A Dfsmc_nand.c559 struct dma_device *dma_dev; dma_xfer()
H A Datmel_nand.c350 struct dma_device *dma_dev; atmel_nand_dma_op()
/linux-4.4.14/drivers/infiniband/hw/mthca/
H A Dmthca_provider.c1307 dev->ib_dev.dma_device = &dev->pdev->dev; mthca_register_device()
/linux-4.4.14/drivers/media/platform/
H A Dm2m-deinterlace.c231 struct dma_device *dmadev = chan->device; deinterlace_issue_dma()
/linux-4.4.14/drivers/infiniband/ulp/iser/
H A Discsi_iser.c664 ib_conn->device->ib_device->dma_device)) { iscsi_iser_session_create()
/linux-4.4.14/drivers/dma/xilinx/
H A Dxilinx_vdma.c246 struct dma_device common;
/linux-4.4.14/sound/pci/mixart/
H A Dmixart.c957 subs->dma_device.id = subs->pcm->device << 16 | preallocate_buffers()
/linux-4.4.14/drivers/infiniband/ulp/srp/
H A Dib_srp.c2835 if (scsi_add_host(target->scsi_host, host->srp_dev->dev->dma_device)) srp_add_target()
3416 host->dev.parent = device->dev->dma_device; srp_add_port()
/linux-4.4.14/drivers/mmc/host/
H A Dmmci.c581 struct dma_device *device; __mmci_dma_prep_data()
/linux-4.4.14/drivers/infiniband/hw/cxgb3/
H A Diwch_provider.c1435 dev->ibdev.dma_device = &(dev->rdev.rnic_info.pdev->dev); iwch_register_device()
/linux-4.4.14/drivers/staging/rdma/hfi1/
H A Dverbs.c2034 ibdev->dma_device = &dd->pcidev->dev; hfi1_register_ib_device()
H A Dmad.c4175 dev_err(ibdev->dma_device, "invalid in_mad_size\n"); hfi1_process_mad()
/linux-4.4.14/drivers/staging/rdma/ipath/
H A Dipath_verbs.c2173 dev->dma_device = &dd->pcidev->dev; ipath_register_ib_device()
/linux-4.4.14/drivers/infiniband/hw/qib/
H A Dqib_verbs.c2227 ibdev->dma_device = &dd->pcidev->dev; qib_register_ib_device()
/linux-4.4.14/drivers/tty/serial/
H A Damba-pl011.c481 struct dma_device *dma_dev = chan->device; pl011_dma_tx_refill()
/linux-4.4.14/drivers/infiniband/hw/nes/
H A Dnes_verbs.c3870 nesibdev->ibdev.dma_device = &nesdev->pcidev->dev; nes_init_ofa_device()

Completed in 4847 milliseconds