Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A 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()
/openbmc/linux/drivers/media/platform/nvidia/tegra-vde/
H A 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()
/openbmc/linux/drivers/staging/media/ipu3/
H A 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()
/openbmc/linux/drivers/vdpa/vdpa_user/
H A Diova_domain.c358 unsigned long shift = iova_shift(iovad); in vduse_domain_alloc_iova()
370 unsigned long shift = iova_shift(iovad); in vduse_domain_free_iova()
/openbmc/linux/drivers/iommu/
H A Diova.c68 iovad->dma_32bit_pfn = 1UL << (32 - iova_shift(iovad)); in init_iova_domain()
586 if (WARN_ON((pfn_hi | pfn_lo) > (ULLONG_MAX >> iova_shift(iovad)))) in reserve_iova()
H A Ddma-iommu.c409 num_pages = iova_align(iovad, end - start) >> iova_shift(iovad); in cookie_init_hw_msi_region()
671 shift = iova_shift(iovad); in iommu_dma_alloc_iova()
715 size >> iova_shift(iovad), in iommu_dma_free_iova()
719 size >> iova_shift(iovad)); in iommu_dma_free_iova()
/openbmc/linux/drivers/gpu/host1x/
H A Dcdma.c98 shift = iova_shift(&host1x->iova); in host1x_pushbuffer_init()
H A Djob.c243 shift = iova_shift(&host->iova); in pin_job()
/openbmc/linux/drivers/gpu/drm/tegra/
H A Ddrm.c1214 tegra->carveout.shift = iova_shift(&tegra->carveout.domain); in host1x_drm_probe()