Lines Matching +defs:dev +defs:attrs

91 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()
104 static inline const struct dma_map_ops *get_dma_ops(struct device *dev) in get_dma_ops()
108 static inline void set_dma_ops(struct device *dev, in set_dma_ops()
117 static inline struct cma *dev_get_cma_area(struct device *dev) in dev_get_cma_area()
137 static inline struct cma *dev_get_cma_area(struct device *dev) in dev_get_cma_area()
150 static inline struct page *dma_alloc_from_contiguous(struct device *dev, in dma_alloc_from_contiguous()
155 static inline bool dma_release_from_contiguous(struct device *dev, in dma_release_from_contiguous()
161 static inline struct page *dma_alloc_contiguous(struct device *dev, size_t size, in dma_alloc_contiguous()
166 static inline void dma_free_contiguous(struct device *dev, struct page *page, in dma_free_contiguous()
183 static inline int dma_declare_coherent_memory(struct device *dev, in dma_declare_coherent_memory()
189 #define dma_alloc_from_dev_coherent(dev, size, handle, ret) (0) argument
190 #define dma_release_from_dev_coherent(dev, order, vaddr) (0) argument
191 #define dma_mmap_from_dev_coherent(dev, vma, vaddr, order, ret) (0) argument
192 static inline void dma_release_coherent_memory(struct device *dev) { } in dma_release_coherent_memory()
203 static inline void *dma_alloc_from_global_coherent(struct device *dev, in dma_alloc_from_global_coherent()
263 static inline bool dev_is_dma_coherent(struct device *dev) in dev_is_dma_coherent()
270 static inline bool dev_is_dma_coherent(struct device *dev) in dev_is_dma_coherent()
279 static inline bool dma_kmalloc_safe(struct device *dev, in dma_kmalloc_safe()
330 static inline bool dma_kmalloc_needs_bounce(struct device *dev, size_t size, in dma_kmalloc_needs_bounce()
344 #define arch_dma_set_mask(dev, mask) do { } while (0) argument
360 static inline pgprot_t dma_pgprot(struct device *dev, pgprot_t prot, in dma_pgprot()
361 unsigned long attrs) in dma_pgprot()
432 static inline void arch_setup_dma_ops(struct device *dev, u64 dma_base, in arch_setup_dma_ops()
441 static inline void arch_teardown_dma_ops(struct device *dev) in arch_teardown_dma_ops()
453 static inline void debug_dma_dump_mappings(struct device *dev) in debug_dma_dump_mappings()
506 pci_p2pdma_map_segment(struct pci_p2pdma_map_state *state, struct device *dev, in pci_p2pdma_map_segment()