Searched refs:iova_pfn (Results 1 – 9 of 9) sorted by relevance
/drivers/iommu/ |
D | iova.c | 451 unsigned long iova_pfn; in alloc_iova_fast() local 463 iova_pfn = iova_rcache_get(iovad, size, limit_pfn + 1); in alloc_iova_fast() 464 if (iova_pfn) in alloc_iova_fast() 465 return iova_pfn; in alloc_iova_fast() 780 unsigned long iova_pfn) in __iova_rcache_insert() argument 814 iova_magazine_push(cpu_rcache->loaded, iova_pfn); in __iova_rcache_insert() 846 unsigned long iova_pfn = 0; in __iova_rcache_get() local 869 iova_pfn = iova_magazine_pop(cpu_rcache->loaded, limit_pfn); in __iova_rcache_get() 873 return iova_pfn; in __iova_rcache_get()
|
D | dma-iommu.c | 98 unsigned long iova_pfn; member 145 fq->entries[idx].iova_pfn, in fq_ring_free() 212 fq->entries[idx].iova_pfn = pfn; in queue_iova() 450 lo = iova_pfn(iovad, window->res->start - window->offset); in iova_reserve_pci_windows() 451 hi = iova_pfn(iovad, window->res->end - window->offset); in iova_reserve_pci_windows() 461 lo = iova_pfn(iovad, start); in iova_reserve_pci_windows() 462 hi = iova_pfn(iovad, end); in iova_reserve_pci_windows() 507 lo = iova_pfn(iovad, region->start); in iova_reserve_iommu_regions() 508 hi = iova_pfn(iovad, region->start + region->length - 1); in iova_reserve_iommu_regions() 682 queue_iova(cookie, iova_pfn(iovad, iova), in iommu_dma_free_iova() [all …]
|
/drivers/vdpa/vdpa_user/ |
D | iova_domain.c | 360 unsigned long iova_pfn; in vduse_domain_alloc_iova() local 362 iova_pfn = alloc_iova_fast(iovad, iova_len, limit >> shift, true); in vduse_domain_alloc_iova() 364 return (dma_addr_t)iova_pfn << shift; in vduse_domain_alloc_iova()
|
/drivers/staging/media/ipu3/ |
D | ipu3-dmamap.c | 156 iova_pfn(&imgu->iova_domain, map->daddr)); in imgu_dmamap_unmap()
|
/drivers/gpu/host1x/ |
D | cdma.c | 58 free_iova(&host1x->iova, iova_pfn(&host1x->iova, pb->dma)); in host1x_pushbuffer_destroy()
|
D | job.c | 658 free_iova(&host->iova, iova_pfn(&host->iova, job->addr_phys[i])); in host1x_job_unpin()
|
/drivers/vdpa/vdpa_sim/ |
D | vdpa_sim.c | 188 free_iova(&vdpasim->iova, iova_pfn(&vdpasim->iova, dma_addr)); in vdpasim_unmap_range()
|
/drivers/gpu/drm/tegra/ |
D | drm.c | 1085 iova_pfn(&tegra->carveout.domain, dma)); in tegra_drm_free()
|
/drivers/iommu/intel/ |
D | iommu.c | 4398 unsigned long iova_pfn = IOVA_PFN(gather->start); in intel_iommu_tlb_sync() local 4406 start_pfn = mm_to_dma_pfn(iova_pfn); in intel_iommu_tlb_sync()
|