Home
last modified time | relevance | path

Searched refs:vaddr (Results 1 – 2 of 2) sorted by relevance

/lib/
Dswiotlb.c392 unsigned char *vaddr = phys_to_virt(tlb_addr); in swiotlb_bounce() local
407 memcpy(vaddr, buffer + offset, sz); in swiotlb_bounce()
409 memcpy(buffer + offset, vaddr, sz); in swiotlb_bounce()
415 vaddr += sz; in swiotlb_bounce()
419 memcpy(vaddr, phys_to_virt(orig_addr), size); in swiotlb_bounce()
421 memcpy(phys_to_virt(orig_addr), vaddr, size); in swiotlb_bounce()
684 swiotlb_free_coherent(struct device *hwdev, size_t size, void *vaddr, in swiotlb_free_coherent() argument
691 free_pages((unsigned long)vaddr, get_order(size)); in swiotlb_free_coherent()
Dgenalloc.c328 unsigned long vaddr; in gen_pool_dma_alloc() local
333 vaddr = gen_pool_alloc(pool, size); in gen_pool_dma_alloc()
334 if (!vaddr) in gen_pool_dma_alloc()
338 *dma = gen_pool_virt_to_phys(pool, vaddr); in gen_pool_dma_alloc()
340 return (void *)vaddr; in gen_pool_dma_alloc()