Lines Matching defs:dev
80 static inline int is_device_dma_capable(struct device *dev) in is_device_dma_capable()
91 static inline u64 dma_get_mask(struct device *dev) in dma_get_mask()
101 static inline int dma_set_coherent_mask(struct device *dev, u64 mask) in dma_set_coherent_mask()
116 static inline int dma_set_mask_and_coherent(struct device *dev, u64 mask) in dma_set_mask_and_coherent()
128 static inline int dma_coerce_mask_and_coherent(struct device *dev, u64 mask) in dma_coerce_mask_and_coherent()
137 static inline void arch_setup_dma_ops(struct device *dev, u64 dma_base, in arch_setup_dma_ops()
143 static inline void arch_teardown_dma_ops(struct device *dev) { } in arch_teardown_dma_ops()
146 static inline unsigned int dma_get_max_seg_size(struct device *dev) in dma_get_max_seg_size()
151 static inline unsigned int dma_set_max_seg_size(struct device *dev, in dma_set_max_seg_size()
161 static inline unsigned long dma_get_seg_boundary(struct device *dev) in dma_get_seg_boundary()
167 static inline int dma_set_seg_boundary(struct device *dev, unsigned long mask) in dma_set_seg_boundary()
177 static inline unsigned long dma_max_pfn(struct device *dev) in dma_max_pfn()
183 static inline void *dma_zalloc_coherent(struct device *dev, size_t size, in dma_zalloc_coherent()
209 dma_declare_coherent_memory(struct device *dev, phys_addr_t phys_addr, in dma_declare_coherent_memory()
216 dma_release_declared_memory(struct device *dev) in dma_release_declared_memory()
221 dma_mark_declared_memory_occupied(struct device *dev, in dma_mark_declared_memory_occupied()
246 static inline int dmam_declare_coherent_memory(struct device *dev, in dmam_declare_coherent_memory()
253 static inline void dmam_release_declared_memory(struct device *dev) in dmam_release_declared_memory()
261 #define dma_map_single_attrs(dev, cpu_addr, size, dir, attrs) \ argument
264 #define dma_unmap_single_attrs(dev, dma_addr, size, dir, attrs) \ argument
267 #define dma_map_sg_attrs(dev, sgl, nents, dir, attrs) \ argument
270 #define dma_unmap_sg_attrs(dev, sgl, nents, dir, attrs) \ argument
274 static inline void *dma_alloc_writecombine(struct device *dev, size_t size, in dma_alloc_writecombine()
282 static inline void dma_free_writecombine(struct device *dev, size_t size, in dma_free_writecombine()
290 static inline int dma_mmap_writecombine(struct device *dev, in dma_mmap_writecombine()