Searched refs:count_ctl (Results 1 – 3 of 3) sorted by relevance
274 return (vcpu->arch.count_ctl & KVM_REG_MIPS_COUNT_CTL_DC) || in kvm_mips_count_disabled()326 if (unlikely(vcpu->arch.count_ctl & KVM_REG_MIPS_COUNT_CTL_DC)) in kvm_mips_count_time()655 if (!(vcpu->arch.count_ctl & KVM_REG_MIPS_COUNT_CTL_DC)) in kvm_mips_count_disable_cause()696 int kvm_mips_set_count_ctl(struct kvm_vcpu *vcpu, s64 count_ctl) in kvm_mips_set_count_ctl() argument699 s64 changed = count_ctl ^ vcpu->arch.count_ctl; in kvm_mips_set_count_ctl()709 vcpu->arch.count_ctl = count_ctl; in kvm_mips_set_count_ctl()715 if (count_ctl & KVM_REG_MIPS_COUNT_CTL_DC) in kvm_mips_set_count_ctl()718 } else if (count_ctl & KVM_REG_MIPS_COUNT_CTL_DC) { in kvm_mips_set_count_ctl()
534 *v = vcpu->arch.count_ctl; in kvm_trap_emul_get_one_reg()
303 u32 count_ctl; member708 int kvm_mips_set_count_ctl(struct kvm_vcpu *vcpu, s64 count_ctl);