/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()
|
/arch/mips/include/asm/ |
D | dma-mapping.h | 15 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/ |
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() 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/ |
D | dma-mapping.h | 43 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/ |
D | dma-mapping.h | 16 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/ |
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()
|
/arch/tile/include/asm/ |
D | dma-mapping.h | 32 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/ |
D | dma-mapping.h | 42 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/ |
D | dma-mapping.h | 40 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/ |
D | dma-mapping.h | 34 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/ |
D | dma-mapping.h | 29 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/ |
D | dma-mapping.h | 80 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/ |
D | dma-mapping.h | 32 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/ |
D | dma-mapping.h | 28 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/ |
D | dma.c | 237 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/ |
D | dma-mapping.h | 54 #define get_dma_ops(dev) platform_dma_get_ops(dev) macro
|
/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()
|
/arch/x86/kernel/ |
D | pci-dma.c | 213 struct dma_map_ops *ops = get_dma_ops(dev); in dma_supported()
|
/arch/powerpc/sysdev/ |
D | dart_iommu.c | 314 if (get_dma_ops(dev) == &dma_direct_ops) in dma_dev_setup_dart()
|
/arch/arm/mm/ |
D | dma-mapping.c | 907 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/ |
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()
|
/arch/tile/kernel/ |
D | pci-dma.c | 589 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_set_coherent_mask()
|
/arch/powerpc/platforms/pseries/ |
D | iommu.c | 1166 if (!ddw_enabled && get_dma_ops(dev) != &dma_iommu_ops) { in dma_set_mask_pSeriesLP()
|
/arch/powerpc/platforms/powernv/ |
D | pci-ioda.c | 861 WARN_ON(get_dma_ops(&pdev->dev) != &dma_iommu_ops); in pnv_pci_ioda_dma_dev_setup()
|