Lines Matching refs:dma_handle
66 dma_addr_t *dma_handle, gfp_t flag, in __dma_nommu_alloc_coherent() argument
71 ret = __dma_alloc_coherent(dev, size, dma_handle, flag); in __dma_nommu_alloc_coherent()
74 *dma_handle += get_dma_offset(dev); in __dma_nommu_alloc_coherent()
113 *dma_handle = __pa(ret) + get_dma_offset(dev); in __dma_nommu_alloc_coherent()
120 void *vaddr, dma_addr_t dma_handle, in __dma_nommu_free_coherent() argument
131 dma_addr_t *dma_handle, gfp_t flag, in dma_nommu_alloc_coherent() argument
140 return __dma_nommu_alloc_coherent(dev, size, dma_handle, in dma_nommu_alloc_coherent()
149 return iommu_alloc_coherent(dev, iommu, size, dma_handle, in dma_nommu_alloc_coherent()
155 void *vaddr, dma_addr_t dma_handle, in dma_nommu_free_coherent() argument
162 return __dma_nommu_free_coherent(dev, size, vaddr, dma_handle, in dma_nommu_free_coherent()
172 iommu_free_coherent(iommu, size, vaddr, dma_handle); in dma_nommu_free_coherent()
265 dma_addr_t dma_handle, size_t size, in dma_nommu_sync_single() argument
268 __dma_sync(bus_to_virt(dma_handle), size, direction); in dma_nommu_sync_single()