Searched refs:iova_pfn (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/drivers/iommu/ |
D | iova.c | 415 unsigned long iova_pfn; in alloc_iova_fast() local 418 iova_pfn = iova_rcache_get(iovad, size, limit_pfn + 1); in alloc_iova_fast() 419 if (iova_pfn) in alloc_iova_fast() 420 return iova_pfn; in alloc_iova_fast() 495 fq->entries[idx].iova_pfn, in fq_ring_free() 573 fq->entries[idx].iova_pfn = pfn; in queue_iova() 893 unsigned long iova_pfn) in __iova_rcache_insert() argument 927 iova_magazine_push(cpu_rcache->loaded, iova_pfn); in __iova_rcache_insert() 959 unsigned long iova_pfn = 0; in __iova_rcache_get() local 982 iova_pfn = iova_magazine_pop(cpu_rcache->loaded, limit_pfn); in __iova_rcache_get() [all …]
|
D | dma-iommu.c | 206 lo = iova_pfn(iovad, window->res->start - window->offset); in iova_reserve_pci_windows() 207 hi = iova_pfn(iovad, window->res->end - window->offset); in iova_reserve_pci_windows() 216 lo = iova_pfn(iovad, start); in iova_reserve_pci_windows() 217 hi = iova_pfn(iovad, end); in iova_reserve_pci_windows() 262 lo = iova_pfn(iovad, region->start); in iova_reserve_iommu_regions() 263 hi = iova_pfn(iovad, region->start + region->length - 1); in iova_reserve_iommu_regions() 453 queue_iova(iovad, iova_pfn(iovad, iova), in iommu_dma_free_iova() 456 free_iova_fast(iovad, iova_pfn(iovad, iova), in iommu_dma_free_iova()
|
/kernel/linux/linux-5.10/include/linux/ |
D | iova.h | 54 unsigned long iova_pfn; member 130 static inline unsigned long iova_pfn(struct iova_domain *iovad, dma_addr_t iova) in iova_pfn() function
|
/kernel/linux/linux-5.10/drivers/iommu/intel/ |
D | iommu.c | 3525 unsigned long iova_pfn; in intel_alloc_iova() local 3551 iova_pfn = alloc_iova_fast(&domain->iovad, nrpages, in intel_alloc_iova() 3553 if (iova_pfn) in intel_alloc_iova() 3554 return iova_pfn; in intel_alloc_iova() 3556 iova_pfn = alloc_iova_fast(&domain->iovad, nrpages, in intel_alloc_iova() 3558 if (unlikely(!iova_pfn)) { in intel_alloc_iova() 3564 return iova_pfn; in intel_alloc_iova() 3572 unsigned long iova_pfn; in __intel_map_single() local 3590 iova_pfn = intel_alloc_iova(dev, domain, dma_to_mm_pfn(size), dma_mask); in __intel_map_single() 3591 if (!iova_pfn) in __intel_map_single() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/media/ipu3/ |
D | ipu3-dmamap.c | 156 iova_pfn(&imgu->iova_domain, map->daddr)); in imgu_dmamap_unmap()
|
/kernel/linux/linux-5.10/drivers/s390/cio/ |
D | vfio_ccw_cp.c | 136 unsigned long iova_pfn = iova >> PAGE_SHIFT; in pfn_array_iova_pinned() local 140 if (pa->pa_iova_pfn[i] == iova_pfn) in pfn_array_iova_pinned()
|
/kernel/linux/linux-5.10/drivers/gpu/host1x/ |
D | cdma.c | 58 free_iova(&host1x->iova, iova_pfn(&host1x->iova, pb->dma)); in host1x_pushbuffer_destroy()
|
D | job.c | 654 iova_pfn(&host->iova, job->addr_phys[i])); in host1x_job_unpin()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/ |
D | drm.c | 1034 iova_pfn(&tegra->carveout.domain, dma)); in tegra_drm_free()
|
/kernel/linux/patches/linux-5.10/yangfan_patch/ |
D | drivers.patch | 39160 + pfn_lo = iova_pfn(iovad, base); 39161 + pfn_hi = iova_pfn(iovad, base + size - 1);
|