Lines Matching defs:dev
28 static void dmam_release(struct device *dev, void *res) in dmam_release()
36 static int dmam_match(struct device *dev, void *res, void *match_data) in dmam_match()
57 void dmam_free_coherent(struct device *dev, size_t size, void *vaddr, in dmam_free_coherent()
81 void *dmam_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle, in dmam_alloc_attrs()
111 int dma_common_get_sgtable(struct device *dev, struct sg_table *sgt, in dma_common_get_sgtable()
151 int dma_get_sgtable_attrs(struct device *dev, struct sg_table *sgt, in dma_get_sgtable_attrs()
171 pgprot_t dma_pgprot(struct device *dev, pgprot_t prot, unsigned long attrs) in dma_pgprot()
190 int dma_common_mmap(struct device *dev, struct vm_area_struct *vma, in dma_common_mmap()
236 bool dma_can_mmap(struct device *dev) in dma_can_mmap()
263 int dma_mmap_attrs(struct device *dev, struct vm_area_struct *vma, in dma_mmap_attrs()
278 u64 dma_get_required_mask(struct device *dev) in dma_get_required_mask()
299 void *dma_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle, in dma_alloc_attrs()
325 void dma_free_attrs(struct device *dev, size_t size, void *cpu_addr, in dma_free_attrs()
352 int dma_supported(struct device *dev, u64 mask) in dma_supported()
367 #define arch_dma_set_mask(dev, mask) do { } while (0) argument
370 int dma_set_mask(struct device *dev, u64 mask) in dma_set_mask()
388 int dma_set_coherent_mask(struct device *dev, u64 mask) in dma_set_coherent_mask()
405 void dma_cache_sync(struct device *dev, void *vaddr, size_t size, in dma_cache_sync()
419 size_t dma_max_mapping_size(struct device *dev) in dma_max_mapping_size()
433 unsigned long dma_get_merge_boundary(struct device *dev) in dma_get_merge_boundary()