Home
last modified time | relevance | path

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

/linux-3.4.99/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-3.4.99/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()
46 struct dma_map_ops *ops = get_dma_ops(dev); in dma_map_sg_attrs()
63 struct dma_map_ops *ops = get_dma_ops(dev); in dma_unmap_sg_attrs()
75 struct dma_map_ops *ops = get_dma_ops(dev); in dma_map_page()
89 struct dma_map_ops *ops = get_dma_ops(dev); in dma_unmap_page()
101 struct dma_map_ops *ops = get_dma_ops(dev); in dma_sync_single_for_cpu()
113 struct dma_map_ops *ops = get_dma_ops(dev); in dma_sync_single_for_device()
127 const struct dma_map_ops *ops = get_dma_ops(dev); in dma_sync_single_range_for_cpu()
141 const struct dma_map_ops *ops = get_dma_ops(dev); in dma_sync_single_range_for_device()
[all …]
/linux-3.4.99/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()
61 struct dma_map_ops *ops = get_dma_ops(dev); in dma_alloc_attrs()
81 struct dma_map_ops *ops = get_dma_ops(dev); in dma_free_attrs()
/linux-3.4.99/arch/microblaze/include/asm/
Ddma-mapping.h53 static inline struct dma_map_ops *get_dma_ops(struct device *dev) in get_dma_ops() function
73 struct dma_map_ops *ops = get_dma_ops(dev); in dma_supported()
84 struct dma_map_ops *ops = get_dma_ops(dev); in dma_set_mask()
116 struct dma_map_ops *ops = get_dma_ops(dev); in dma_mapping_error()
132 struct dma_map_ops *ops = get_dma_ops(dev); in dma_alloc_attrs()
149 struct dma_map_ops *ops = get_dma_ops(dev); in dma_free_attrs()
/linux-3.4.99/arch/mips/include/asm/
Ddma-mapping.h14 static inline struct dma_map_ops *get_dma_ops(struct device *dev) in get_dma_ops() function
36 struct dma_map_ops *ops = get_dma_ops(dev); in dma_supported()
42 struct dma_map_ops *ops = get_dma_ops(dev); in dma_mapping_error()
67 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-3.4.99/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-3.4.99/arch/hexagon/include/asm/
Ddma-mapping.h41 static inline struct dma_map_ops *get_dma_ops(struct device *dev) in get_dma_ops() function
66 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_mapping_error()
81 struct dma_map_ops *ops = get_dma_ops(dev); in dma_alloc_attrs()
98 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_free_attrs()
/linux-3.4.99/arch/powerpc/include/asm/
Ddma-mapping.h77 static inline struct dma_map_ops *get_dma_ops(struct device *dev) in get_dma_ops() function
124 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_supported()
141 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_alloc_attrs()
159 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_free_attrs()
170 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_mapping_error()
/linux-3.4.99/arch/sparc/include/asm/
Ddma-mapping.h18 static inline struct dma_map_ops *get_dma_ops(struct device *dev) in get_dma_ops() function
35 struct dma_map_ops *ops = get_dma_ops(dev); in dma_alloc_attrs()
49 struct dma_map_ops *ops = get_dma_ops(dev); in dma_free_attrs()
/linux-3.4.99/arch/x86/include/asm/
Ddma-mapping.h31 static inline struct dma_map_ops *get_dma_ops(struct device *dev) in get_dma_ops() function
48 struct dma_map_ops *ops = get_dma_ops(dev); in dma_mapping_error()
121 struct dma_map_ops *ops = get_dma_ops(dev); in dma_alloc_attrs()
151 struct dma_map_ops *ops = get_dma_ops(dev); in dma_free_attrs()
/linux-3.4.99/arch/powerpc/kernel/
Ddma.c176 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_set_mask()
191 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_get_required_mask()
/linux-3.4.99/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-3.4.99/arch/ia64/include/asm/
Ddma-mapping.h54 #define get_dma_ops(dev) platform_dma_get_ops(dev) macro
/linux-3.4.99/arch/x86/kernel/
Dpci-dma.c202 struct dma_map_ops *ops = get_dma_ops(dev); in dma_supported()
/linux-3.4.99/arch/powerpc/sysdev/
Ddart_iommu.c302 if (get_dma_ops(dev) == &dma_direct_ops) in dma_dev_setup_dart()
/linux-3.4.99/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()
/linux-3.4.99/arch/powerpc/platforms/pseries/
Diommu.c1118 if (!ddw_enabled && get_dma_ops(dev) != &dma_iommu_ops) { in dma_set_mask_pSeriesLP()