Lines Matching +defs:dev +defs:attrs
34 static void *arm_nommu_dma_alloc(struct device *dev, size_t size, in arm_nommu_dma_alloc()
36 unsigned long attrs) in arm_nommu_dma_alloc()
55 static void arm_nommu_dma_free(struct device *dev, size_t size, in arm_nommu_dma_free()
57 unsigned long attrs) in arm_nommu_dma_free()
64 static int arm_nommu_dma_mmap(struct device *dev, struct vm_area_struct *vma, in arm_nommu_dma_mmap()
66 unsigned long attrs) in arm_nommu_dma_mmap()
98 static dma_addr_t arm_nommu_dma_map_page(struct device *dev, struct page *page, in arm_nommu_dma_map_page()
101 unsigned long attrs) in arm_nommu_dma_map_page()
110 static void arm_nommu_dma_unmap_page(struct device *dev, dma_addr_t handle, in arm_nommu_dma_unmap_page()
112 unsigned long attrs) in arm_nommu_dma_unmap_page()
118 static int arm_nommu_dma_map_sg(struct device *dev, struct scatterlist *sgl, in arm_nommu_dma_map_sg()
120 unsigned long attrs) in arm_nommu_dma_map_sg()
134 static void arm_nommu_dma_unmap_sg(struct device *dev, struct scatterlist *sgl, in arm_nommu_dma_unmap_sg()
136 unsigned long attrs) in arm_nommu_dma_unmap_sg()
145 static void arm_nommu_dma_sync_single_for_device(struct device *dev, in arm_nommu_dma_sync_single_for_device()
151 static void arm_nommu_dma_sync_single_for_cpu(struct device *dev, in arm_nommu_dma_sync_single_for_cpu()
157 static void arm_nommu_dma_sync_sg_for_device(struct device *dev, struct scatterlist *sgl, in arm_nommu_dma_sync_sg_for_device()
167 static void arm_nommu_dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sgl, in arm_nommu_dma_sync_sg_for_cpu()
194 void arch_setup_dma_ops(struct device *dev, u64 dma_base, u64 size, in arch_setup_dma_ops()