Lines Matching refs:parange
26 u64 parange; in __init_stage2_translation() local
34 parange = read_sysreg(id_aa64mmfr0_el1) & 7; in __init_stage2_translation()
35 if (parange > ID_AA64MMFR0_PARANGE_MAX) in __init_stage2_translation()
36 parange = ID_AA64MMFR0_PARANGE_MAX; in __init_stage2_translation()
37 val |= parange << 16; in __init_stage2_translation()
40 switch (parange) { in __init_stage2_translation()
42 parange = 32; in __init_stage2_translation()
45 parange = 36; in __init_stage2_translation()
48 parange = 40; in __init_stage2_translation()
51 parange = 42; in __init_stage2_translation()
54 parange = 44; in __init_stage2_translation()
58 parange = 48; in __init_stage2_translation()
68 val |= 64 - (parange > 40 ? 40 : parange); in __init_stage2_translation()
89 return parange; in __init_stage2_translation()