Searched refs:count_hz (Results 1 - 3 of 3) sorted by relevance

/linux-master/arch/mips/kvm/
H A Demulate.c348 * Therefore the intermediate delta*count_hz will never overflow since
351 * delta = NSEC_PER_SEC * 2^32 / count_hz
352 * delta * count_hz = NSEC_PER_SEC * 2^32
354 return div_u64(delta * vcpu->arch.count_hz, NSEC_PER_SEC);
513 delta = div_u64(delta * NSEC_PER_SEC, vcpu->arch.count_hz);
588 delta = div_u64(delta * NSEC_PER_SEC, vcpu->arch.count_hz);
624 * @count_hz: Frequency of timer.
629 void kvm_mips_init_count(struct kvm_vcpu *vcpu, unsigned long count_hz) argument
631 vcpu->arch.count_hz = count_hz;
650 kvm_mips_set_count_hz(struct kvm_vcpu *vcpu, s64 count_hz) argument
[all...]
H A Dvz.c346 if (mips_hpt_frequency != vcpu->arch.count_hz)
2126 *v = vcpu->arch.count_hz;
3080 unsigned long count_hz = 100*1000*1000; /* default to 100 MHz */ local
3087 count_hz = mips_hpt_frequency;
3088 kvm_mips_init_count(vcpu, count_hz);
/linux-master/arch/mips/include/asm/
H A Dkvm_host.h333 u32 count_hz; member in struct:kvm_vcpu_arch
850 void kvm_mips_init_count(struct kvm_vcpu *vcpu, unsigned long count_hz);
853 int kvm_mips_set_count_hz(struct kvm_vcpu *vcpu, s64 count_hz);

Completed in 184 milliseconds