Home
last modified time | relevance | path

Searched refs:PM_LEVEL_INDEX (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/iommu/amd/
Dio_pgtable_v2.c149 pte = &pgd[PM_LEVEL_INDEX(level, iova)]; in v2_alloc_pte()
181 pte = &pte[PM_LEVEL_INDEX(level, iova)]; in v2_alloc_pte()
211 pte = &pgtable->pgd[PM_LEVEL_INDEX(level, iova)]; in fetch_pte()
222 pte = &pte[PM_LEVEL_INDEX(level - 1, iova)]; in fetch_pte()
Dio_pgtable.c218 pte = &domain->iop.root[PM_LEVEL_INDEX(level, address)]; in alloc_pte()
280 pte = &pte[PM_LEVEL_INDEX(level, address)]; in alloc_pte()
303 pte = &pgtable->root[PM_LEVEL_INDEX(level, address)]; in fetch_pte()
325 pte = &pte[PM_LEVEL_INDEX(level, address)]; in fetch_pte()
Damd_iommu_types.h312 #define PM_LEVEL_INDEX(x, a) (((a) >> PM_LEVEL_SHIFT((x))) & 0x1ffULL) macro