Searched refs:dma_map_ops (Results 1 - 79 of 79) sorted by relevance

/linux-4.1.27/arch/mips/include/asm/
H A Ddevice.h9 struct dma_map_ops;
13 struct dma_map_ops *dma_ops;
H A Ddma-mapping.h13 extern struct dma_map_ops *mips_dma_map_ops;
15 static inline struct dma_map_ops *get_dma_ops(struct device *dev) get_dma_ops()
37 struct dma_map_ops *ops = get_dma_ops(dev); dma_supported()
43 struct dma_map_ops *ops = get_dma_ops(dev); dma_mapping_error()
52 struct dma_map_ops *ops = get_dma_ops(dev); dma_set_mask()
75 struct dma_map_ops *ops = get_dma_ops(dev); dma_alloc_attrs()
90 struct dma_map_ops *ops = get_dma_ops(dev); dma_free_attrs()
/linux-4.1.27/arch/x86/include/asm/
H A Diommu.h4 extern struct dma_map_ops nommu_dma_ops;
H A Ddevice.h6 struct dma_map_ops *dma_ops;
H A Ddma-mapping.h30 extern struct dma_map_ops *dma_ops;
32 static inline struct dma_map_ops *get_dma_ops(struct device *dev) get_dma_ops()
49 struct dma_map_ops *ops = get_dma_ops(dev); dma_mapping_error()
134 struct dma_map_ops *ops = get_dma_ops(dev); dma_alloc_attrs()
164 struct dma_map_ops *ops = get_dma_ops(dev); dma_free_attrs()
/linux-4.1.27/arch/ia64/kernel/
H A Ddma-mapping.c7 struct dma_map_ops *dma_ops;
20 struct dma_map_ops *dma_get_ops(struct device *dev) dma_get_ops()
H A Dpci-swiotlb.c33 struct dma_map_ops swiotlb_dma_ops = {
H A Dpci-dma.c36 extern struct dma_map_ops intel_dma_ops;
/linux-4.1.27/arch/arm/include/asm/xen/
H A Dhypervisor.h19 extern struct dma_map_ops *xen_dma_ops;
/linux-4.1.27/arch/sparc/include/asm/
H A Ddma-mapping.h23 extern struct dma_map_ops *dma_ops;
24 extern struct dma_map_ops *leon_dma_ops;
25 extern struct dma_map_ops pci32_dma_ops;
29 static inline struct dma_map_ops *get_dma_ops(struct device *dev) get_dma_ops()
50 struct dma_map_ops *ops = get_dma_ops(dev); dma_alloc_attrs()
64 struct dma_map_ops *ops = get_dma_ops(dev); dma_free_attrs()
/linux-4.1.27/arch/s390/include/asm/
H A Ddma-mapping.h14 extern struct dma_map_ops s390_dma_ops;
16 static inline struct dma_map_ops *get_dma_ops(struct device *dev) get_dma_ops()
35 struct dma_map_ops *dma_ops = get_dma_ops(dev); dma_supported()
51 struct dma_map_ops *dma_ops = get_dma_ops(dev); dma_mapping_error()
65 struct dma_map_ops *ops = get_dma_ops(dev); dma_alloc_attrs()
82 struct dma_map_ops *ops = get_dma_ops(dev); dma_free_attrs()
/linux-4.1.27/arch/sh/include/asm/
H A Ddma-mapping.h4 extern struct dma_map_ops *dma_ops;
7 static inline struct dma_map_ops *get_dma_ops(struct device *dev) get_dma_ops()
17 struct dma_map_ops *ops = get_dma_ops(dev); dma_supported()
27 struct dma_map_ops *ops = get_dma_ops(dev); dma_set_mask()
47 struct dma_map_ops *ops = get_dma_ops(dev); dma_mapping_error()
62 struct dma_map_ops *ops = get_dma_ops(dev); dma_alloc_attrs()
82 struct dma_map_ops *ops = get_dma_ops(dev); dma_free_attrs()
/linux-4.1.27/arch/microblaze/include/asm/
H A Ddma-mapping.h41 extern struct dma_map_ops dma_direct_ops;
43 static inline struct dma_map_ops *get_dma_ops(struct device *dev) get_dma_ops()
50 struct dma_map_ops *ops = get_dma_ops(dev); dma_supported()
61 struct dma_map_ops *ops = get_dma_ops(dev); dma_set_mask()
93 struct dma_map_ops *ops = get_dma_ops(dev); dma_mapping_error()
111 struct dma_map_ops *ops = get_dma_ops(dev); dma_alloc_attrs()
128 struct dma_map_ops *ops = get_dma_ops(dev); dma_free_attrs()
/linux-4.1.27/arch/ia64/include/asm/
H A Ddma-mapping.h17 extern struct dma_map_ops *dma_ops;
32 struct dma_map_ops *ops = platform_dma_get_ops(dev); dma_alloc_attrs()
46 struct dma_map_ops *ops = platform_dma_get_ops(dev); dma_free_attrs()
60 struct dma_map_ops *ops = platform_dma_get_ops(dev); dma_mapping_error()
67 struct dma_map_ops *ops = platform_dma_get_ops(dev); dma_supported()
H A Dmachvec.h48 typedef struct dma_map_ops *ia64_mv_dma_get_ops(struct device *);
252 extern struct dma_map_ops *dma_get_ops(struct device *);
/linux-4.1.27/arch/tile/include/asm/
H A Ddma-mapping.h27 extern struct dma_map_ops *tile_dma_map_ops;
28 extern struct dma_map_ops *gx_pci_dma_map_ops;
29 extern struct dma_map_ops *gx_legacy_pci_dma_map_ops;
30 extern struct dma_map_ops *gx_hybrid_pci_dma_map_ops;
32 static inline struct dma_map_ops *get_dma_ops(struct device *dev) get_dma_ops()
64 static inline void set_dma_ops(struct device *dev, struct dma_map_ops *ops) set_dma_ops()
93 struct dma_map_ops *dma_ops = get_dma_ops(dev); dma_set_mask()
123 struct dma_map_ops *dma_ops = get_dma_ops(dev); dma_alloc_attrs()
137 struct dma_map_ops *dma_ops = get_dma_ops(dev); dma_free_attrs()
H A Ddevice.h21 struct dma_map_ops *dma_ops;
/linux-4.1.27/include/asm-generic/
H A Ddma-mapping-common.h15 struct dma_map_ops *ops = get_dma_ops(dev); dma_map_single_attrs()
34 struct dma_map_ops *ops = get_dma_ops(dev); dma_unmap_single_attrs()
50 struct dma_map_ops *ops = get_dma_ops(dev); dma_map_sg_attrs()
68 struct dma_map_ops *ops = get_dma_ops(dev);
80 struct dma_map_ops *ops = get_dma_ops(dev); dma_map_page()
94 struct dma_map_ops *ops = get_dma_ops(dev); dma_unmap_page()
106 struct dma_map_ops *ops = get_dma_ops(dev); dma_sync_single_for_cpu()
118 struct dma_map_ops *ops = get_dma_ops(dev); dma_sync_single_for_device()
132 const struct dma_map_ops *ops = get_dma_ops(dev); dma_sync_single_range_for_cpu()
146 const struct dma_map_ops *ops = get_dma_ops(dev); dma_sync_single_range_for_device()
158 struct dma_map_ops *ops = get_dma_ops(dev); dma_sync_sg_for_cpu()
170 struct dma_map_ops *ops = get_dma_ops(dev); dma_sync_sg_for_device()
213 struct dma_map_ops *ops = get_dma_ops(dev); dma_mmap_attrs()
230 struct dma_map_ops *ops = get_dma_ops(dev); dma_get_sgtable_attrs()
/linux-4.1.27/arch/unicore32/include/asm/
H A Ddma-mapping.h26 extern struct dma_map_ops swiotlb_dma_map_ops;
28 static inline struct dma_map_ops *get_dma_ops(struct device *dev) get_dma_ops()
35 struct dma_map_ops *dma_ops = get_dma_ops(dev); dma_supported()
45 struct dma_map_ops *dma_ops = get_dma_ops(dev); dma_mapping_error()
91 struct dma_map_ops *dma_ops = get_dma_ops(dev); dma_alloc_attrs()
102 struct dma_map_ops *dma_ops = get_dma_ops(dev); dma_free_attrs()
/linux-4.1.27/arch/powerpc/include/asm/
H A Ddevice.h9 struct dma_map_ops;
23 struct dma_map_ops *dma_ops;
H A Dswiotlb.h16 extern struct dma_map_ops swiotlb_dma_ops;
H A Ddma-mapping.h76 extern struct dma_map_ops dma_iommu_ops;
78 extern struct dma_map_ops dma_direct_ops;
80 static inline struct dma_map_ops *get_dma_ops(struct device *dev) get_dma_ops()
93 static inline void set_dma_ops(struct device *dev, struct dma_map_ops *ops) set_dma_ops()
127 struct dma_map_ops *dma_ops = get_dma_ops(dev); dma_supported()
146 struct dma_map_ops *dma_ops = get_dma_ops(dev); dma_alloc_attrs()
164 struct dma_map_ops *dma_ops = get_dma_ops(dev); dma_free_attrs()
175 struct dma_map_ops *dma_ops = get_dma_ops(dev); dma_mapping_error()
H A Dpci.h58 extern void set_pci_dma_ops(struct dma_map_ops *dma_ops);
59 extern struct dma_map_ops *get_pci_dma_ops(void);
/linux-4.1.27/arch/alpha/include/asm/
H A Ddma-mapping.h6 extern struct dma_map_ops *dma_ops;
8 static inline struct dma_map_ops *get_dma_ops(struct device *dev) get_dma_ops()
/linux-4.1.27/arch/openrisc/include/asm/
H A Ddma-mapping.h32 extern struct dma_map_ops or1k_dma_map_ops;
34 static inline struct dma_map_ops *get_dma_ops(struct device *dev) get_dma_ops()
47 struct dma_map_ops *ops = get_dma_ops(dev); dma_alloc_attrs()
63 struct dma_map_ops *ops = get_dma_ops(dev); dma_free_attrs()
/linux-4.1.27/arch/arm/include/asm/
H A Ddevice.h10 struct dma_map_ops *dma_ops;
H A Ddma-mapping.h18 extern struct dma_map_ops arm_dma_ops;
19 extern struct dma_map_ops arm_coherent_dma_ops;
21 static inline struct dma_map_ops *__generic_dma_ops(struct device *dev) __generic_dma_ops()
28 static inline struct dma_map_ops *get_dma_ops(struct device *dev) get_dma_ops()
36 static inline void set_dma_ops(struct device *dev, struct dma_map_ops *ops) set_dma_ops()
218 struct dma_map_ops *ops = get_dma_ops(dev); dma_alloc_attrs()
250 struct dma_map_ops *ops = get_dma_ops(dev); dma_free_attrs()
/linux-4.1.27/arch/hexagon/include/asm/
H A Ddma-mapping.h35 extern struct dma_map_ops *dma_ops;
40 static inline struct dma_map_ops *get_dma_ops(struct device *dev) get_dma_ops()
65 struct dma_map_ops *dma_ops = get_dma_ops(dev); dma_mapping_error()
80 struct dma_map_ops *ops = get_dma_ops(dev); dma_alloc_attrs()
97 struct dma_map_ops *dma_ops = get_dma_ops(dev); dma_free_attrs()
/linux-4.1.27/arch/arm64/include/asm/
H A Ddma-mapping.h30 extern struct dma_map_ops *dma_ops;
32 static inline struct dma_map_ops *__generic_dma_ops(struct device *dev) __generic_dma_ops()
40 static inline struct dma_map_ops *get_dma_ops(struct device *dev) get_dma_ops()
77 struct dma_map_ops *ops = get_dma_ops(dev); dma_mapping_error()
84 struct dma_map_ops *ops = get_dma_ops(dev); dma_supported()
116 struct dma_map_ops *ops = get_dma_ops(dev); dma_alloc_attrs()
131 struct dma_map_ops *ops = get_dma_ops(dev); dma_free_attrs()
H A Ddevice.h20 struct dma_map_ops *dma_ops;
/linux-4.1.27/arch/mips/cavium-octeon/
H A Ddma-octeon.c216 struct dma_map_ops dma_map_ops; member in struct:octeon_dma_map_ops
225 dma_map_ops); phys_to_dma()
235 dma_map_ops); dma_to_phys()
242 .dma_map_ops = {
323 mips_dma_map_ops = &octeon_linear_dma_map_ops.dma_map_ops; plat_swiotlb_setup()
328 .dma_map_ops = {
344 struct dma_map_ops *octeon_pci_dma_map_ops;
368 octeon_pci_dma_map_ops = &_octeon_pci_dma_map_ops.dma_map_ops; octeon_pci_dma_init()
/linux-4.1.27/arch/mips/include/asm/mach-cavium-octeon/
H A Ddma-coherence.h67 struct dma_map_ops;
68 extern struct dma_map_ops *octeon_pci_dma_map_ops;
/linux-4.1.27/arch/ia64/hp/common/
H A Dhwsw_iommu.c21 extern struct dma_map_ops sba_dma_ops, swiotlb_dma_ops;
37 struct dma_map_ops *hwsw_dma_get_ops(struct device *dev) hwsw_dma_get_ops()
H A Dsba_iommu.c2103 extern struct dma_map_ops swiotlb_dma_ops;
2223 struct dma_map_ops sba_dma_ops = {
/linux-4.1.27/arch/unicore32/mm/
H A Ddma-swiotlb.c34 struct dma_map_ops swiotlb_dma_map_ops = {
/linux-4.1.27/arch/tile/kernel/
H A Dpci-dma.c324 static struct dma_map_ops tile_default_dma_map_ops = {
339 struct dma_map_ops *tile_dma_map_ops = &tile_default_dma_map_ops;
511 static struct dma_map_ops tile_pci_default_dma_map_ops = {
526 struct dma_map_ops *gx_pci_dma_map_ops = &tile_pci_default_dma_map_ops;
547 static struct dma_map_ops pci_swiotlb_dma_ops = {
562 static struct dma_map_ops pci_hybrid_dma_ops = {
577 struct dma_map_ops *gx_legacy_pci_dma_map_ops = &pci_swiotlb_dma_ops;
578 struct dma_map_ops *gx_hybrid_pci_dma_map_ops = &pci_hybrid_dma_ops;
580 struct dma_map_ops *gx_legacy_pci_dma_map_ops;
581 struct dma_map_ops *gx_hybrid_pci_dma_map_ops;
589 struct dma_map_ops *dma_ops = get_dma_ops(dev); dma_set_coherent_mask()
/linux-4.1.27/arch/alpha/kernel/
H A Dpci-noop.c178 struct dma_map_ops alpha_noop_ops = {
188 struct dma_map_ops *dma_ops = &alpha_noop_ops;
H A Dpci_iommu.c954 struct dma_map_ops alpha_pci_ops = {
966 struct dma_map_ops *dma_ops = &alpha_pci_ops;
/linux-4.1.27/arch/x86/kernel/
H A Dpci-swiotlb.c41 static struct dma_map_ops swiotlb_dma_ops = {
H A Dpci-nommu.c91 struct dma_map_ops nommu_dma_ops = {
H A Dpci-dma.c20 struct dma_map_ops *dma_ops = &nommu_dma_ops;
213 struct dma_map_ops *ops = get_dma_ops(dev); dma_supported()
H A Damd_gart_64.c699 static struct dma_map_ops gart_dma_ops = {
H A Dpci-calgary_64.c481 static struct dma_map_ops calgary_dma_ops = {
/linux-4.1.27/arch/sh/kernel/
H A Ddma-nommu.c65 struct dma_map_ops nommu_dma_ops = {
/linux-4.1.27/arch/arm/xen/
H A Dmm.c166 struct dma_map_ops *xen_dma_ops;
169 static struct dma_map_ops xen_swiotlb_dma_ops = {
/linux-4.1.27/arch/hexagon/kernel/
H A Ddma.c28 struct dma_map_ops *dma_ops;
213 struct dma_map_ops hexagon_dma_ops = {
/linux-4.1.27/arch/x86/xen/
H A Dpci-swiotlb-xen.c21 static struct dma_map_ops xen_swiotlb_dma_ops = {
/linux-4.1.27/arch/powerpc/kernel/
H A Ddma-swiotlb.c49 struct dma_map_ops swiotlb_dma_ops = {
H A Ddma.c214 struct dma_map_ops dma_direct_ops = {
237 struct dma_map_ops *dma_ops = get_dma_ops(dev); __dma_set_mask()
257 struct dma_map_ops *dma_ops = get_dma_ops(dev); __dma_get_required_mask()
H A Ddma-iommu.c108 struct dma_map_ops dma_iommu_ops = {
H A Dibmebus.c139 static struct dma_map_ops ibmebus_dma_ops = {
H A Dpci-common.c54 static struct dma_map_ops *pci_dma_ops = &dma_direct_ops;
56 void set_pci_dma_ops(struct dma_map_ops *dma_ops) set_pci_dma_ops()
61 struct dma_map_ops *get_pci_dma_ops(void) get_pci_dma_ops()
H A Dvio.c618 struct dma_map_ops vio_dma_mapping_ops = {
/linux-4.1.27/arch/sh/mm/
H A Dconsistent.c25 struct dma_map_ops *dma_ops;
/linux-4.1.27/arch/mips/loongson/common/
H A Ddma-swiotlb.c130 static struct dma_map_ops loongson_dma_map_ops = {
/linux-4.1.27/arch/mips/netlogic/common/
H A Dnlm-dma.c80 struct dma_map_ops nlm_swiotlb_dma_ops = {
/linux-4.1.27/include/linux/
H A Dmic_bus.h93 mbus_register_device(struct device *pdev, int id, struct dma_map_ops *dma_ops,
H A Ddma-mapping.h17 struct dma_map_ops { struct
/linux-4.1.27/arch/arm/mm/
H A Ddma-mapping.c130 struct dma_map_ops arm_dma_ops = {
152 struct dma_map_ops arm_coherent_dma_ops = {
904 struct dma_map_ops *ops = get_dma_ops(dev); arm_dma_map_sg()
938 struct dma_map_ops *ops = get_dma_ops(dev); arm_dma_unmap_sg()
957 struct dma_map_ops *ops = get_dma_ops(dev); arm_dma_sync_sg_for_cpu()
976 struct dma_map_ops *ops = get_dma_ops(dev); arm_dma_sync_sg_for_device()
1840 struct dma_map_ops iommu_ops = {
1859 struct dma_map_ops iommu_coherent_ops = {
2007 * This replaces the dma operations (dma_map_ops pointer) with the
2049 * This voids the dma operations (dma_map_ops pointer)
2058 static struct dma_map_ops *arm_get_iommu_dma_map_ops(bool coherent) arm_get_iommu_dma_map_ops()
2113 static struct dma_map_ops *arm_get_dma_map_ops(bool coherent) arm_get_dma_map_ops()
2121 struct dma_map_ops *dma_ops; arch_setup_dma_ops()
/linux-4.1.27/drivers/misc/mic/bus/
H A Dmic_bus.c149 mbus_register_device(struct device *pdev, int id, struct dma_map_ops *dma_ops, mbus_register_device()
/linux-4.1.27/arch/sparc/kernel/
H A Dioport.c404 static struct dma_map_ops sbus_dma_ops = {
640 struct dma_map_ops pci32_dma_ops = {
655 struct dma_map_ops *leon_dma_ops = &pci32_dma_ops;
658 struct dma_map_ops *dma_ops = &sbus_dma_ops;
H A Diommu.c744 static struct dma_map_ops sun4u_dma_ops = {
755 struct dma_map_ops *dma_ops = &sun4u_dma_ops;
H A Dpci_sun4v.c506 static struct dma_map_ops sun4v_dma_ops = {
/linux-4.1.27/arch/microblaze/kernel/
H A Ddma.c183 struct dma_map_ops dma_direct_ops = {
/linux-4.1.27/arch/mips/include/asm/netlogic/
H A Dcommon.h91 extern struct dma_map_ops nlm_swiotlb_dma_ops;
/linux-4.1.27/arch/mips/mm/
H A Ddma-default.c370 static struct dma_map_ops mips_default_dma_map_ops = {
385 struct dma_map_ops *mips_dma_map_ops = &mips_default_dma_map_ops;
/linux-4.1.27/arch/arm64/mm/
H A Ddma-mapping.c31 struct dma_map_ops *dma_ops;
340 static struct dma_map_ops swiotlb_dma_ops = {
/linux-4.1.27/arch/openrisc/kernel/
H A Ddma.c233 struct dma_map_ops or1k_dma_map_ops = {
/linux-4.1.27/arch/powerpc/platforms/ps3/
H A Dsystem-bus.c704 static struct dma_map_ops ps3_sb_dma_ops = {
715 static struct dma_map_ops ps3_ioc0_dma_ops = {
/linux-4.1.27/drivers/misc/mic/host/
H A Dmic_boot.c57 static struct dma_map_ops mic_dma_ops = {
/linux-4.1.27/arch/x86/pci/
H A Dsta2x11-fixup.c182 static struct dma_map_ops sta2x11_dma_ops = {
/linux-4.1.27/arch/s390/pci/
H A Dpci_dma.c508 struct dma_map_ops s390_dma_ops = {
/linux-4.1.27/arch/ia64/sn/pci/
H A Dpci_dma.c469 static struct dma_map_ops sn_dma_ops = {
/linux-4.1.27/arch/arm/common/
H A Ddmabounce.c451 static struct dma_map_ops dmabounce_ops = {
/linux-4.1.27/arch/powerpc/platforms/cell/
H A Diommu.c648 struct dma_map_ops dma_iommu_fixed_ops = {
1169 struct dma_map_ops *dma_ops; cell_dma_get_required_mask()
/linux-4.1.27/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_drv.c502 const struct dma_map_ops *dma_ops = get_dma_ops(dev_priv->dev->dev); vmw_dma_select_mode()
/linux-4.1.27/drivers/iommu/
H A Damd_iommu.c89 static struct dma_map_ops amd_iommu_dma_ops;
3069 static struct dma_map_ops amd_iommu_dma_ops = {
H A Dintel-iommu.c3400 struct dma_map_ops intel_dma_ops = {
/linux-4.1.27/scripts/
H A Dcheckpatch.pl5351 dma_map_ops|

Completed in 2037 milliseconds