Lines Matching refs:cpu_khz
31 unsigned int __read_mostly cpu_khz; /* TSC clocks / usec, not used here */ variable
32 EXPORT_SYMBOL(cpu_khz);
871 unsigned long cpu_khz_old = cpu_khz; in recalibrate_cpu_khz()
876 cpu_khz = x86_platform.calibrate_cpu(); in recalibrate_cpu_khz()
879 tsc_khz = cpu_khz; in recalibrate_cpu_khz()
880 else if (abs(cpu_khz - tsc_khz) * 10 > tsc_khz) in recalibrate_cpu_khz()
881 cpu_khz = tsc_khz; in recalibrate_cpu_khz()
883 cpu_khz_old, cpu_khz); in recalibrate_cpu_khz()
1381 WARN_ON(cpu_khz || tsc_khz); in determine_cpu_tsc_frequencies()
1384 cpu_khz = x86_platform.calibrate_cpu(); in determine_cpu_tsc_frequencies()
1389 cpu_khz = pit_hpet_ptimer_calibrate_cpu(); in determine_cpu_tsc_frequencies()
1398 tsc_khz = cpu_khz; in determine_cpu_tsc_frequencies()
1399 else if (abs(cpu_khz - tsc_khz) * 10 > tsc_khz) in determine_cpu_tsc_frequencies()
1400 cpu_khz = tsc_khz; in determine_cpu_tsc_frequencies()
1406 (unsigned long)cpu_khz / KHZ, in determine_cpu_tsc_frequencies()
1407 (unsigned long)cpu_khz % KHZ); in determine_cpu_tsc_frequencies()
1409 if (cpu_khz != tsc_khz) { in determine_cpu_tsc_frequencies()