Lines Matching refs:tsc_khz
29 unsigned int __read_mostly tsc_khz; variable
30 EXPORT_SYMBOL(tsc_khz);
815 tsc_khz = x86_platform.calibrate_tsc(); in recalibrate_cpu_khz()
816 cpu_khz = tsc_khz; in recalibrate_cpu_khz()
914 tsc_khz_ref = tsc_khz; in time_cpufreq_notifier()
920 tsc_khz = cpufreq_scale(tsc_khz_ref, ref_freq, freq->new); in time_cpufreq_notifier()
924 set_cyc2ns_scale(tsc_khz, freq->cpu); in time_cpufreq_notifier()
1118 if (abs(tsc_khz - freq) > tsc_khz/100) in tsc_refine_calibration_work()
1121 tsc_khz = freq; in tsc_refine_calibration_work()
1123 (unsigned long)tsc_khz / 1000, in tsc_refine_calibration_work()
1124 (unsigned long)tsc_khz % 1000); in tsc_refine_calibration_work()
1127 clocksource_register_khz(&clocksource_tsc, tsc_khz); in tsc_refine_calibration_work()
1133 if (!cpu_has_tsc || tsc_disabled > 0 || !tsc_khz) in init_tsc_clocksource()
1152 clocksource_register_khz(&clocksource_tsc, tsc_khz); in init_tsc_clocksource()
1177 tsc_khz = x86_platform.calibrate_tsc(); in tsc_init()
1178 cpu_khz = tsc_khz; in tsc_init()
1180 if (!tsc_khz) { in tsc_init()
1212 lpj = ((u64)tsc_khz * 1000); in tsc_init()