Searched refs:cpu_khz (Results 1 – 18 of 18) sorted by relevance
20 unsigned int cpu_khz; /* TSC clocks / usec, not used here */ variable21 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() argument608 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()[all …]
24 unsigned long cpu_khz; variable114 cpu_khz = est_freq / 1000; in plat_time_init()
52 unsigned long cpu_khz; variable63 cpu_khz = est_freq / 1000; in plat_time_init()
47 unsigned long cpu_khz; variable155 cpu_khz = est_freq / 1000; in plat_time_init()
141 sdram_calculate_timing(struct sdram_info *sd, u_int cpu_khz, in sdram_calculate_timing() argument146 mem_khz = cpu_khz / 2; in sdram_calculate_timing()209 sdram_update_refresh(u_int cpu_khz, struct sdram_params *sdram) in sdram_update_refresh() argument212 u_int dri = ns_to_cycles(ns_row, cpu_khz / 2) / 32; in sdram_update_refresh()
51 static inline void set_cyc2ns_scale(unsigned long cpu_khz) in set_cyc2ns_scale() argument53 cyc2ns_scale = (1000000 << CYC2NS_SCALE_FACTOR) / cpu_khz; in set_cyc2ns_scale()
17 extern unsigned int cpu_khz;
238 counter_val = (u64)cpu_khz * 1000; in adjust_for_32bit_ctr()241 u64 count = (u64)cpu_khz * 1000; in adjust_for_32bit_ctr()251 u64 count = (u64)cpu_khz * 1000; in write_watchdog_counter()262 u64 count = (u64)cpu_khz * 1000; in write_watchdog_counter32()
109 freq = cpu_khz; in show_cpuinfo()
207 *high_freq = (cpu_khz / 1000); in longrun_determine_freqs()243 ebx = (((cpu_khz / 1000) * ecx) / 100); /* to MHz */ in longrun_determine_freqs()
329 if (!cpu_khz) { in nforce2_cpu_init()335 fid = cpu_khz / (fsb * 100); in nforce2_cpu_init()
403 } else if (cpu_khz) { in cpufreq_gx_cpu_init()404 maxfreq = cpu_khz; in cpufreq_gx_cpu_init()
151 busfreq = cpu_khz / max_multiplier; in powernow_k6_cpu_init()
248 fsb = cpu_khz / current_multiplier; in eps_cpu_init()
491 if (cpu_khz) { in acpi_cpufreq_guess_freq()500 if ((2 * cpu_khz) > (freqn + freq)) { in acpi_cpufreq_guess_freq()
613 fsb = (10 * cpu_khz) / fid_codes[fidvidstatus.bits.CFID]; in powernow_cpu_init()
411 int speed = cpu_khz / 1000; in guess_fsb()
37 extern unsigned long cpu_khz;235 ret.retval = cpu_khz * 1000; in sp_work_handle_request()