Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/iommu/amd/
Dio_pgtable_v2.c143 pte = &pgd[PM_LEVEL_INDEX(level, iova)]; in v2_alloc_pte()
175 pte = &pte[PM_LEVEL_INDEX(level, iova)]; in v2_alloc_pte()
205 pte = &pgtable->pgd[PM_LEVEL_INDEX(level, iova)]; in fetch_pte()
216 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.h321 #define PM_LEVEL_INDEX(x, a) (((a) >> PM_LEVEL_SHIFT((x))) & 0x1ffULL) macro