Home
last modified time | relevance | path

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

/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()
/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()
/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()
/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()
/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()
/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()
/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()
/arch/arm64/include/asm/
Ddma-mapping.h42 static inline struct dma_map_ops *get_dma_ops(struct device *dev) in get_dma_ops() function
76 struct dma_map_ops *ops = get_dma_ops(dev); in dma_mapping_error()
83 struct dma_map_ops *ops = get_dma_ops(dev); in dma_supported()
115 struct dma_map_ops *ops = get_dma_ops(dev); in dma_alloc_attrs()
130 struct dma_map_ops *ops = get_dma_ops(dev); in dma_free_attrs()
/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()
/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()
/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()
/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()
/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()
/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()
212 struct dma_map_ops *ops = get_dma_ops(dev); in dma_alloc_attrs()
244 struct dma_map_ops *ops = get_dma_ops(dev); in dma_free_attrs()
/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()
/arch/ia64/include/asm/
Ddma-mapping.h54 #define get_dma_ops(dev) platform_dma_get_ops(dev) macro
/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()
/arch/x86/kernel/
Dpci-dma.c213 struct dma_map_ops *ops = get_dma_ops(dev); in dma_supported()
/arch/powerpc/sysdev/
Ddart_iommu.c314 if (get_dma_ops(dev) == &dma_direct_ops) in dma_dev_setup_dart()
/arch/arm/mm/
Ddma-mapping.c907 struct dma_map_ops *ops = get_dma_ops(dev); in arm_dma_map_sg()
941 struct dma_map_ops *ops = get_dma_ops(dev); in arm_dma_unmap_sg()
960 struct dma_map_ops *ops = get_dma_ops(dev); in arm_dma_sync_sg_for_cpu()
979 struct dma_map_ops *ops = get_dma_ops(dev); in arm_dma_sync_sg_for_device()
/arch/powerpc/platforms/cell/
Diommu.c662 if (get_dma_ops(dev) == &dma_iommu_fixed_ops) in cell_dma_dev_setup()
1176 dma_ops = get_dma_ops(dev); in cell_dma_get_required_mask()
/arch/tile/kernel/
Dpci-dma.c589 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_set_coherent_mask()
/arch/powerpc/platforms/pseries/
Diommu.c1166 if (!ddw_enabled && get_dma_ops(dev) != &dma_iommu_ops) { in dma_set_mask_pSeriesLP()
/arch/powerpc/platforms/powernv/
Dpci-ioda.c861 WARN_ON(get_dma_ops(&pdev->dev) != &dma_iommu_ops); in pnv_pci_ioda_dma_dev_setup()