Home
last modified time | relevance | path

Searched refs:get_dma_ops (Results 1 – 26 of 26) sorted by relevance

/linux-4.1.27/include/asm-generic/
Ddma-mapping-common.h15 struct dma_map_ops *ops = get_dma_ops(dev); in dma_map_single_attrs()
34 struct dma_map_ops *ops = get_dma_ops(dev); in dma_unmap_single_attrs()
50 struct dma_map_ops *ops = get_dma_ops(dev); in dma_map_sg_attrs()
68 struct dma_map_ops *ops = get_dma_ops(dev); in dma_unmap_sg_attrs()
80 struct dma_map_ops *ops = get_dma_ops(dev); in dma_map_page()
94 struct dma_map_ops *ops = get_dma_ops(dev); in dma_unmap_page()
106 struct dma_map_ops *ops = get_dma_ops(dev); in dma_sync_single_for_cpu()
118 struct dma_map_ops *ops = get_dma_ops(dev); in dma_sync_single_for_device()
132 const struct dma_map_ops *ops = get_dma_ops(dev); in dma_sync_single_range_for_cpu()
146 const struct dma_map_ops *ops = get_dma_ops(dev); in dma_sync_single_range_for_device()
[all …]
/linux-4.1.27/arch/alpha/include/asm/
Ddma-mapping.h8 static inline struct dma_map_ops *get_dma_ops(struct device *dev) in get_dma_ops() function
21 return get_dma_ops(dev)->alloc(dev, size, dma_handle, gfp, attrs); in dma_alloc_attrs()
30 get_dma_ops(dev)->free(dev, size, vaddr, dma_handle, attrs); in dma_free_attrs()
35 return get_dma_ops(dev)->mapping_error(dev, dma_addr); in dma_mapping_error()
40 return get_dma_ops(dev)->dma_supported(dev, mask); in dma_supported()
45 return get_dma_ops(dev)->set_dma_mask(dev, mask); in dma_set_mask()
/linux-4.1.27/arch/mips/include/asm/
Ddma-mapping.h15 static inline struct dma_map_ops *get_dma_ops(struct device *dev) in get_dma_ops() function
37 struct dma_map_ops *ops = get_dma_ops(dev); in dma_supported()
43 struct dma_map_ops *ops = get_dma_ops(dev); in dma_mapping_error()
52 struct dma_map_ops *ops = get_dma_ops(dev); in dma_set_mask()
75 struct dma_map_ops *ops = get_dma_ops(dev); in dma_alloc_attrs()
90 struct dma_map_ops *ops = get_dma_ops(dev); in dma_free_attrs()
/linux-4.1.27/arch/sh/include/asm/
Ddma-mapping.h7 static inline struct dma_map_ops *get_dma_ops(struct device *dev) in get_dma_ops() function
17 struct dma_map_ops *ops = get_dma_ops(dev); in dma_supported()
27 struct dma_map_ops *ops = get_dma_ops(dev); in dma_set_mask()
47 struct dma_map_ops *ops = get_dma_ops(dev); in dma_mapping_error()
62 struct dma_map_ops *ops = get_dma_ops(dev); in dma_alloc_attrs()
82 struct dma_map_ops *ops = get_dma_ops(dev); in dma_free_attrs()
/linux-4.1.27/arch/microblaze/include/asm/
Ddma-mapping.h43 static inline struct dma_map_ops *get_dma_ops(struct device *dev) in get_dma_ops() function
50 struct dma_map_ops *ops = get_dma_ops(dev); in dma_supported()
61 struct dma_map_ops *ops = get_dma_ops(dev); in dma_set_mask()
93 struct dma_map_ops *ops = get_dma_ops(dev); in dma_mapping_error()
111 struct dma_map_ops *ops = get_dma_ops(dev); in dma_alloc_attrs()
128 struct dma_map_ops *ops = get_dma_ops(dev); in dma_free_attrs()
/linux-4.1.27/arch/s390/include/asm/
Ddma-mapping.h16 static inline struct dma_map_ops *get_dma_ops(struct device *dev) in get_dma_ops() function
35 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_supported()
51 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_mapping_error()
65 struct dma_map_ops *ops = get_dma_ops(dev); in dma_alloc_attrs()
82 struct dma_map_ops *ops = get_dma_ops(dev); in dma_free_attrs()
/linux-4.1.27/arch/tile/include/asm/
Ddma-mapping.h32 static inline struct dma_map_ops *get_dma_ops(struct device *dev) in get_dma_ops() function
81 return get_dma_ops(dev)->mapping_error(dev, dma_addr); in dma_mapping_error()
87 return get_dma_ops(dev)->dma_supported(dev, mask); in dma_supported()
93 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_set_mask()
123 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_alloc_attrs()
137 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_free_attrs()
/linux-4.1.27/arch/unicore32/include/asm/
Ddma-mapping.h28 static inline struct dma_map_ops *get_dma_ops(struct device *dev) in get_dma_ops() function
35 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_supported()
45 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_mapping_error()
91 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_alloc_attrs()
102 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_free_attrs()
/linux-4.1.27/arch/arm64/include/asm/
Ddma-mapping.h40 static inline struct dma_map_ops *get_dma_ops(struct device *dev) in get_dma_ops() function
77 struct dma_map_ops *ops = get_dma_ops(dev); in dma_mapping_error()
84 struct dma_map_ops *ops = get_dma_ops(dev); in dma_supported()
116 struct dma_map_ops *ops = get_dma_ops(dev); in dma_alloc_attrs()
131 struct dma_map_ops *ops = get_dma_ops(dev); in dma_free_attrs()
/linux-4.1.27/arch/hexagon/include/asm/
Ddma-mapping.h40 static inline struct dma_map_ops *get_dma_ops(struct device *dev) in get_dma_ops() function
65 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_mapping_error()
80 struct dma_map_ops *ops = get_dma_ops(dev); in dma_alloc_attrs()
97 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_free_attrs()
/linux-4.1.27/arch/powerpc/include/asm/
Ddma-mapping.h80 static inline struct dma_map_ops *get_dma_ops(struct device *dev) in get_dma_ops() function
127 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_supported()
146 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_alloc_attrs()
164 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_free_attrs()
175 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_mapping_error()
/linux-4.1.27/arch/openrisc/include/asm/
Ddma-mapping.h34 static inline struct dma_map_ops *get_dma_ops(struct device *dev) in get_dma_ops() function
47 struct dma_map_ops *ops = get_dma_ops(dev); in dma_alloc_attrs()
63 struct dma_map_ops *ops = get_dma_ops(dev); in dma_free_attrs()
/linux-4.1.27/arch/sparc/include/asm/
Ddma-mapping.h29 static inline struct dma_map_ops *get_dma_ops(struct device *dev) in get_dma_ops() function
50 struct dma_map_ops *ops = get_dma_ops(dev); in dma_alloc_attrs()
64 struct dma_map_ops *ops = get_dma_ops(dev); in dma_free_attrs()
/linux-4.1.27/arch/x86/include/asm/
Ddma-mapping.h32 static inline struct dma_map_ops *get_dma_ops(struct device *dev) in get_dma_ops() function
49 struct dma_map_ops *ops = get_dma_ops(dev); in dma_mapping_error()
134 struct dma_map_ops *ops = get_dma_ops(dev); in dma_alloc_attrs()
164 struct dma_map_ops *ops = get_dma_ops(dev); in dma_free_attrs()
/linux-4.1.27/arch/arm/include/asm/
Ddma-mapping.h28 static inline struct dma_map_ops *get_dma_ops(struct device *dev) in get_dma_ops() function
46 return get_dma_ops(dev)->set_dma_mask(dev, mask); in dma_set_mask()
218 struct dma_map_ops *ops = get_dma_ops(dev); in dma_alloc_attrs()
250 struct dma_map_ops *ops = get_dma_ops(dev); in dma_free_attrs()
/linux-4.1.27/arch/powerpc/kernel/
Ddma.c237 struct dma_map_ops *dma_ops = get_dma_ops(dev); in __dma_set_mask()
257 struct dma_map_ops *dma_ops = get_dma_ops(dev); in __dma_get_required_mask()
/linux-4.1.27/arch/mips/cavium-octeon/
Ddma-octeon.c223 struct octeon_dma_map_ops *ops = container_of(get_dma_ops(dev), in phys_to_dma()
233 struct octeon_dma_map_ops *ops = container_of(get_dma_ops(dev), in dma_to_phys()
/linux-4.1.27/arch/ia64/include/asm/
Ddma-mapping.h54 #define get_dma_ops(dev) platform_dma_get_ops(dev) macro
/linux-4.1.27/arch/x86/kernel/
Dpci-dma.c213 struct dma_map_ops *ops = get_dma_ops(dev); in dma_supported()
/linux-4.1.27/arch/powerpc/sysdev/
Ddart_iommu.c314 if (get_dma_ops(dev) == &dma_direct_ops) in dma_dev_setup_dart()
/linux-4.1.27/arch/arm/mm/
Ddma-mapping.c904 struct dma_map_ops *ops = get_dma_ops(dev); in arm_dma_map_sg()
938 struct dma_map_ops *ops = get_dma_ops(dev); in arm_dma_unmap_sg()
957 struct dma_map_ops *ops = get_dma_ops(dev); in arm_dma_sync_sg_for_cpu()
976 struct dma_map_ops *ops = get_dma_ops(dev); in arm_dma_sync_sg_for_device()
/linux-4.1.27/arch/powerpc/platforms/cell/
Diommu.c664 if (get_dma_ops(dev) == &dma_iommu_fixed_ops) in cell_dma_dev_setup()
1178 dma_ops = get_dma_ops(dev); in cell_dma_get_required_mask()
/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()
/linux-4.1.27/arch/powerpc/platforms/pseries/
Diommu.c1166 if (!ddw_enabled && get_dma_ops(dev) != &dma_iommu_ops) { in dma_set_mask_pSeriesLP()
/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()
/linux-4.1.27/arch/powerpc/platforms/powernv/
Dpci-ioda.c1600 WARN_ON(get_dma_ops(&pdev->dev) != &dma_iommu_ops); in pnv_pci_ioda_dma_dev_setup()