Home
last modified time | relevance | path

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

/linux-5.19.10/include/linux/
Diova.h48 static inline unsigned long iova_shift(struct iova_domain *iovad) in iova_shift() function
70 return (dma_addr_t)iova->pfn_lo << iova_shift(iovad); in iova_dma_addr()
75 return iova >> iova_shift(iovad); in iova_pfn()
/linux-5.19.10/drivers/media/platform/nvidia/tegra-vde/
Diommu.c31 shift = iova_shift(&vde->iova); in tegra_vde_iommu_map()
53 unsigned long shift = iova_shift(&vde->iova); in tegra_vde_iommu_unmap()
102 shift = iova_shift(&vde->iova); in tegra_vde_iommu_init()
/linux-5.19.10/drivers/staging/media/ipu3/
Dipu3-dmamap.c96 unsigned long shift = iova_shift(&imgu->iova_domain); in imgu_dmamap_alloc()
161 iova_size(iova) << iova_shift(&imgu->iova_domain)); in imgu_dmamap_unmap()
187 unsigned long shift = iova_shift(&imgu->iova_domain); in imgu_dmamap_map_sg()
/linux-5.19.10/drivers/vdpa/vdpa_user/
Diova_domain.c291 unsigned long shift = iova_shift(iovad); in vduse_domain_alloc_iova()
303 unsigned long shift = iova_shift(iovad); in vduse_domain_free_iova()
/linux-5.19.10/drivers/iommu/
Ddma-iommu.c401 num_pages = iova_align(iovad, end - start) >> iova_shift(iovad); in cookie_init_hw_msi_region()
626 shift = iova_shift(iovad); in iommu_dma_alloc_iova()
656 size >> iova_shift(iovad), in iommu_dma_free_iova()
660 size >> iova_shift(iovad)); in iommu_dma_free_iova()
Diova.c63 iovad->dma_32bit_pfn = 1UL << (32 - iova_shift(iovad)); in init_iova_domain()
581 if (WARN_ON((pfn_hi | pfn_lo) > (ULLONG_MAX >> iova_shift(iovad)))) in reserve_iova()
/linux-5.19.10/drivers/gpu/host1x/
Dcdma.c98 shift = iova_shift(&host1x->iova); in host1x_pushbuffer_init()
Djob.c237 shift = iova_shift(&host->iova); in pin_job()
/linux-5.19.10/drivers/vdpa/vdpa_sim/
Dvdpa_sim.c146 iova = alloc_iova(&vdpasim->iova, size >> iova_shift(&vdpasim->iova), in vdpasim_map_range()
/linux-5.19.10/drivers/gpu/drm/tegra/
Ddrm.c1219 tegra->carveout.shift = iova_shift(&tegra->carveout.domain); in host1x_drm_probe()