Searched refs:count_period (Results 1 – 2 of 2) sorted by relevance
335 if (delta >= vcpu->arch.count_period) { in kvm_mips_ktime_to_count()337 periods = div64_s64(now_ns, vcpu->arch.count_period); in kvm_mips_ktime_to_count()338 vcpu->arch.count_dyn_bias = -periods * vcpu->arch.count_period; in kvm_mips_ktime_to_count()409 threshold = ktime_add_ns(now, vcpu->arch.count_period / 4); in kvm_mips_read_count_running()426 vcpu->arch.count_period); in kvm_mips_read_count_running()631 vcpu->arch.count_period = div_u64((u64)NSEC_PER_SEC << 32, count_hz); in kvm_mips_init_count()674 vcpu->arch.count_period = div_u64((u64)NSEC_PER_SEC << 32, count_hz); in kvm_mips_set_count_hz()942 vcpu->arch.count_period); in kvm_mips_count_timeout()
394 u64 count_period; member