Searched refs:ARM64_HW_PGTABLE_LEVEL_SHIFT (Results 1 – 5 of 5) sorted by relevance
41 #define ARM64_HW_PGTABLE_LEVEL_SHIFT(n) ((PAGE_SHIFT - 3) * (4 - (n)) + 3) macro49 #define PMD_SHIFT ARM64_HW_PGTABLE_LEVEL_SHIFT(2)59 #define PUD_SHIFT ARM64_HW_PGTABLE_LEVEL_SHIFT(1)66 #define P4D_SHIFT ARM64_HW_PGTABLE_LEVEL_SHIFT(0)76 #define PGDIR_SHIFT ARM64_HW_PGTABLE_LEVEL_SHIFT(4 - CONFIG_PGTABLE_LEVELS)
152 return ARM64_HW_PGTABLE_LEVEL_SHIFT(level); in kvm_granule_shift()
399 return BIT(ARM64_HW_PGTABLE_LEVEL_SHIFT(esr & ESR_ELx_FSC_LEVEL)); in kvm_vcpu_trap_get_perm_fault_granule()
252 level_lsb = ARM64_HW_PGTABLE_LEVEL_SHIFT(this_level); in trans_pgd_idmap_page()
849 return BIT(ARM64_HW_PGTABLE_LEVEL_SHIFT(level)); in get_user_mapping_size()