Lines Matching refs:tsc_khz
29 unsigned int __read_mostly tsc_khz; variable
30 EXPORT_SYMBOL(tsc_khz);
833 tsc_khz = x86_platform.calibrate_tsc(); in recalibrate_cpu_khz()
834 cpu_khz = tsc_khz; in recalibrate_cpu_khz()
932 tsc_khz_ref = tsc_khz; in time_cpufreq_notifier()
938 tsc_khz = cpufreq_scale(tsc_khz_ref, ref_freq, freq->new); in time_cpufreq_notifier()
942 set_cyc2ns_scale(tsc_khz, freq->cpu); in time_cpufreq_notifier()
1136 if (abs(tsc_khz - freq) > tsc_khz/100) in tsc_refine_calibration_work()
1139 tsc_khz = freq; in tsc_refine_calibration_work()
1141 (unsigned long)tsc_khz / 1000, in tsc_refine_calibration_work()
1142 (unsigned long)tsc_khz % 1000); in tsc_refine_calibration_work()
1145 clocksource_register_khz(&clocksource_tsc, tsc_khz); in tsc_refine_calibration_work()
1151 if (!cpu_has_tsc || tsc_disabled > 0 || !tsc_khz) in init_tsc_clocksource()
1170 clocksource_register_khz(&clocksource_tsc, tsc_khz); in init_tsc_clocksource()
1195 tsc_khz = x86_platform.calibrate_tsc(); in tsc_init()
1196 cpu_khz = tsc_khz; in tsc_init()
1198 if (!tsc_khz) { in tsc_init()
1230 lpj = ((u64)tsc_khz * 1000); in tsc_init()