Home
last modified time | relevance | path

Searched refs:cpu_khz (Results 1 – 18 of 18) sorted by relevance

/arch/x86/kernel/
Dtsc.c20 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()
[all …]
/arch/mips/mipssim/
Dsim_time.c24 unsigned long cpu_khz; variable
114 cpu_khz = est_freq / 1000; in plat_time_init()
/arch/mips/mach-goldfish/
Dgoldfish-time.c52 unsigned long cpu_khz; variable
63 cpu_khz = est_freq / 1000; in plat_time_init()
/arch/mips/mti-malta/
Dmalta-time.c47 unsigned long cpu_khz; variable
155 cpu_khz = est_freq / 1000; in plat_time_init()
/arch/arm/mach-sa1100/
Dcpu-sa1110.c141 sdram_calculate_timing(struct sdram_info *sd, u_int cpu_khz, in sdram_calculate_timing() argument
146 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() argument
212 u_int dri = ns_to_cycles(ns_row, cpu_khz / 2) / 32; in sdram_update_refresh()
/arch/blackfin/kernel/
Dtime-ts.c51 static inline void set_cyc2ns_scale(unsigned long cpu_khz) in set_cyc2ns_scale() argument
53 cyc2ns_scale = (1000000 << CYC2NS_SCALE_FACTOR) / cpu_khz; in set_cyc2ns_scale()
/arch/x86/include/asm/
Dtsc.h17 extern unsigned int cpu_khz;
/arch/x86/kernel/cpu/
Dperfctr-watchdog.c238 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()
Dproc.c109 freq = cpu_khz; in show_cpuinfo()
/arch/x86/kernel/cpu/cpufreq/
Dlongrun.c207 *high_freq = (cpu_khz / 1000); in longrun_determine_freqs()
243 ebx = (((cpu_khz / 1000) * ecx) / 100); /* to MHz */ in longrun_determine_freqs()
Dcpufreq-nforce2.c329 if (!cpu_khz) { in nforce2_cpu_init()
335 fid = cpu_khz / (fsb * 100); in nforce2_cpu_init()
Dgx-suspmod.c403 } else if (cpu_khz) { in cpufreq_gx_cpu_init()
404 maxfreq = cpu_khz; in cpufreq_gx_cpu_init()
Dpowernow-k6.c151 busfreq = cpu_khz / max_multiplier; in powernow_k6_cpu_init()
De_powersaver.c248 fsb = cpu_khz / current_multiplier; in eps_cpu_init()
Dacpi-cpufreq.c491 if (cpu_khz) { in acpi_cpufreq_guess_freq()
500 if ((2 * cpu_khz) > (freqn + freq)) { in acpi_cpufreq_guess_freq()
Dpowernow-k7.c613 fsb = (10 * cpu_khz) / fid_codes[fidvidstatus.bits.CFID]; in powernow_cpu_init()
Dlonghaul.c411 int speed = cpu_khz / 1000; in guess_fsb()
/arch/mips/kernel/
Dkspd.c37 extern unsigned long cpu_khz;
235 ret.retval = cpu_khz * 1000; in sp_work_handle_request()