Lines Matching refs:cpu_khz
34 unsigned int __read_mostly cpu_khz; /* TSC clocks / usec, not used here */ variable
35 EXPORT_SYMBOL(cpu_khz);
937 unsigned long cpu_khz_old = cpu_khz; in recalibrate_cpu_khz()
942 cpu_khz = x86_platform.calibrate_cpu(); in recalibrate_cpu_khz()
945 tsc_khz = cpu_khz; in recalibrate_cpu_khz()
946 else if (abs(cpu_khz - tsc_khz) * 10 > tsc_khz) in recalibrate_cpu_khz()
947 cpu_khz = tsc_khz; in recalibrate_cpu_khz()
949 cpu_khz_old, cpu_khz); in recalibrate_cpu_khz()
1450 WARN_ON(cpu_khz || tsc_khz); in determine_cpu_tsc_frequencies()
1453 cpu_khz = x86_platform.calibrate_cpu(); in determine_cpu_tsc_frequencies()
1463 cpu_khz = pit_hpet_ptimer_calibrate_cpu(); in determine_cpu_tsc_frequencies()
1472 tsc_khz = cpu_khz; in determine_cpu_tsc_frequencies()
1473 else if (abs(cpu_khz - tsc_khz) * 10 > tsc_khz) in determine_cpu_tsc_frequencies()
1474 cpu_khz = tsc_khz; in determine_cpu_tsc_frequencies()
1480 (unsigned long)cpu_khz / KHZ, in determine_cpu_tsc_frequencies()
1481 (unsigned long)cpu_khz % KHZ); in determine_cpu_tsc_frequencies()
1483 if (cpu_khz != tsc_khz) { in determine_cpu_tsc_frequencies()