Searched refs:IDREG_IDX (Results 1 – 2 of 2) sorted by relevance
371 #define IDREG_IDX(id) (((sys_reg_CRm(id) - 1) << 3) | sys_reg_Op2(id)) macro372 #define KVM_ARM_ID_REG_NUM (IDREG_IDX(sys_reg(3, 0, 0, 7, 7)) + 1)1428 return &ka->id_regs[IDREG_IDX(reg)]; in __vm_id_reg()
4806 kvm->arch.id_regs[IDREG_IDX(SYS_ID_AA64PFR0_EL1)] &= ~ID_AA64PFR0_EL1_GIC_MASK; in kvm_finalize_sys_regs()4807 kvm->arch.id_regs[IDREG_IDX(SYS_ID_PFR1_EL1)] &= ~ID_PFR1_EL1_GIC_MASK; in kvm_finalize_sys_regs()