Lines Matching refs:cpu_khz
20 unsigned int cpu_khz; /* TSC clocks / usec, not used here */ variable
21 EXPORT_SYMBOL(cpu_khz);
551 unsigned long cpu_khz_old = cpu_khz; in recalibrate_cpu_khz()
555 cpu_khz = tsc_khz; in recalibrate_cpu_khz()
558 cpu_khz_old, cpu_khz); in recalibrate_cpu_khz()
595 static void set_cyc2ns_scale(unsigned long cpu_khz, int cpu) in set_cyc2ns_scale() argument
608 if (cpu_khz) in set_cyc2ns_scale()
609 *scale = (NSEC_PER_MSEC << CYC2NS_SCALE_FACTOR)/cpu_khz; in set_cyc2ns_scale()
839 cpu_khz = tsc_khz; in tsc_init()
849 cpu_khz = calibrate_cpu(); in tsc_init()
853 (unsigned long)cpu_khz / 1000, in tsc_init()
854 (unsigned long)cpu_khz % 1000); in tsc_init()
863 set_cyc2ns_scale(cpu_khz, cpu); in tsc_init()