Searched refs:cpu_khz (Results 1 – 19 of 19) sorted by relevance
32 unsigned int __read_mostly cpu_khz; /* TSC clocks / usec, not used here */ variable33 EXPORT_SYMBOL(cpu_khz);899 unsigned long cpu_khz_old = cpu_khz; in recalibrate_cpu_khz()904 cpu_khz = x86_platform.calibrate_cpu(); in recalibrate_cpu_khz()907 tsc_khz = cpu_khz; in recalibrate_cpu_khz()908 else if (abs(cpu_khz - tsc_khz) * 10 > tsc_khz) in recalibrate_cpu_khz()909 cpu_khz = tsc_khz; in recalibrate_cpu_khz()911 cpu_khz_old, cpu_khz); in recalibrate_cpu_khz()1418 WARN_ON(cpu_khz || tsc_khz); in determine_cpu_tsc_frequencies()1421 cpu_khz = x86_platform.calibrate_cpu(); in determine_cpu_tsc_frequencies()[all …]
64 s->khz = div64_u64((cpu_khz * aperf_delta), mperf_delta); in aperfmperf_snapshot_khz()83 if (!cpu_khz) in aperfmperf_get_khz()102 if (!cpu_khz) in arch_freq_prepare_all()121 if (!cpu_khz) in arch_freq_get_on_cpu()
92 freq = cpu_khz; in show_cpuinfo()
143 sdram_calculate_timing(struct sdram_info *sd, u_int cpu_khz, in sdram_calculate_timing() argument148 mem_khz = cpu_khz / 2; in sdram_calculate_timing()213 sdram_update_refresh(u_int cpu_khz, struct sdram_params *sdram) in sdram_update_refresh() argument216 u_int dri = ns_to_cycles(ns_row, cpu_khz / 2) / 32; in sdram_update_refresh()
199 *high_freq = (cpu_khz / 1000); in longrun_determine_freqs()235 ebx = (((cpu_khz / 1000) * ecx) / 100); /* to MHz */ in longrun_determine_freqs()
324 if (!cpu_khz) { in nforce2_cpu_init()329 fid = cpu_khz / (fsb * 100); in nforce2_cpu_init()
408 else if (cpu_khz) in cpufreq_gx_cpu_init()409 maxfreq = cpu_khz; in cpufreq_gx_cpu_init()
163 khz = cpu_khz; in powernow_k6_cpu_init()
187 return cpu_khz; in pentium4_get_frequency()
284 fsb = cpu_khz / current_multiplier; in eps_cpu_init()
498 if (cpu_khz) { in acpi_cpufreq_guess_freq()507 if ((2 * cpu_khz) > (freqn + freq)) { in acpi_cpufreq_guess_freq()
605 fsb = (10 * cpu_khz) / fid_codes[fidvidstatus.bits.CFID]; in powernow_cpu_init()
408 int speed = cpu_khz / 1000; in guess_fsb()
1913 return mul_ext_fp(cpu->sample.core_avg_perf, cpu_khz); in get_avg_frequency()
27 return (u64)(cpu_khz) * 1000 * watchdog_thresh; in hw_nmi_get_sample_period()
791 if (!tsc_khz || !cpu_khz) in apic_needs_pit()
16 extern unsigned int cpu_khz;
122 period = (u64)cpu_khz * 1000; in nmi_timer_setup()
673 unsigned int freq = cpu_khz ? : 1; in print_cpu()