Lines Matching defs:dev
80 static inline const struct dma_map_ops *get_dma_ops(struct device *dev) in get_dma_ops()
88 static inline void set_dma_ops(struct device *dev, in set_dma_ops()
94 static inline const struct dma_map_ops *get_dma_ops(struct device *dev) in get_dma_ops()
98 static inline void set_dma_ops(struct device *dev, in set_dma_ops()
107 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()
143 static inline struct page *dma_alloc_from_contiguous(struct device *dev, in dma_alloc_from_contiguous()
150 static inline bool dma_release_from_contiguous(struct device *dev, in dma_release_from_contiguous()
156 static inline struct page *dma_alloc_contiguous(struct device *dev, size_t size, in dma_alloc_contiguous()
161 static inline void dma_free_contiguous(struct device *dev, struct page *page, in dma_free_contiguous()
192 static inline int dma_declare_coherent_memory(struct device *dev, in dma_declare_coherent_memory()
199 #define dma_alloc_from_dev_coherent(dev, size, handle, ret) (0) argument
200 #define dma_release_from_dev_coherent(dev, order, vaddr) (0) argument
201 #define dma_mmap_from_dev_coherent(dev, vma, vaddr, order, ret) (0) argument
203 static inline void *dma_alloc_from_global_coherent(struct device *dev, in dma_alloc_from_global_coherent()
251 static inline bool dev_is_dma_coherent(struct device *dev) in dev_is_dma_coherent()
256 static inline bool dev_is_dma_coherent(struct device *dev) in dev_is_dma_coherent()
288 static inline pgprot_t dma_pgprot(struct device *dev, pgprot_t prot, in dma_pgprot()
346 static inline void arch_setup_dma_ops(struct device *dev, u64 dma_base, in arch_setup_dma_ops()
356 static inline void arch_teardown_dma_ops(struct device *dev) in arch_teardown_dma_ops()
368 static inline void debug_dma_dump_mappings(struct device *dev) in debug_dma_dump_mappings()