Searched refs:PM_LEVEL_INDEX (Results 1 – 3 of 3) sorted by relevance
143 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()
218 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()
321 #define PM_LEVEL_INDEX(x, a) (((a) >> PM_LEVEL_SHIFT((x))) & 0x1ffULL) macro