Home
last modified time | relevance | path

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

/linux/arch/arm64/kvm/hyp/
H A Dvgic-v3-sr.c18 #define vtr_to_nr_pre_bits(v) ((((u32)(v) >> 26) & 7) + 1) macro
19 #define vtr_to_nr_apr_regs(v) (1 << (vtr_to_nr_pre_bits(v) - 5))
349 nr_pre_bits = vtr_to_nr_pre_bits(val); in __vgic_v3_save_aprs()
382 nr_pre_bits = vtr_to_nr_pre_bits(val); in __vgic_v3_restore_aprs()
500 return 8 - vtr_to_nr_pre_bits(read_gicreg(ICH_VTR_EL2)); in __vgic_v3_bpr_min()