/linux-3.4.99/arch/alpha/include/asm/ |
D | dma-mapping.h | 8 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/ |
D | dma-mapping-common.h | 15 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/ |
D | dma-mapping.h | 7 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/ |
D | dma-mapping.h | 53 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/ |
D | dma-mapping.h | 14 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/ |
D | dma-mapping.h | 28 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/ |
D | dma-mapping.h | 41 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/ |
D | dma-mapping.h | 77 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/ |
D | dma-mapping.h | 18 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/ |
D | dma-mapping.h | 31 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/ |
D | dma.c | 176 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/ |
D | dma-octeon.c | 223 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/ |
D | dma-mapping.h | 54 #define get_dma_ops(dev) platform_dma_get_ops(dev) macro
|
/linux-3.4.99/arch/x86/kernel/ |
D | pci-dma.c | 202 struct dma_map_ops *ops = get_dma_ops(dev); in dma_supported()
|
/linux-3.4.99/arch/powerpc/sysdev/ |
D | dart_iommu.c | 302 if (get_dma_ops(dev) == &dma_direct_ops) in dma_dev_setup_dart()
|
/linux-3.4.99/arch/powerpc/platforms/cell/ |
D | iommu.c | 662 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/ |
D | iommu.c | 1118 if (!ddw_enabled && get_dma_ops(dev) != &dma_iommu_ops) { in dma_set_mask_pSeriesLP()
|