Searched refs:vtr (Results 1 – 2 of 2) sorted by relevance
967 u32 vtr, val; in __vgic_v3_read_ctlr() local969 vtr = read_gicreg(ICH_VTR_EL2); in __vgic_v3_read_ctlr()971 val = ((vtr >> 29) & 7) << ICC_CTLR_EL1_PRI_BITS_SHIFT; in __vgic_v3_read_ctlr()973 val |= ((vtr >> 23) & 7) << ICC_CTLR_EL1_ID_BITS_SHIFT; in __vgic_v3_read_ctlr()975 val |= ((vtr >> 22) & 1) << ICC_CTLR_EL1_SEIS_SHIFT; in __vgic_v3_read_ctlr()977 val |= ((vtr >> 21) & 1) << ICC_CTLR_EL1_A3V_SHIFT; in __vgic_v3_read_ctlr()
379 u32 vtr; in vgic_v2_probe() local411 vtr = readl_relaxed(kvm_vgic_global_state.vctrl_base + GICH_VTR); in vgic_v2_probe()412 kvm_vgic_global_state.nr_lr = (vtr & 0x3f) + 1; in vgic_v2_probe()