Home
last modified time | relevance | path

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

/linux/drivers/iommu/amd/
H A Dio_pgtable_v2.c139 pte = &pgd[PM_LEVEL_INDEX(level, iova)]; in v2_alloc_pte()
171 pte = &pte[PM_LEVEL_INDEX(level, iova)]; in v2_alloc_pte()
201 pte = &pgtable->pgd[PM_LEVEL_INDEX(level, iova)]; in fetch_pte()
212 pte = &pte[PM_LEVEL_INDEX(level - 1, iova)]; in fetch_pte()
H A Dio_pgtable.c183 pte = &pgtable->root[PM_LEVEL_INDEX(level, address)]; in alloc_pte()
245 pte = &pte[PM_LEVEL_INDEX(level, address)]; in alloc_pte()
268 pte = &pgtable->root[PM_LEVEL_INDEX(level, address)]; in fetch_pte()
290 pte = &pte[PM_LEVEL_INDEX(level, address)]; in fetch_pte()
H A Damd_iommu_types.h335 #define PM_LEVEL_INDEX(x, a) (((a) >> PM_LEVEL_SHIFT((x))) & 0x1ffULL) macro