Searched refs:khz (Results 1 – 4 of 4) sorted by relevance
368 unsigned long khz = 0; in apbt_quick_calibrate() local408 khz = (scale * (apbt_freq / 1000)) >> shift; in apbt_quick_calibrate()409 printk(KERN_INFO "TSC freq calculated by APB timer is %lu khz\n", khz); in apbt_quick_calibrate()410 return khz; in apbt_quick_calibrate()
148 unsigned long khz; in kvm_get_preset_lpj() local151 khz = kvm_get_tsc_khz(); in kvm_get_preset_lpj()153 lpj = ((u64)khz * 1000); in kvm_get_preset_lpj()
166 static void viper_set_core_cpu_voltage(unsigned long khz, int force) in viper_set_core_cpu_voltage() argument172 if (khz < 200000) { in viper_set_core_cpu_voltage()174 } else if (khz < 300000) { in viper_set_core_cpu_voltage()181 v, (int)khz / 1000, (int)khz % 1000); in viper_set_core_cpu_voltage()
1325 static u32 adjust_tsc_khz(u32 khz, s32 ppm) in adjust_tsc_khz() argument1327 u64 v = (u64)khz * (1000000 + ppm); in adjust_tsc_khz()5685 unsigned long khz = 0; in tsc_khz_changed() local5688 khz = freq->new; in tsc_khz_changed()5690 khz = cpufreq_quick_get(raw_smp_processor_id()); in tsc_khz_changed()5691 if (!khz) in tsc_khz_changed()5692 khz = tsc_khz; in tsc_khz_changed()5693 __this_cpu_write(cpu_tsc_khz, khz); in tsc_khz_changed()