Searched refs:vtr_to_nr_pre_bits (Results 1 – 1 of 1) sorted by relevance
18 #define vtr_to_nr_pre_bits(v) ((((u32)(v) >> 26) & 7) + 1) macro19 #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()