Lines Matching refs:device
32 static inline struct dma_map_ops *__generic_dma_ops(struct device *dev) in __generic_dma_ops()
40 static inline struct dma_map_ops *get_dma_ops(struct device *dev) in get_dma_ops()
48 static inline void arch_setup_dma_ops(struct device *dev, u64 dma_base, u64 size, in arch_setup_dma_ops()
56 static inline bool is_device_dma_coherent(struct device *dev) in is_device_dma_coherent()
65 static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma()
70 static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t dev_addr) in dma_to_phys()
75 static inline int dma_mapping_error(struct device *dev, dma_addr_t dev_addr) in dma_mapping_error()
82 static inline int dma_supported(struct device *dev, u64 mask) in dma_supported()
88 static inline int dma_set_mask(struct device *dev, u64 mask) in dma_set_mask()
97 static inline bool dma_capable(struct device *dev, dma_addr_t addr, size_t size) in dma_capable()
112 static inline void *dma_alloc_attrs(struct device *dev, size_t size, in dma_alloc_attrs()
127 static inline void dma_free_attrs(struct device *dev, size_t size, in dma_free_attrs()
143 static inline void *dma_alloc_noncoherent(struct device *dev, size_t size, in dma_alloc_noncoherent()
149 static inline void dma_free_noncoherent(struct device *dev, size_t size, in dma_free_noncoherent()