Home
last modified time | relevance | path

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

/virt/kvm/arm/hyp/
Dvgic-v3-sr.c964 u32 vtr, val; in __vgic_v3_read_ctlr() local
966 vtr = read_gicreg(ICH_VTR_EL2); in __vgic_v3_read_ctlr()
968 val = ((vtr >> 29) & 7) << ICC_CTLR_EL1_PRI_BITS_SHIFT; in __vgic_v3_read_ctlr()
970 val |= ((vtr >> 23) & 7) << ICC_CTLR_EL1_ID_BITS_SHIFT; in __vgic_v3_read_ctlr()
972 val |= ((vtr >> 22) & 1) << ICC_CTLR_EL1_SEIS_SHIFT; in __vgic_v3_read_ctlr()
974 val |= ((vtr >> 21) & 1) << ICC_CTLR_EL1_A3V_SHIFT; in __vgic_v3_read_ctlr()
/virt/kvm/arm/vgic/
Dvgic-v2.c369 u32 vtr; in vgic_v2_probe() local
401 vtr = readl_relaxed(kvm_vgic_global_state.vctrl_base + GICH_VTR); in vgic_v2_probe()
402 kvm_vgic_global_state.nr_lr = (vtr & 0x3f) + 1; in vgic_v2_probe()