Searched refs:cpu_khz (Results 1 – 17 of 17) sorted by relevance
26 unsigned int __read_mostly cpu_khz; /* TSC clocks / usec, not used here */ variable27 EXPORT_SYMBOL(cpu_khz);238 static void set_cyc2ns_scale(unsigned long cpu_khz, int cpu) in set_cyc2ns_scale() argument247 if (!cpu_khz) in set_cyc2ns_scale()262 cpu_khz); in set_cyc2ns_scale()812 unsigned long cpu_khz_old = cpu_khz; in recalibrate_cpu_khz()816 cpu_khz = tsc_khz; in recalibrate_cpu_khz()819 cpu_khz_old, cpu_khz); in recalibrate_cpu_khz()1178 cpu_khz = tsc_khz; in tsc_init()1187 (unsigned long)cpu_khz / 1000, in tsc_init()[all …]
146 sdram_calculate_timing(struct sdram_info *sd, u_int cpu_khz, in sdram_calculate_timing() argument151 mem_khz = cpu_khz / 2; in sdram_calculate_timing()216 sdram_update_refresh(u_int cpu_khz, struct sdram_params *sdram) in sdram_update_refresh() argument219 u_int dri = ns_to_cycles(ns_row, cpu_khz / 2) / 32; in sdram_update_refresh()
204 *high_freq = (cpu_khz / 1000); in longrun_determine_freqs()240 ebx = (((cpu_khz / 1000) * ecx) / 100); /* to MHz */ in longrun_determine_freqs()
327 if (!cpu_khz) { in nforce2_cpu_init()333 fid = cpu_khz / (fsb * 100); in nforce2_cpu_init()
412 else if (cpu_khz) in cpufreq_gx_cpu_init()413 maxfreq = cpu_khz; in cpufreq_gx_cpu_init()
163 khz = cpu_khz; in powernow_k6_cpu_init()
186 return cpu_khz; in pentium4_get_frequency()
294 fsb = cpu_khz / current_multiplier; in eps_cpu_init()
487 if (cpu_khz) { in acpi_cpufreq_guess_freq()496 if ((2 * cpu_khz) > (freqn + freq)) { in acpi_cpufreq_guess_freq()
617 fsb = (10 * cpu_khz) / fid_codes[fidvidstatus.bits.CFID]; in powernow_cpu_init()
411 int speed = cpu_khz / 1000; in guess_fsb()
17 extern unsigned int cpu_khz;
26 return (u64)(cpu_khz) * 1000 * watchdog_thresh; in hw_nmi_get_sample_period()
1216 long long max_loops = cpu_khz ? cpu_khz : 1000000; in setup_local_APIC()1302 if (cpu_has_tsc && cpu_khz) { in setup_local_APIC()1304 max_loops = (cpu_khz << 10) - (ntsc - tsc); in setup_local_APIC()
131 period = (u64)cpu_khz * 1000; in nmi_timer_setup()
83 freq = cpu_khz; in show_cpuinfo()
283 unsigned int freq = cpu_khz ? : 1; in print_cpu()