Searched refs:iova_pfn (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/iommu/ |
H A D | iova.c | 379 unsigned long iova_pfn; in alloc_iova_fast() local 391 iova_pfn = iova_rcache_get(iovad, size, limit_pfn + 1); in alloc_iova_fast() 392 if (iova_pfn) in alloc_iova_fast() 393 return iova_pfn; in alloc_iova_fast() 765 unsigned long iova_pfn) in __iova_rcache_insert() argument 794 iova_magazine_push(cpu_rcache->loaded, iova_pfn); in __iova_rcache_insert() 821 unsigned long iova_pfn = 0; in __iova_rcache_get() local 844 iova_pfn = iova_magazine_pop(cpu_rcache->loaded, limit_pfn); in __iova_rcache_get() 848 return iova_pfn; in __iova_rcache_get()
|
H A D | dma-iommu.c | 115 unsigned long iova_pfn; member 163 fq->entries[idx].iova_pfn, in fq_ring_free_locked() 240 fq->entries[idx].iova_pfn = pfn; in queue_iova() 529 lo = iova_pfn(iovad, window->res->start - window->offset); in iova_reserve_pci_windows() 530 hi = iova_pfn(iovad, window->res->end - window->offset); in iova_reserve_pci_windows() 540 lo = iova_pfn(iovad, start); in iova_reserve_pci_windows() 541 hi = iova_pfn(iovad, end); in iova_reserve_pci_windows() 586 lo = iova_pfn(iovad, region->start); in iova_reserve_iommu_regions() 587 hi = iova_pfn(iovad, region->start + region->length - 1); in iova_reserve_iommu_regions() 817 queue_iova(cookie, iova_pfn(iovad, iova), in iommu_dma_free_iova() [all …]
|
/linux/drivers/vdpa/vdpa_user/ |
H A D | iova_domain.c | 363 unsigned long iova_pfn; in vduse_domain_alloc_iova() local 365 iova_pfn = alloc_iova_fast(iovad, iova_len, limit >> shift, true); in vduse_domain_alloc_iova() 367 return (dma_addr_t)iova_pfn << shift; in vduse_domain_alloc_iova()
|
/linux/drivers/staging/media/ipu3/ |
H A D | ipu3-dmamap.c | 156 iova_pfn(&imgu->iova_domain, map->daddr)); in imgu_dmamap_unmap()
|
/linux/drivers/gpu/host1x/ |
H A D | cdma.c | 58 free_iova(&host1x->iova, iova_pfn(&host1x->iova, pb->dma)); in host1x_pushbuffer_destroy()
|
H A D | job.c | 664 free_iova(&host->iova, iova_pfn(&host->iova, job->addr_phys[i])); in host1x_job_unpin()
|
/linux/drivers/gpu/drm/tegra/ |
H A D | drm.c | 1081 iova_pfn(&tegra->carveout.domain, dma)); in tegra_drm_free()
|