Searched refs:iova_pfn (Results 1 – 10 of 10) sorted by relevance
/linux-6.1.9/drivers/iommu/ |
D | iova.c | 442 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()
|
D | dma-iommu.c | 93 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/ |
D | iova.h | 73 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/ |
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()
|
/linux-6.1.9/drivers/staging/media/ipu3/ |
D | ipu3-dmamap.c | 156 iova_pfn(&imgu->iova_domain, map->daddr)); in imgu_dmamap_unmap()
|
/linux-6.1.9/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()
|
/linux-6.1.9/drivers/vdpa/vdpa_sim/ |
D | vdpa_sim.c | 175 free_iova(&vdpasim->iova, iova_pfn(&vdpasim->iova, dma_addr)); in vdpasim_unmap_range()
|
/linux-6.1.9/drivers/gpu/drm/tegra/ |
D | drm.c | 1085 iova_pfn(&tegra->carveout.domain, dma)); in tegra_drm_free()
|
/linux-6.1.9/drivers/iommu/intel/ |
D | iommu.c | 4381 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()
|