Home
last modified time | relevance | path

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

/Linux-v6.6/arch/arm64/kvm/hyp/
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))
339 nr_pre_bits = vtr_to_nr_pre_bits(val); in __vgic_v3_save_aprs()
372 nr_pre_bits = vtr_to_nr_pre_bits(val); in __vgic_v3_restore_aprs()
471 return 8 - vtr_to_nr_pre_bits(read_gicreg(ICH_VTR_EL2)); in __vgic_v3_bpr_min()