Searched refs:tsc_khz (Results 1 – 9 of 9) sorted by relevance
| /linux/tools/testing/selftests/kvm/x86/ |
| H A D | nested_tsc_scaling_test.c | 158 u64 tsc_khz; in main() local 196 tsc_khz = __vcpu_ioctl(vcpu, KVM_GET_TSC_KHZ, NULL); in main() 197 TEST_ASSERT(tsc_khz != -1, "vcpu ioctl KVM_GET_TSC_KHZ failed"); in main() 200 vcpu_ioctl(vcpu, KVM_SET_TSC_KHZ, (void *) (tsc_khz / l1_scale_factor)); in main()
|
| /linux/drivers/misc/sgi-gru/ |
| H A D | gruhandles.c | 16 #define GRU_OPERATION_TIMEOUT ((cycles_t) tsc_khz*10*1000) 17 #define CLKS2NSEC(c) ((c) * 1000000 / tsc_khz)
|
| /linux/arch/x86/include/asm/ |
| H A D | iommu.h | 22 #define DMAR_OPERATION_TIMEOUT ((cycles_t) tsc_khz*10*1000)
|
| /linux/arch/x86/include/uapi/asm/ |
| H A D | setup_data.h | 64 __u32 tsc_khz; member
|
| /linux/arch/x86/kernel/apic/ |
| H A D | apic.c | 598 clockevents_config_and_register(levt, tsc_khz * (1000 / TSC_DIVISOR), 0xF, ~0UL); in setup_APIC_timer() 617 clockevents_update_freq(levt, tsc_khz * (1000 / TSC_DIVISOR)); in __lapic_update_tsc_freq() 764 if (!tsc_khz || !cpu_khz) in apic_needs_pit() 848 if (tsc_khz) { in calibrate_APIC_clock() 850 tsc_perj = div_u64((u64)tsc_khz * 1000, HZ); in calibrate_APIC_clock() 862 if (tsc_khz) { in calibrate_APIC_clock()
|
| /linux/arch/x86/hyperv/ |
| H A D | hv_init.c | 204 tsc_khz = div64_u64(freq, 1000); in hyperv_stop_tsc_emulation()
|
| /linux/arch/x86/kvm/ |
| H A D | x86.c | 2539 if (user_tsc_khz > tsc_khz) { in set_tsc_khz() 2551 user_tsc_khz, tsc_khz); in set_tsc_khz() 2587 thresh_lo = adjust_tsc_khz(tsc_khz, -tsc_tolerance_ppm); in kvm_set_tsc_khz() 2588 thresh_hi = adjust_tsc_khz(tsc_khz, tsc_tolerance_ppm); in kvm_set_tsc_khz() 3206 return tsc_khz; in get_cpu_tsc_khz() 6521 user_tsc_khz = tsc_khz; in kvm_arch_vcpu_ioctl() 7558 user_tsc_khz = tsc_khz; in kvm_arch_vm_ioctl() 9797 khz = tsc_khz; in tsc_khz_changed() 9817 per_cpu(cpu_tsc_khz, cpu) = tsc_khz; in kvm_hyperv_tsc_notifier() 9819 kvm_caps.max_guest_tsc_khz = tsc_khz; in kvm_hyperv_tsc_notifier() [all …]
|
| /linux/arch/x86/kvm/vmx/ |
| H A D | vmx.c | 8753 if (tsc_khz) in vmx_hardware_setup() 8754 use_timer_freq = (u64)tsc_khz * 1000; in vmx_hardware_setup()
|
| /linux/Documentation/virt/kvm/ |
| H A D | api.rst | 2007 :Parameters: virtual tsc_khz
|