Lines Matching refs:cpu_khz
32 unsigned int __read_mostly cpu_khz; /* TSC clocks / usec, not used here */ variable
33 EXPORT_SYMBOL(cpu_khz);
899 unsigned long cpu_khz_old = cpu_khz; in recalibrate_cpu_khz()
904 cpu_khz = x86_platform.calibrate_cpu(); in recalibrate_cpu_khz()
907 tsc_khz = cpu_khz; in recalibrate_cpu_khz()
908 else if (abs(cpu_khz - tsc_khz) * 10 > tsc_khz) in recalibrate_cpu_khz()
909 cpu_khz = tsc_khz; in recalibrate_cpu_khz()
911 cpu_khz_old, cpu_khz); in recalibrate_cpu_khz()
1418 WARN_ON(cpu_khz || tsc_khz); in determine_cpu_tsc_frequencies()
1421 cpu_khz = x86_platform.calibrate_cpu(); in determine_cpu_tsc_frequencies()
1429 cpu_khz = pit_hpet_ptimer_calibrate_cpu(); in determine_cpu_tsc_frequencies()
1438 tsc_khz = cpu_khz; in determine_cpu_tsc_frequencies()
1439 else if (abs(cpu_khz - tsc_khz) * 10 > tsc_khz) in determine_cpu_tsc_frequencies()
1440 cpu_khz = tsc_khz; in determine_cpu_tsc_frequencies()
1446 (unsigned long)cpu_khz / KHZ, in determine_cpu_tsc_frequencies()
1447 (unsigned long)cpu_khz % KHZ); in determine_cpu_tsc_frequencies()
1449 if (cpu_khz != tsc_khz) { in determine_cpu_tsc_frequencies()