/linux-4.4.14/drivers/dma/ |
H A D | mxs-dma.c | 145 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 D | imx-dma.c | 181 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 D | imx-sdma.c | 379 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 D | dmaengine.c | 30 * 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 D | dma-jz4780.c | 139 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 D | idma64.h | 186 struct dma_device dma; 195 static inline struct idma64 *to_idma64(struct dma_device *ddev) to_idma64()
|
H A D | virt-dma.c | 106 void vchan_init(struct virt_dma_chan *vc, struct dma_device *dmadev) vchan_init()
|
H A D | virt-dma.h | 45 void vchan_init(struct virt_dma_chan *vc, struct dma_device *dmadev);
|
H A D | at_hdmac_regs.h | 320 * @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 D | of-dma.c | 325 * 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 D | bcm2835-dma.c | 50 struct dma_device ddev; 133 static inline struct bcm2835_dmadev *to_bcm2835_dma_dev(struct dma_device *d) to_bcm2835_dma_dev()
|
H A D | dma-jz4740.c | 127 struct dma_device ddev; 512 struct dma_device *dd; jz4740_dma_probe()
|
H A D | mmp_tdma.c | 136 struct dma_device device; 585 struct dma_device *pdma_device = tdmac->chan.device; mmp_tdma_filter_fn()
|
H A D | moxart-dma.c | 149 struct dma_device dma_slave; 507 static void moxart_dma_init(struct dma_device *dma, struct device *dev) moxart_dma_init()
|
H A D | fsl_raid.h | 258 struct dma_device dma_dev;
|
H A D | fsldma.h | 124 struct dma_device common;
|
H A D | mic_x100_dma.h | 143 struct dma_device dma_dev;
|
H A D | mv_xor.h | 121 struct dma_device dmadev;
|
H A D | s3c24xx-dma.c | 243 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 D | sa11x0-dma.c | 122 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 D | txx9dmac.h | 165 struct dma_device dma;
|
H A D | dma-axi-dmac.c | 120 struct dma_device dma_dev; 565 struct dma_device *dma_dev; axi_dmac_probe()
|
H A D | pch_dma.c | 124 struct dma_device dma; 156 static inline struct pch_dma *to_pd(struct dma_device *ddev) to_pd()
|
H A D | ste_dma40.c | 535 * @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 D | dmatest.c | 214 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 D | edma.c | 245 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 D | nbpfaxi.c | 226 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 D | xgene-dma.c | 308 * @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 D | ep93xx_dma.c | 201 struct dma_device dma_dev; 1277 struct dma_device *dma_dev; ep93xx_dma_probe()
|
H A D | fsl_raid.c | 638 struct dma_device *dma_dev; fsl_re_chan_probe() 762 struct dma_device *dma_dev; fsl_re_probe()
|
H A D | mpc512x_dma.c | 224 struct dma_device dma; 868 struct dma_device *dma; mpc_dma_probe()
|
H A D | omap-dma.c | 29 struct dma_device ddev; 165 static inline struct omap_dmadev *to_omap_dma_dev(struct dma_device *d) to_omap_dma_dev()
|
H A D | sirf-dma.c | 120 struct dma_device dma; 847 struct dma_device *dma; sirfsoc_dma_probe()
|
H A D | sun4i-dma.c | 167 struct dma_device slave; 176 static struct sun4i_dma_dev *to_sun4i_dma_dev(struct dma_device *dev) to_sun4i_dma_dev()
|
H A D | sun6i-dma.c | 152 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 D | coh901318.c | 1285 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 D | amba-pl08x.c | 264 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 D | cppi41.c | 130 struct dma_device ddev;
|
H A D | img-mdc-dma.c | 136 struct dma_device dma_dev;
|
H A D | k3dma.c | 95 struct dma_device slave;
|
H A D | timb_dma.c | 96 struct dma_device dma;
|
H A D | zx296702_dma.c | 121 struct dma_device slave;
|
H A D | pxa_dma.c | 123 struct dma_device slave; 1259 static void pxad_free_channels(struct dma_device *dmadev) pxad_free_channels()
|
H A D | at_xdmac.c | 219 struct dma_device dma; 280 static inline struct at_xdmac *to_at_xdmac(struct dma_device *ddev) to_at_xdmac()
|
H A D | fsl-edma.c | 165 struct dma_device dma_dev;
|
H A D | iop-adma.c | 1283 struct dma_device *dma_dev; iop_adma_probe()
|
H A D | mmp_pdma.c | 129 struct dma_device device;
|
H A D | mv_xor.c | 976 struct dma_device *dma_dev; mv_xor_channel_add()
|
H A D | qcom_bam_dma.c | 383 struct dma_device common;
|
H A D | pl330.c | 452 struct dma_device ddma; 2780 struct dma_device *pd; pl330_probe()
|
H A D | tegra20-apb-dma.c | 214 struct dma_device dma_dev;
|
/linux-4.4.14/drivers/dma/ioat/ |
H A D | sysfs.c | 31 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 D | init.c | 314 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 D | dma.h | 68 * @dma_dev: embedded struct dma_device 83 struct dma_device dma_dev;
|
/linux-4.4.14/drivers/staging/rdma/ehca/ |
H A D | ehca_tools.h | 72 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 D | ehca_mrmw.c | 2541 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 D | ehca_main.c | 486 shca->ib_device.dma_device = &shca->ofdev->dev; ehca_init_device()
|
/linux-4.4.14/drivers/dma/hsu/ |
H A D | hsu.h | 109 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 D | dmaengine.h | 263 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 D | shdma-base.h | 110 struct dma_device dma_dev;
|
H A D | async_tx.h | 105 struct dma_device *dma = chan->device; async_tx_issue_pending()
|
H A D | rio.h | 280 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 D | iop_adma.h | 39 * @common: embedded struct dma_device 46 struct dma_device common;
|
/linux-4.4.14/crypto/async_tx/ |
H A D | async_xor.c | 39 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 D | async_memcpy.c | 51 struct dma_device *device = chan ? chan->device : NULL; async_memcpy()
|
H A D | async_tx.c | 82 struct dma_device *device = chan->device; async_tx_channel_switch() 237 struct dma_device *device; async_trigger_callback()
|
H A D | async_pq.c | 56 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 D | async_raid6_recov.c | 37 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 D | ipoib_ethtool.c | 53 strlcpy(drvinfo->bus_info, dev_name(priv->ca->dma_device), ipoib_get_drvinfo()
|
H A D | ipoib_main.c | 1825 SET_NETDEV_DEV(priv->dev, hca->dma_device); ipoib_add_port()
|
/linux-4.4.14/drivers/dma/dw/ |
H A D | regs.h | 276 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 D | adma.h | 60 * @common: embedded struct dma_device 73 struct dma_device common;
|
/linux-4.4.14/drivers/infiniband/hw/mlx4/ |
H A D | mr.c | 291 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 D | mlx4_ib.h | 58 dev_warn((ibdev)->dma_device, MLX4_IB_DRV_NAME ": " format, ## arg)
|
H A D | main.c | 2196 ibdev->ib_dev.dma_device = &dev->persist->pdev->dev; mlx4_ib_add()
|
/linux-4.4.14/drivers/dma/ipu/ |
H A D | ipu_intern.h | 149 struct dma_device dma;
|
H A D | ipu_idmac.c | 1615 struct dma_device *dma = &idmac->dma; ipu_idmac_init()
|
/linux-4.4.14/include/rdma/ |
H A D | ib_verbs.h | 1580 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 D | sudmac.c | 338 struct dma_device *dma_dev; sudmac_probe() 401 struct dma_device *dma_dev = &su_dev->shdma_dev.dma_dev; sudmac_remove()
|
H A D | shdmac.c | 698 struct dma_device *dma_dev; sh_dmae_probe() 913 struct dma_device *dma_dev = &shdev->shdma_dev.dma_dev; sh_dmae_remove()
|
H A D | usb-dmac.c | 101 struct dma_device engine; 772 struct dma_device *engine; usb_dmac_probe()
|
H A D | rcar-hpbdma.c | 541 struct dma_device *dma_dev; hpb_dmae_probe()
|
H A D | shdma-base.c | 963 /* reference struct dma_device */ shdma_chan_probe() 995 struct dma_device *dma_dev = &sdev->dma_dev; shdma_init()
|
H A D | rcar-dmac.c | 179 struct dma_device engine; 1602 struct dma_device *engine; rcar_dmac_probe()
|
/linux-4.4.14/drivers/infiniband/hw/mlx5/ |
H A D | mr.c | 764 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 D | main.c | 1360 dev->ib_dev.dma_device = &mdev->pdev->dev; mlx5_ib_add()
|
/linux-4.4.14/arch/powerpc/platforms/512x/ |
H A D | mpc512x_lpbfifo.c | 166 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 D | setup-sh7722.c | 170 struct platform_device dma_device = { variable in typeref:struct:platform_device 497 &dma_device,
|
/linux-4.4.14/drivers/misc/mic/scif/ |
H A D | scif_dma.c | 449 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 D | scif_fence.c | 207 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 D | alloc.c | 679 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 D | en_main.c | 290 mdev->dma_device = &dev->persist->pdev->dev; mlx4_en_add()
|
H A D | mlx4_en.h | 400 struct device *dma_device; member in struct:mlx4_en_dev
|
/linux-4.4.14/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_main.c | 189 dev->ibdev.dma_device = &dev->nic_info.pdev->dev; ocrdma_register_device()
|
/linux-4.4.14/net/rds/ |
H A D | ib.h | 225 #define ibdev_to_node(ibdev) dev_to_node(ibdev->dma_device)
|
/linux-4.4.14/drivers/infiniband/core/ |
H A D | user_mad.c | 1190 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 D | sysfs.c | 820 device->dev.parent = device->dma_device; ib_device_register_sysfs()
|
H A D | ucm.c | 1290 ucm_dev->dev.parent = device->dma_device; ib_ucm_add_one()
|
H A D | uverbs_main.c | 1126 uverbs_dev->dev = device_create(uverbs_class, device->dma_device, ib_uverbs_add_one()
|
/linux-4.4.14/drivers/staging/rdma/amso1100/ |
H A D | c2_provider.c | 830 dev->ibdev.dma_device = &dev->pcidev->dev; c2_register_device()
|
/linux-4.4.14/drivers/rapidio/devices/ |
H A D | tsi721_dma.c | 55 static inline struct tsi721_device *to_tsi721(struct dma_device *ddev) to_tsi721()
|
/linux-4.4.14/drivers/infiniband/hw/cxgb4/ |
H A D | provider.c | 531 dev->ibdev.dma_device = &(dev->rdev.lldi.pdev->dev); c4iw_register_device()
|
/linux-4.4.14/drivers/infiniband/hw/usnic/ |
H A D | usnic_ib_main.c | 368 us_ibdev->ib_dev.dma_device = &dev->dev; usnic_ib_device_add()
|
/linux-4.4.14/drivers/ntb/ |
H A D | ntb_transport.c | 1226 struct dma_device *device; ntb_async_rx() 1455 struct dma_device *device; ntb_async_tx()
|
/linux-4.4.14/drivers/mtd/nand/ |
H A D | fsmc_nand.c | 559 struct dma_device *dma_dev; dma_xfer()
|
H A D | atmel_nand.c | 350 struct dma_device *dma_dev; atmel_nand_dma_op()
|
/linux-4.4.14/drivers/infiniband/hw/mthca/ |
H A D | mthca_provider.c | 1307 dev->ib_dev.dma_device = &dev->pdev->dev; mthca_register_device()
|
/linux-4.4.14/drivers/media/platform/ |
H A D | m2m-deinterlace.c | 231 struct dma_device *dmadev = chan->device; deinterlace_issue_dma()
|
/linux-4.4.14/drivers/infiniband/ulp/iser/ |
H A D | iscsi_iser.c | 664 ib_conn->device->ib_device->dma_device)) { iscsi_iser_session_create()
|
/linux-4.4.14/drivers/dma/xilinx/ |
H A D | xilinx_vdma.c | 246 struct dma_device common;
|
/linux-4.4.14/sound/pci/mixart/ |
H A D | mixart.c | 957 subs->dma_device.id = subs->pcm->device << 16 | preallocate_buffers()
|
/linux-4.4.14/drivers/infiniband/ulp/srp/ |
H A D | ib_srp.c | 2835 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 D | mmci.c | 581 struct dma_device *device; __mmci_dma_prep_data()
|
/linux-4.4.14/drivers/infiniband/hw/cxgb3/ |
H A D | iwch_provider.c | 1435 dev->ibdev.dma_device = &(dev->rdev.rnic_info.pdev->dev); iwch_register_device()
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
H A D | verbs.c | 2034 ibdev->dma_device = &dd->pcidev->dev; hfi1_register_ib_device()
|
H A D | mad.c | 4175 dev_err(ibdev->dma_device, "invalid in_mad_size\n"); hfi1_process_mad()
|
/linux-4.4.14/drivers/staging/rdma/ipath/ |
H A D | ipath_verbs.c | 2173 dev->dma_device = &dd->pcidev->dev; ipath_register_ib_device()
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
H A D | qib_verbs.c | 2227 ibdev->dma_device = &dd->pcidev->dev; qib_register_ib_device()
|
/linux-4.4.14/drivers/tty/serial/ |
H A D | amba-pl011.c | 481 struct dma_device *dma_dev = chan->device; pl011_dma_tx_refill()
|
/linux-4.4.14/drivers/infiniband/hw/nes/ |
H A D | nes_verbs.c | 3870 nesibdev->ibdev.dma_device = &nesdev->pcidev->dev; nes_init_ofa_device()
|