Lines Matching refs:count_ctl
309 * CP0_Cause.DC bit or the count_ctl.DC bit.
316 return (vcpu->arch.count_ctl & KVM_REG_MIPS_COUNT_CTL_DC) ||
361 * except when the master disable bit is set in count_ctl, in which case it is
368 if (unlikely(vcpu->arch.count_ctl & KVM_REG_MIPS_COUNT_CTL_DC))
777 * count_ctl.DC has been set (count disabled).
804 * count_ctl.DC, but not after.
813 if (!(vcpu->arch.count_ctl & KVM_REG_MIPS_COUNT_CTL_DC))
822 * the start time will be handled if the timer isn't disabled by count_ctl.DC,
837 * This starts the hrtimer if count_ctl.DC allows it.
847 * @count_ctl: Count control register new value.
854 int kvm_mips_set_count_ctl(struct kvm_vcpu *vcpu, s64 count_ctl)
857 s64 changed = count_ctl ^ vcpu->arch.count_ctl;
867 vcpu->arch.count_ctl = count_ctl;
873 if (count_ctl & KVM_REG_MIPS_COUNT_CTL_DC)
876 } else if (count_ctl & KVM_REG_MIPS_COUNT_CTL_DC) {