Home
last modified time | relevance | path

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

/linux-4.19.296/virt/kvm/arm/hyp/
Dvgic-v3-sr.c967 u32 vtr, val; in __vgic_v3_read_ctlr() local
969 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()
/linux-4.19.296/virt/kvm/arm/vgic/
Dvgic-v2.c379 u32 vtr; in vgic_v2_probe() local
411 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()