Home
last modified time | relevance | path

Searched refs:iova_pfn (Results 1 – 9 of 9) sorted by relevance

/drivers/iommu/
Diova.c451 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()
Ddma-iommu.c98 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/
Diova_domain.c360 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/
Dipu3-dmamap.c156 iova_pfn(&imgu->iova_domain, map->daddr)); in imgu_dmamap_unmap()
/drivers/gpu/host1x/
Dcdma.c58 free_iova(&host1x->iova, iova_pfn(&host1x->iova, pb->dma)); in host1x_pushbuffer_destroy()
Djob.c658 free_iova(&host->iova, iova_pfn(&host->iova, job->addr_phys[i])); in host1x_job_unpin()
/drivers/vdpa/vdpa_sim/
Dvdpa_sim.c188 free_iova(&vdpasim->iova, iova_pfn(&vdpasim->iova, dma_addr)); in vdpasim_unmap_range()
/drivers/gpu/drm/tegra/
Ddrm.c1085 iova_pfn(&tegra->carveout.domain, dma)); in tegra_drm_free()
/drivers/iommu/intel/
Diommu.c4398 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()