Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/iommu/
Diova.c442 unsigned long iova_pfn; in alloc_iova_fast() local
454 iova_pfn = iova_rcache_get(iovad, size, limit_pfn + 1); in alloc_iova_fast()
455 if (iova_pfn) in alloc_iova_fast()
456 return iova_pfn; in alloc_iova_fast()
771 unsigned long iova_pfn) in __iova_rcache_insert() argument
805 iova_magazine_push(cpu_rcache->loaded, iova_pfn); in __iova_rcache_insert()
837 unsigned long iova_pfn = 0; in __iova_rcache_get() local
860 iova_pfn = iova_magazine_pop(cpu_rcache->loaded, limit_pfn); in __iova_rcache_get()
864 return iova_pfn; in __iova_rcache_get()
Ddma-iommu.c93 unsigned long iova_pfn; member
140 fq->entries[idx].iova_pfn, in fq_ring_free()
207 fq->entries[idx].iova_pfn = pfn; in queue_iova()
443 lo = iova_pfn(iovad, window->res->start - window->offset); in iova_reserve_pci_windows()
444 hi = iova_pfn(iovad, window->res->end - window->offset); in iova_reserve_pci_windows()
454 lo = iova_pfn(iovad, start); in iova_reserve_pci_windows()
455 hi = iova_pfn(iovad, end); in iova_reserve_pci_windows()
500 lo = iova_pfn(iovad, region->start); in iova_reserve_iommu_regions()
501 hi = iova_pfn(iovad, region->start + region->length - 1); in iova_reserve_iommu_regions()
666 queue_iova(cookie, iova_pfn(iovad, iova), in iommu_dma_free_iova()
[all …]
/linux-6.1.9/include/linux/
Diova.h73 static inline unsigned long iova_pfn(struct iova_domain *iovad, dma_addr_t iova) in iova_pfn() function
/linux-6.1.9/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()
/linux-6.1.9/drivers/staging/media/ipu3/
Dipu3-dmamap.c156 iova_pfn(&imgu->iova_domain, map->daddr)); in imgu_dmamap_unmap()
/linux-6.1.9/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()
/linux-6.1.9/drivers/vdpa/vdpa_sim/
Dvdpa_sim.c175 free_iova(&vdpasim->iova, iova_pfn(&vdpasim->iova, dma_addr)); in vdpasim_unmap_range()
/linux-6.1.9/drivers/gpu/drm/tegra/
Ddrm.c1085 iova_pfn(&tegra->carveout.domain, dma)); in tegra_drm_free()
/linux-6.1.9/drivers/iommu/intel/
Diommu.c4381 unsigned long iova_pfn = IOVA_PFN(gather->start); in intel_iommu_tlb_sync() local
4389 start_pfn = mm_to_dma_pfn(iova_pfn); in intel_iommu_tlb_sync()