Lines Matching defs:dev

83 static inline const struct dma_map_ops *get_dma_ops(struct device *dev)  in get_dma_ops()
90 static inline void set_dma_ops(struct device *dev, in set_dma_ops()
96 static inline const struct dma_map_ops *get_dma_ops(struct device *dev) in get_dma_ops()
100 static inline void set_dma_ops(struct device *dev, in set_dma_ops()
109 static inline struct cma *dev_get_cma_area(struct device *dev) in dev_get_cma_area()
129 static inline struct cma *dev_get_cma_area(struct device *dev) in dev_get_cma_area()
142 static inline struct page *dma_alloc_from_contiguous(struct device *dev, in dma_alloc_from_contiguous()
147 static inline bool dma_release_from_contiguous(struct device *dev, in dma_release_from_contiguous()
153 static inline struct page *dma_alloc_contiguous(struct device *dev, size_t size, in dma_alloc_contiguous()
158 static inline void dma_free_contiguous(struct device *dev, struct page *page, in dma_free_contiguous()
188 static inline int dma_declare_coherent_memory(struct device *dev, in dma_declare_coherent_memory()
194 #define dma_alloc_from_dev_coherent(dev, size, handle, ret) (0) argument
195 #define dma_release_from_dev_coherent(dev, order, vaddr) (0) argument
196 #define dma_mmap_from_dev_coherent(dev, vma, vaddr, order, ret) (0) argument
197 static inline void dma_release_coherent_memory(struct device *dev) { } in dma_release_coherent_memory()
199 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()
248 static inline bool dev_is_dma_coherent(struct device *dev) in dev_is_dma_coherent()
280 static inline pgprot_t dma_pgprot(struct device *dev, pgprot_t prot, in dma_pgprot()
338 static inline void arch_setup_dma_ops(struct device *dev, u64 dma_base, in arch_setup_dma_ops()
347 static inline void arch_teardown_dma_ops(struct device *dev) in arch_teardown_dma_ops()
359 static inline void debug_dma_dump_mappings(struct device *dev) in debug_dma_dump_mappings()