Lines Matching refs:vaddr
194 int order, void *vaddr) in __dma_release_from_coherent() argument
196 if (mem && vaddr >= mem->virt_base && vaddr < in __dma_release_from_coherent()
198 int page = (vaddr - mem->virt_base) >> PAGE_SHIFT; in __dma_release_from_coherent()
221 int dma_release_from_dev_coherent(struct device *dev, int order, void *vaddr) in dma_release_from_dev_coherent() argument
225 return __dma_release_from_coherent(mem, order, vaddr); in dma_release_from_dev_coherent()
228 int dma_release_from_global_coherent(int order, void *vaddr) in dma_release_from_global_coherent() argument
234 vaddr); in dma_release_from_global_coherent()
238 struct vm_area_struct *vma, void *vaddr, size_t size, int *ret) in __dma_mmap_from_coherent() argument
240 if (mem && vaddr >= mem->virt_base && vaddr + size <= in __dma_mmap_from_coherent()
243 int start = (vaddr - mem->virt_base) >> PAGE_SHIFT; in __dma_mmap_from_coherent()
275 void *vaddr, size_t size, int *ret) in dma_mmap_from_dev_coherent() argument
279 return __dma_mmap_from_coherent(mem, vma, vaddr, size, ret); in dma_mmap_from_dev_coherent()
282 int dma_mmap_from_global_coherent(struct vm_area_struct *vma, void *vaddr, in dma_mmap_from_global_coherent() argument
289 vaddr, size, ret); in dma_mmap_from_global_coherent()