Lines Matching defs:dev
100 static inline void debug_dma_mapping_error(struct device *dev, in debug_dma_mapping_error()
104 static inline void debug_dma_map_single(struct device *dev, const void *addr, in debug_dma_map_single()
111 static inline int dma_mapping_error(struct device *dev, dma_addr_t dma_addr) in dma_mapping_error()
165 static inline dma_addr_t dma_map_page_attrs(struct device *dev, in dma_map_page_attrs()
171 static inline void dma_unmap_page_attrs(struct device *dev, dma_addr_t addr, in dma_unmap_page_attrs()
175 static inline int dma_map_sg_attrs(struct device *dev, struct scatterlist *sg, in dma_map_sg_attrs()
180 static inline void dma_unmap_sg_attrs(struct device *dev, in dma_unmap_sg_attrs()
185 static inline dma_addr_t dma_map_resource(struct device *dev, in dma_map_resource()
191 static inline void dma_unmap_resource(struct device *dev, dma_addr_t addr, in dma_unmap_resource()
195 static inline void dma_sync_single_for_cpu(struct device *dev, dma_addr_t addr, in dma_sync_single_for_cpu()
199 static inline void dma_sync_single_for_device(struct device *dev, in dma_sync_single_for_device()
203 static inline void dma_sync_sg_for_cpu(struct device *dev, in dma_sync_sg_for_cpu()
207 static inline void dma_sync_sg_for_device(struct device *dev, in dma_sync_sg_for_device()
211 static inline int dma_mapping_error(struct device *dev, dma_addr_t dma_addr) in dma_mapping_error()
215 static inline void *dma_alloc_attrs(struct device *dev, size_t size, in dma_alloc_attrs()
220 static void dma_free_attrs(struct device *dev, size_t size, void *cpu_addr, in dma_free_attrs()
224 static inline void *dmam_alloc_attrs(struct device *dev, size_t size, in dmam_alloc_attrs()
229 static inline void dmam_free_coherent(struct device *dev, size_t size, in dmam_free_coherent()
233 static inline int dma_get_sgtable_attrs(struct device *dev, in dma_get_sgtable_attrs()
239 static inline int dma_mmap_attrs(struct device *dev, struct vm_area_struct *vma, in dma_mmap_attrs()
245 static inline bool dma_can_mmap(struct device *dev) in dma_can_mmap()
249 static inline int dma_supported(struct device *dev, u64 mask) in dma_supported()
253 static inline int dma_set_mask(struct device *dev, u64 mask) in dma_set_mask()
257 static inline int dma_set_coherent_mask(struct device *dev, u64 mask) in dma_set_coherent_mask()
261 static inline u64 dma_get_required_mask(struct device *dev) in dma_get_required_mask()
265 static inline size_t dma_max_mapping_size(struct device *dev) in dma_max_mapping_size()
269 static inline bool dma_need_sync(struct device *dev, dma_addr_t dma_addr) in dma_need_sync()
273 static inline unsigned long dma_get_merge_boundary(struct device *dev) in dma_get_merge_boundary()
288 static inline dma_addr_t dma_map_single_attrs(struct device *dev, void *ptr, in dma_map_single_attrs()
300 static inline void dma_unmap_single_attrs(struct device *dev, dma_addr_t addr, in dma_unmap_single_attrs()
306 static inline void dma_sync_single_range_for_cpu(struct device *dev, in dma_sync_single_range_for_cpu()
313 static inline void dma_sync_single_range_for_device(struct device *dev, in dma_sync_single_range_for_device()
336 static inline int dma_map_sgtable(struct device *dev, struct sg_table *sgt, in dma_map_sgtable()
359 static inline void dma_unmap_sgtable(struct device *dev, struct sg_table *sgt, in dma_unmap_sgtable()
377 static inline void dma_sync_sgtable_for_cpu(struct device *dev, in dma_sync_sgtable_for_cpu()
394 static inline void dma_sync_sgtable_for_device(struct device *dev, in dma_sync_sgtable_for_device()
409 static inline void *dma_alloc_coherent(struct device *dev, size_t size, in dma_alloc_coherent()
417 static inline void dma_free_coherent(struct device *dev, size_t size, in dma_free_coherent()
424 static inline u64 dma_get_mask(struct device *dev) in dma_get_mask()
437 static inline int dma_set_mask_and_coherent(struct device *dev, u64 mask) in dma_set_mask_and_coherent()
449 static inline int dma_coerce_mask_and_coherent(struct device *dev, u64 mask) in dma_coerce_mask_and_coherent()
463 static inline bool dma_addressing_limited(struct device *dev) in dma_addressing_limited()
469 static inline unsigned int dma_get_max_seg_size(struct device *dev) in dma_get_max_seg_size()
476 static inline int dma_set_max_seg_size(struct device *dev, unsigned int size) in dma_set_max_seg_size()
485 static inline unsigned long dma_get_seg_boundary(struct device *dev) in dma_get_seg_boundary()
503 static inline unsigned long dma_get_seg_boundary_nr_pages(struct device *dev, in dma_get_seg_boundary_nr_pages()
511 static inline int dma_set_seg_boundary(struct device *dev, unsigned long mask) in dma_set_seg_boundary()
520 static inline unsigned int dma_get_min_align_mask(struct device *dev) in dma_get_min_align_mask()
527 static inline int dma_set_min_align_mask(struct device *dev, in dma_set_min_align_mask()
544 static inline void *dmam_alloc_coherent(struct device *dev, size_t size, in dmam_alloc_coherent()
551 static inline void *dma_alloc_wc(struct device *dev, size_t size, in dma_alloc_wc()
562 static inline void dma_free_wc(struct device *dev, size_t size, in dma_free_wc()
569 static inline int dma_mmap_wc(struct device *dev, in dma_mmap_wc()