Searched refs:tsc_khz (Results 1 - 16 of 16) sorted by relevance
/linux-master/arch/x86/kernel/ |
H A D | tsc.c | 36 unsigned int __read_mostly tsc_khz; variable 37 EXPORT_SYMBOL(tsc_khz); variable 204 __set_cyc2ns_scale(tsc_khz, smp_processor_id(), rdtsc()); 356 u64 thresh = tsc_khz ? tsc_khz >> 5 : TSC_DEFAULT_THRESHOLD; 942 tsc_khz = x86_platform.calibrate_tsc(); 943 if (tsc_khz == 0) 944 tsc_khz = cpu_khz; 945 else if (abs(cpu_khz - tsc_khz) * 10 > tsc_khz) [all...] |
H A D | tsc_sync.c | 276 end = start + (cycles_t) tsc_khz * timeout;
|
H A D | jailhouse.c | 257 precalibrated_tsc_khz = setup_data.v1.tsc_khz;
|
/linux-master/arch/x86/include/asm/ |
H A D | iommu.h | 22 #define DMAR_OPERATION_TIMEOUT ((cycles_t) tsc_khz*10*1000)
|
H A D | tsc.h | 18 extern unsigned int tsc_khz;
|
/linux-master/tools/testing/selftests/kvm/x86_64/ |
H A D | vmx_nested_tsc_scaling_test.c | 126 uint64_t tsc_khz; local 158 tsc_khz = __vcpu_ioctl(vcpu, KVM_GET_TSC_KHZ, NULL); 159 TEST_ASSERT(tsc_khz != -1, "vcpu ioctl KVM_GET_TSC_KHZ failed"); 162 vcpu_ioctl(vcpu, KVM_SET_TSC_KHZ, (void *) (tsc_khz / l1_scale_factor));
|
/linux-master/arch/x86/kernel/cpu/ |
H A D | vmware.c | 393 uint64_t lpj, tsc_khz; local 398 lpj = tsc_khz = eax | (((uint64_t)ebx) << 32); 399 do_div(tsc_khz, 1000); 400 WARN_ON(tsc_khz >> 32); 402 (unsigned long) tsc_khz / 1000, 403 (unsigned long) tsc_khz % 1000); 410 vmware_tsc_khz = tsc_khz;
|
/linux-master/arch/x86/include/uapi/asm/ |
H A D | setup_data.h | 63 __u32 tsc_khz; member in struct:jailhouse_setup_data::__anon228
|
/linux-master/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-master/drivers/gpu/drm/i915/gt/ |
H A D | intel_llc.c | 44 max_khz = tsc_khz;
|
/linux-master/drivers/acpi/ |
H A D | acpi_lpit.c | 108 lpit_native->counter_frequency : mul_u32_u32(tsc_khz, 1000U);
|
/linux-master/arch/x86/kernel/apic/ |
H A D | apic.c | 578 tsc_khz * (1000 / TSC_DIVISOR), 595 clockevents_update_freq(levt, tsc_khz * (1000 / TSC_DIVISOR)); 743 if (!tsc_khz || !cpu_khz) 828 if (tsc_khz) { 830 tsc_perj = div_u64((u64)tsc_khz * 1000, HZ); 842 if (tsc_khz) {
|
/linux-master/arch/x86/hyperv/ |
H A D | hv_init.c | 166 tsc_khz = div64_u64(freq, 1000);
|
/linux-master/arch/x86/kvm/ |
H A D | x86.c | 2441 if (user_tsc_khz > tsc_khz) { 2453 user_tsc_khz, tsc_khz); 2470 /* tsc_khz can be zero if TSC calibration fails */ 2489 thresh_lo = adjust_tsc_khz(tsc_khz, -tsc_tolerance_ppm); 2490 thresh_hi = adjust_tsc_khz(tsc_khz, tsc_tolerance_ppm); 3091 * Use the kernel's tsc_khz directly if the TSC is constant, otherwise use KVM's 3092 * per-CPU value (which may be zero if a CPU is going offline). Note, tsc_khz 3101 return tsc_khz; 6156 user_tsc_khz = tsc_khz; 7260 user_tsc_khz = tsc_khz; [all...] |
/linux-master/drivers/platform/x86/intel/pmc/ |
H A D | core.c | 1003 do_div(pcstate_count, tsc_khz);
|
/linux-master/arch/x86/kvm/vmx/ |
H A D | vmx.c | 8665 if (tsc_khz) 8666 use_timer_freq = (u64)tsc_khz * 1000;
|
Completed in 269 milliseconds