Home
last modified time | relevance | path

Searched refs:dma_ops (Results 1 – 106 of 106) sorted by relevance

/linux-4.1.27/arch/powerpc/include/asm/
Ddma-mapping.h90 return dev->archdata.dma_ops; in get_dma_ops()
95 dev->archdata.dma_ops = ops; in set_dma_ops()
127 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_supported() local
129 if (unlikely(dma_ops == NULL)) in dma_supported()
131 if (dma_ops->dma_supported == NULL) in dma_supported()
133 return dma_ops->dma_supported(dev, mask); in dma_supported()
146 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_alloc_attrs() local
149 BUG_ON(!dma_ops); in dma_alloc_attrs()
151 cpu_addr = dma_ops->alloc(dev, size, dma_handle, flag, attrs); in dma_alloc_attrs()
164 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_free_attrs() local
[all …]
Ddevice.h23 struct dma_map_ops *dma_ops; member
Dpci.h58 extern void set_pci_dma_ops(struct dma_map_ops *dma_ops);
/linux-4.1.27/arch/tile/include/asm/
Ddma-mapping.h34 if (dev && dev->archdata.dma_ops) in get_dma_ops()
35 return dev->archdata.dma_ops; in get_dma_ops()
66 dev->archdata.dma_ops = ops; in set_dma_ops()
93 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_set_mask() local
101 if (dma_ops == gx_pci_dma_map_ops || in dma_set_mask()
102 dma_ops == gx_hybrid_pci_dma_map_ops || in dma_set_mask()
103 dma_ops == gx_legacy_pci_dma_map_ops) { in dma_set_mask()
105 dma_ops == gx_legacy_pci_dma_map_ops) in dma_set_mask()
123 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_alloc_attrs() local
126 cpu_addr = dma_ops->alloc(dev, size, dma_handle, flag, attrs); in dma_alloc_attrs()
[all …]
Ddevice.h21 struct dma_map_ops *dma_ops; member
/linux-4.1.27/arch/unicore32/include/asm/
Ddma-mapping.h35 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_supported() local
37 if (unlikely(dma_ops == NULL)) in dma_supported()
40 return dma_ops->dma_supported(dev, mask); in dma_supported()
45 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_mapping_error() local
47 if (dma_ops->mapping_error) in dma_mapping_error()
48 return dma_ops->mapping_error(dev, dma_addr); in dma_mapping_error()
91 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_alloc_attrs() local
93 return dma_ops->alloc(dev, size, dma_handle, flag, attrs); in dma_alloc_attrs()
102 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_free_attrs() local
104 dma_ops->free(dev, size, cpu_addr, dma_handle, attrs); in dma_free_attrs()
/linux-4.1.27/arch/hexagon/include/asm/
Ddma-mapping.h35 extern struct dma_map_ops *dma_ops;
45 return dma_ops; in get_dma_ops()
65 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_mapping_error() local
67 if (dma_ops->mapping_error) in dma_mapping_error()
68 return dma_ops->mapping_error(dev, dma_addr); in dma_mapping_error()
82 BUG_ON(!dma_ops); in dma_alloc_attrs()
97 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_free_attrs() local
99 BUG_ON(!dma_ops); in dma_free_attrs()
101 dma_ops->free(dev, size, cpu_addr, dma_handle, attrs); in dma_free_attrs()
/linux-4.1.27/arch/ia64/kernel/
Dpci-dma.c91 dma_ops = &intel_dma_ops; in pci_iommu_alloc()
93 dma_ops->sync_single_for_cpu = machvec_dma_sync_single; in pci_iommu_alloc()
94 dma_ops->sync_sg_for_cpu = machvec_dma_sync_sg; in pci_iommu_alloc()
95 dma_ops->sync_single_for_device = machvec_dma_sync_single; in pci_iommu_alloc()
96 dma_ops->sync_sg_for_device = machvec_dma_sync_sg; in pci_iommu_alloc()
97 dma_ops->dma_supported = iommu_dma_supported; in pci_iommu_alloc()
Ddma-mapping.c7 struct dma_map_ops *dma_ops; variable
8 EXPORT_SYMBOL(dma_ops);
22 return dma_ops; in dma_get_ops()
Dpci-swiotlb.c50 dma_ops = &swiotlb_dma_ops; in swiotlb_dma_init()
62 dma_ops = &swiotlb_dma_ops; in pci_swiotlb_init()
/linux-4.1.27/drivers/ide/
Dide-dma.c98 dma_stat = hwif->dma_ops->dma_end(drive); in ide_dma_intr()
185 drive->hwif->dma_ops->dma_host_set(drive, 0); in ide_dma_off_quietly()
216 drive->hwif->dma_ops->dma_host_set(drive, 1); in ide_dma_on()
451 const struct ide_dma_ops *dma_ops = hwif->dma_ops; in ide_dma_timeout_retry() local
462 (void)dma_ops->dma_end(drive); in ide_dma_timeout_retry()
468 if (dma_ops->dma_clear) in ide_dma_timeout_retry()
469 dma_ops->dma_clear(drive); in ide_dma_timeout_retry()
471 if (dma_ops->dma_test_irq(drive) == 0) { in ide_dma_timeout_retry()
475 (void)dma_ops->dma_end(drive); in ide_dma_timeout_retry()
535 const struct ide_dma_ops *dma_ops = drive->hwif->dma_ops; in ide_dma_prepare() local
[all …]
Dide-dma-sff.c86 u8 dma_stat = hwif->dma_ops->dma_sff_read_status(hwif); in ide_dma_host_set()
214 dma_stat = hwif->dma_ops->dma_sff_read_status(hwif); in ide_dma_setup()
240 u8 dma_stat = hwif->dma_ops->dma_sff_read_status(hwif); in ide_dma_sff_timer_expiry()
301 dma_stat = hwif->dma_ops->dma_sff_read_status(hwif); in ide_dma_end()
319 u8 dma_stat = hwif->dma_ops->dma_sff_read_status(hwif); in ide_dma_test_irq()
Dide-iops.c352 if (hwif->dma_ops) /* check if host supports DMA */ in ide_config_drive_speed()
353 hwif->dma_ops->dma_host_set(drive, 0); in ide_config_drive_speed()
407 hwif->dma_ops->dma_host_set(drive, 1); in ide_config_drive_speed()
408 else if (hwif->dma_ops) /* check if host supports DMA */ in ide_config_drive_speed()
Dsc1200.c218 hwif->dma_ops->dma_host_set(drive, 1); in sc1200_set_pio_mode()
297 .dma_ops = &sc1200_dma_ops,
Dsl82c105.c307 .dma_ops = &sl82c105_dma_ops,
328 d.dma_ops = NULL; in sl82c105_init_one()
Dns87415.c189 dma_stat = hwif->dma_ops->dma_sff_read_status(hwif); in ns87415_dma_end()
300 .dma_ops = &ns87415_dma_ops,
Dsetup-pci.c134 dma_stat = hwif->dma_ops->dma_sff_read_status(hwif); in ide_pci_check_simplex()
378 if (hwif->dma_ops == NULL) in ide_hwif_setup_dma()
379 hwif->dma_ops = &sff_dma_ops; in ide_hwif_setup_dma()
Dide-taskfile.c85 const struct ide_dma_ops *dma_ops = hwif->dma_ops; in do_rw_taskfile() local
139 hwif->expiry = dma_ops->dma_timer_expiry; in do_rw_taskfile()
141 dma_ops->dma_start(drive); in do_rw_taskfile()
Dpdc202xx_old.c264 .dma_ops = &pdc2026x_dma_ops, \
277 .dma_ops = &sff_dma_ops,
Dalim15x3.c520 .dma_ops = &sff_dma_ops,
557 d.dma_ops = &ali_dma_ops; in alim15x3_init_one()
Dide-atapi.c413 rc = hwif->dma_ops->dma_end(drive); in ide_pc_intr()
658 hwif->dma_ops->dma_start(drive); in ide_transfer_pc()
662 hwif->dma_ops->dma_start(drive); in ide_transfer_pc()
Dide-devsets.c51 if (drive->hwif->dma_ops == NULL) in set_using_dma()
Dtc86c001.c199 .dma_ops = &tc86c001_dma_ops,
Dicside.c522 d.dma_ops = &icside_v6_dma_ops; in icside_register_v6()
533 if (d.dma_ops) in icside_register_v6()
Dtrm290.c331 .dma_ops = &trm290_dma_ops,
Dide-probe.c739 if (hwif->dma_ops) in ide_port_tune_devices()
1075 hwif->dma_ops = d->dma_ops; in ide_init_port()
1085 hwif->dma_ops = NULL; in ide_init_port()
Dcs5536.c254 .dma_ops = &cs5536_dma_ops,
Dhpt366.c1378 .dma_ops = &hpt36x_dma_ops,
1390 .dma_ops = &hpt37x_dma_ops,
1458 d.dma_ops = &hpt370_dma_ops; in hpt366_init_one()
Dide-pm.c153 if (drive->hwif->dma_ops == NULL) in ide_start_power_step()
Dide-io.c582 return hwif->dma_ops->dma_test_irq(drive); in drive_is_ready()
667 hwif->dma_ops->dma_lost_irq(drive); in ide_timer_expiry()
Dpalm_bk3710.c306 .dma_ops = &sff_dma_ops,
Dcmd64x.c407 d.dma_ops = &cmd646_rev1_dma_ops; in cmd64x_init_one()
Dsgiioc4.c528 .dma_ops = &sgiioc4_dma_ops,
Dau1xxx-ide.c489 .dma_ops = &au1xxx_dma_ops,
Dit821x.c574 hwif->dma_ops = &it821x_pass_through_dma_ops; in init_hwif_it821x()
Dtx4939ide.c529 .dma_ops = &tx4939ide_dma_ops,
Dsiimage.c716 .dma_ops = &sil_dma_ops, \
Dpmac.c1008 .dma_ops = &pmac_dma_ops,
Dide-cd.c541 dma_error = hwif->dma_ops->dma_end(drive); in cdrom_newpc_intr()
/linux-4.1.27/arch/s390/include/asm/
Ddma-mapping.h35 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_supported() local
37 if (dma_ops->dma_supported == NULL) in dma_supported()
39 return dma_ops->dma_supported(dev, mask); in dma_supported()
51 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_mapping_error() local
54 if (dma_ops->mapping_error) in dma_mapping_error()
55 return dma_ops->mapping_error(dev, dma_addr); in dma_mapping_error()
/linux-4.1.27/arch/powerpc/kernel/
Ddma.c35 if (sd->max_direct_dma_addr && sd->dma_ops == &swiotlb_dma_ops) in get_pfn_limit()
237 struct dma_map_ops *dma_ops = get_dma_ops(dev); in __dma_set_mask() local
239 if ((dma_ops != NULL) && (dma_ops->set_dma_mask != NULL)) in __dma_set_mask()
240 return dma_ops->set_dma_mask(dev, dma_mask); in __dma_set_mask()
257 struct dma_map_ops *dma_ops = get_dma_ops(dev); in __dma_get_required_mask() local
259 if (unlikely(dma_ops == NULL)) in __dma_get_required_mask()
262 if (dma_ops->get_required_mask) in __dma_get_required_mask()
263 return dma_ops->get_required_mask(dev); in __dma_get_required_mask()
Dpci-common.c56 void set_pci_dma_ops(struct dma_map_ops *dma_ops) in set_pci_dma_ops() argument
58 pci_dma_ops = dma_ops; in set_pci_dma_ops()
Dibmebus.c172 dev->dev.archdata.dma_ops = &ibmebus_dma_ops; in ibmebus_create_device()
/linux-4.1.27/arch/x86/include/asm/
Ddma-mapping.h30 extern struct dma_map_ops *dma_ops;
35 return dma_ops; in get_dma_ops()
37 if (unlikely(!dev) || !dev->archdata.dma_ops) in get_dma_ops()
38 return dma_ops; in get_dma_ops()
40 return dev->archdata.dma_ops; in get_dma_ops()
Ddevice.h6 struct dma_map_ops *dma_ops; member
Dpci.h112 #define PCI_DMA_BUS_IS_PHYS (dma_ops->is_phys)
/linux-4.1.27/drivers/spi/
Dspi-dw.c371 ret = dws->dma_ops->dma_setup(dws, transfer); in dw_spi_transfer_one()
391 ret = dws->dma_ops->dma_transfer(dws, transfer); in dw_spi_transfer_one()
408 dws->dma_ops->dma_stop(dws); in dw_spi_handle_err()
552 if (dws->dma_ops && dws->dma_ops->dma_init) { in dw_spi_add_host()
553 ret = dws->dma_ops->dma_init(dws); in dw_spi_add_host()
558 master->can_dma = dws->dma_ops->can_dma; in dw_spi_add_host()
573 if (dws->dma_ops && dws->dma_ops->dma_exit) in dw_spi_add_host()
574 dws->dma_ops->dma_exit(dws); in dw_spi_add_host()
588 if (dws->dma_ops && dws->dma_ops->dma_exit) in dw_spi_remove_host()
589 dws->dma_ops->dma_exit(dws); in dw_spi_remove_host()
Dspi-dw.h133 struct dw_spi_dma_ops *dma_ops; member
Dspi-dw-mid.c327 dws->dma_ops = &mid_dma_ops; in dw_spi_mid_init()
/linux-4.1.27/arch/arm64/include/asm/
Ddma-mapping.h30 extern struct dma_map_ops *dma_ops;
34 if (unlikely(!dev) || !dev->archdata.dma_ops) in __generic_dma_ops()
35 return dma_ops; in __generic_dma_ops()
37 return dev->archdata.dma_ops; in __generic_dma_ops()
Ddevice.h20 struct dma_map_ops *dma_ops; member
/linux-4.1.27/drivers/gpu/drm/exynos/
Dexynos_drm_iommu.c117 if (!dev->archdata.dma_ops) in drm_iommu_attach_device()
118 dev->archdata.dma_ops = subdrv_dev->archdata.dma_ops; in drm_iommu_attach_device()
/linux-4.1.27/arch/hexagon/kernel/
Ddma.c28 struct dma_map_ops *dma_ops; variable
29 EXPORT_SYMBOL(dma_ops);
225 if (dma_ops) in hexagon_dma_init()
228 dma_ops = &hexagon_dma_ops; in hexagon_dma_init()
/linux-4.1.27/arch/arm/include/asm/mach/
Ddma.h17 struct dma_ops { struct
43 const struct dma_ops *d_ops; argument
/linux-4.1.27/include/rdma/
Dib_verbs.h1656 struct ib_dma_mapping_ops *dma_ops; member
2145 if (dev->dma_ops) in ib_dma_mapping_error()
2146 return dev->dma_ops->mapping_error(dev, dma_addr); in ib_dma_mapping_error()
2161 if (dev->dma_ops) in ib_dma_map_single()
2162 return dev->dma_ops->map_single(dev, cpu_addr, size, direction); in ib_dma_map_single()
2177 if (dev->dma_ops) in ib_dma_unmap_single()
2178 dev->dma_ops->unmap_single(dev, addr, size, direction); in ib_dma_unmap_single()
2215 if (dev->dma_ops) in ib_dma_map_page()
2216 return dev->dma_ops->map_page(dev, page, offset, size, direction); in ib_dma_map_page()
2231 if (dev->dma_ops) in ib_dma_unmap_page()
[all …]
/linux-4.1.27/arch/x86/xen/
Dpci-swiotlb-xen.c76 dma_ops = &xen_swiotlb_dma_ops; in pci_xen_swiotlb_init()
96 dma_ops = &xen_swiotlb_dma_ops; in pci_xen_swiotlb_init_late()
/linux-4.1.27/arch/alpha/include/asm/
Ddma-mapping.h6 extern struct dma_map_ops *dma_ops;
10 return dma_ops; in get_dma_ops()
/linux-4.1.27/arch/sh/kernel/
Ddma-nommu.c79 if (dma_ops) in no_iommu_init()
81 dma_ops = &nommu_dma_ops; in no_iommu_init()
/linux-4.1.27/arch/x86/pci/
Dsta2x11-fixup.c206 pdev->dev.archdata.dma_ops = &sta2x11_dma_ops; in sta2x11_setup_pdev()
226 if (dev->archdata.dma_ops != &sta2x11_dma_ops) { in dma_capable()
250 if (dev->archdata.dma_ops != &sta2x11_dma_ops) in phys_to_dma()
262 if (dev->archdata.dma_ops != &sta2x11_dma_ops) in dma_to_phys()
/linux-4.1.27/drivers/misc/mic/bus/
Dmic_bus.c149 mbus_register_device(struct device *pdev, int id, struct dma_map_ops *dma_ops, in mbus_register_device() argument
163 mbdev->dev.archdata.dma_ops = dma_ops; in mbus_register_device()
/linux-4.1.27/arch/sparc/include/asm/
Ddma-mapping.h23 extern struct dma_map_ops *dma_ops;
39 return dma_ops; in get_dma_ops()
/linux-4.1.27/arch/sh/include/asm/
Ddma.h56 struct dma_ops { struct
96 struct dma_ops *ops;
Ddma-mapping.h4 extern struct dma_map_ops *dma_ops;
9 return dma_ops; in get_dma_ops()
Dpci.h81 #define PCI_DMA_BUS_IS_PHYS (dma_ops->is_phys)
/linux-4.1.27/arch/mips/include/asm/
Ddma-mapping.h17 if (dev && dev->archdata.dma_ops) in get_dma_ops()
18 return dev->archdata.dma_ops; in get_dma_ops()
Ddevice.h13 struct dma_map_ops *dma_ops; member
/linux-4.1.27/include/linux/mmc/
Ddw_mmc.h155 const struct dw_mci_dma_ops *dma_ops; member
266 struct dw_mci_dma_ops *dma_ops; member
/linux-4.1.27/arch/sh/mm/
Dconsistent.c25 struct dma_map_ops *dma_ops; variable
26 EXPORT_SYMBOL(dma_ops);
/linux-4.1.27/arch/arm/include/asm/
Ddma-mapping.h23 if (dev && dev->archdata.dma_ops) in __generic_dma_ops()
24 return dev->archdata.dma_ops; in __generic_dma_ops()
39 dev->archdata.dma_ops = ops; in set_dma_ops()
Ddevice.h10 struct dma_map_ops *dma_ops; member
/linux-4.1.27/arch/alpha/kernel/
Dpci-noop.c188 struct dma_map_ops *dma_ops = &alpha_noop_ops; variable
189 EXPORT_SYMBOL(dma_ops);
Dpci_iommu.c964 struct dma_map_ops *dma_ops = &alpha_pci_ops; variable
965 EXPORT_SYMBOL(dma_ops);
/linux-4.1.27/drivers/mmc/host/
Ddw_mmc.c393 host->dma_ops->stop(host); in dw_mci_stop_dma()
394 host->dma_ops->cleanup(host); in dw_mci_stop_dma()
453 host->dma_ops->cleanup(host); in dw_mci_idmac_complete_dma()
840 host->dma_ops->stop(host); in dw_mci_submit_data_dma()
871 host->dma_ops->start(host, sg_len); in dw_mci_submit_data_dma()
2299 host->dma_ops->complete(host); in dw_mci_interrupt()
2307 host->dma_ops->complete(host); in dw_mci_interrupt()
2511 host->dma_ops = &dw_mci_idmac_ops; in dw_mci_init_dma()
2515 if (!host->dma_ops) in dw_mci_init_dma()
2518 if (host->dma_ops->init && host->dma_ops->start && in dw_mci_init_dma()
[all …]
/linux-4.1.27/arch/arm/mach-footbridge/
Ddma.c37 static struct dma_ops fb_dma_ops = {
/linux-4.1.27/arch/x86/kernel/
Dpci-dma.c20 struct dma_map_ops *dma_ops = &nommu_dma_ops; variable
21 EXPORT_SYMBOL(dma_ops);
Dpci-swiotlb.c98 dma_ops = &swiotlb_dma_ops; in pci_swiotlb_init()
Dpci-calgary_64.c1180 dev->dev.archdata.dma_ops = &calgary_dma_ops; in calgary_init()
1204 dev->dev.archdata.dma_ops = NULL; in calgary_init()
Damd_gart_64.c852 dma_ops = &gart_dma_ops; in gart_iommu_init()
/linux-4.1.27/arch/arm/mach-rpc/
Ddma.c243 static struct dma_ops iomd_dma_ops = {
309 static struct dma_ops floppy_dma_ops = {
323 static struct dma_ops sound_dma_ops = {
/linux-4.1.27/arch/tile/kernel/
Dpci-dma.c589 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_set_coherent_mask() local
597 if (dma_ops == gx_pci_dma_map_ops || in dma_set_coherent_mask()
598 dma_ops == gx_hybrid_pci_dma_map_ops || in dma_set_coherent_mask()
599 dma_ops == gx_legacy_pci_dma_map_ops) { in dma_set_coherent_mask()
/linux-4.1.27/include/linux/
Dmic_bus.h93 mbus_register_device(struct device *pdev, int id, struct dma_map_ops *dma_ops,
Dide.h701 const struct ide_dma_ops *dma_ops; member
1299 const struct ide_dma_ops *dma_ops; member
/linux-4.1.27/arch/sh/drivers/dma/
Ddma-pvr2.c75 static struct dma_ops pvr2_dma_ops = {
Ddma-g2.c157 static struct dma_ops g2_dma_ops = {
Ddma-sh.c366 static struct dma_ops sh_dmac_ops = {
/linux-4.1.27/arch/arm64/mm/
Ddma-mapping.c31 struct dma_map_ops *dma_ops; variable
32 EXPORT_SYMBOL(dma_ops);
421 dma_ops = &swiotlb_dma_ops; in arm64_dma_init()
/linux-4.1.27/arch/powerpc/platforms/cell/
Diommu.c689 dev->archdata.dma_ops = get_pci_dma_ops(); in cell_of_bus_notify()
1169 struct dma_map_ops *dma_ops; in cell_dma_get_required_mask() local
1178 dma_ops = get_dma_ops(dev); in cell_dma_get_required_mask()
1179 if (dma_ops->get_required_mask) in cell_dma_get_required_mask()
1180 return dma_ops->get_required_mask(dev); in cell_dma_get_required_mask()
1182 WARN_ONCE(1, "no get_required_mask in %p ops", dma_ops); in cell_dma_get_required_mask()
/linux-4.1.27/arch/ia64/include/asm/
Ddma-mapping.h17 extern struct dma_map_ops *dma_ops;
/linux-4.1.27/arch/arm/kernel/
Ddma-isa.c127 static struct dma_ops isa_dma_ops = {
/linux-4.1.27/arch/powerpc/platforms/pasemi/
Diommu.c184 dev->dev.archdata.dma_ops = &dma_direct_ops; in pci_dma_dev_setup_pasemi()
Dsetup.c371 dev->archdata.dma_ops = &dma_direct_ops; in pcmcia_notify()
/linux-4.1.27/arch/sparc/kernel/
Dioport.c658 struct dma_map_ops *dma_ops = &sbus_dma_ops; variable
659 EXPORT_SYMBOL(dma_ops);
Diommu.c755 struct dma_map_ops *dma_ops = &sun4u_dma_ops; variable
756 EXPORT_SYMBOL(dma_ops);
Dpci_sun4v.c927 dma_ops = &sun4v_dma_ops; in pci_sun4v_probe()
/linux-4.1.27/arch/powerpc/platforms/ps3/
Dsystem-bus.c759 dev->core.archdata.dma_ops = &ps3_ioc0_dma_ops; in ps3_system_bus_device_register()
763 dev->core.archdata.dma_ops = &ps3_sb_dma_ops; in ps3_system_bus_device_register()
/linux-4.1.27/arch/ia64/sn/pci/
Dpci_dma.c486 dma_ops = &sn_dma_ops; in sn_dma_init()
/linux-4.1.27/arch/arm/mm/
Ddma-mapping.c2121 struct dma_map_ops *dma_ops; in arch_setup_dma_ops() local
2125 dma_ops = arm_get_iommu_dma_map_ops(coherent); in arch_setup_dma_ops()
2127 dma_ops = arm_get_dma_map_ops(coherent); in arch_setup_dma_ops()
2129 set_dma_ops(dev, dma_ops); in arch_setup_dma_ops()
/linux-4.1.27/arch/mips/pci/
Dpci-octeon.c170 dev->dev.archdata.dma_ops = octeon_pci_dma_map_ops; in pcibios_plat_dev_init()
/linux-4.1.27/arch/ia64/hp/common/
Dsba_iommu.c2118 dma_ops = &swiotlb_dma_ops; in sba_init()
2140 dma_ops = &swiotlb_dma_ops; in sba_init()
2240 dma_ops = &sba_dma_ops; in sba_dma_init()
/linux-4.1.27/drivers/gpu/drm/vmwgfx/
Dvmwgfx_drv.c502 const struct dma_map_ops *dma_ops = get_dma_ops(dev_priv->dev->dev); in vmw_dma_select_mode() local
519 if (dma_ops->sync_single_for_cpu) in vmw_dma_select_mode()
/linux-4.1.27/drivers/infiniband/hw/ehca/
Dehca_main.c512 shca->ib_device.dma_ops = &ehca_dma_mapping_ops; in ehca_init_device()
/linux-4.1.27/drivers/iommu/
Damd_iommu.c2462 dev->archdata.dma_ops = &amd_iommu_dma_ops; in device_change_notifier()
3097 pdev->dev.archdata.dma_ops = &amd_iommu_dma_ops; in device_dma_ops_init()
3099 pdev->dev.archdata.dma_ops = &nommu_dma_ops; in device_dma_ops_init()
Dintel-iommu.c4241 dma_ops = &intel_dma_ops; in intel_iommu_init()
/linux-4.1.27/drivers/infiniband/hw/ipath/
Dipath_verbs.c2181 dev->dma_ops = &ipath_dma_mapping_ops; in ipath_register_ib_device()
/linux-4.1.27/drivers/infiniband/hw/qib/
Dqib_verbs.c2236 ibdev->dma_ops = &qib_dma_mapping_ops; in qib_register_ib_device()
/linux-4.1.27/drivers/infiniband/ulp/srpt/
Dib_srpt.c3145 device->dma_ops); in srpt_add_one()