Lines Matching defs:dev
82 static inline const struct dma_map_ops *get_dma_ops(struct device *dev) in get_dma_ops()
89 static inline void set_dma_ops(struct device *dev, in set_dma_ops()
95 static inline const struct dma_map_ops *get_dma_ops(struct device *dev) in get_dma_ops()
99 static inline void set_dma_ops(struct device *dev, in set_dma_ops()
108 static inline struct cma *dev_get_cma_area(struct device *dev) in dev_get_cma_area()
128 static inline struct cma *dev_get_cma_area(struct device *dev) in dev_get_cma_area()
141 static inline struct page *dma_alloc_from_contiguous(struct device *dev, in dma_alloc_from_contiguous()
146 static inline bool dma_release_from_contiguous(struct device *dev, in dma_release_from_contiguous()
152 static inline struct page *dma_alloc_contiguous(struct device *dev, size_t size, in dma_alloc_contiguous()
157 static inline void dma_free_contiguous(struct device *dev, struct page *page, in dma_free_contiguous()
177 static inline int dma_declare_coherent_memory(struct device *dev, in dma_declare_coherent_memory()
183 #define dma_alloc_from_dev_coherent(dev, size, handle, ret) (0) argument
184 #define dma_release_from_dev_coherent(dev, order, vaddr) (0) argument
185 #define dma_mmap_from_dev_coherent(dev, vma, vaddr, order, ret) (0) argument
186 static inline void dma_release_coherent_memory(struct device *dev) { } in dma_release_coherent_memory()
197 static inline void *dma_alloc_from_global_coherent(struct device *dev, in dma_alloc_from_global_coherent()
243 static inline bool dev_is_dma_coherent(struct device *dev) in dev_is_dma_coherent()
250 static inline bool dev_is_dma_coherent(struct device *dev) in dev_is_dma_coherent()
256 static inline void dma_reset_need_sync(struct device *dev) in dma_reset_need_sync()
268 static inline bool dma_kmalloc_safe(struct device *dev, in dma_kmalloc_safe()
319 static inline bool dma_kmalloc_needs_bounce(struct device *dev, size_t size, in dma_kmalloc_needs_bounce()
333 #define arch_dma_set_mask(dev, mask) do { } while (0) argument
349 static inline pgprot_t dma_pgprot(struct device *dev, pgprot_t prot, in dma_pgprot()
420 static inline void arch_setup_dma_ops(struct device *dev, bool coherent) in arch_setup_dma_ops()
428 static inline void arch_teardown_dma_ops(struct device *dev) in arch_teardown_dma_ops()
440 static inline void debug_dma_dump_mappings(struct device *dev) in debug_dma_dump_mappings()