Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/kernel/cpu/
Daperfmperf.c63 s->khz = div64_u64((cpu_khz * aperf_delta), mperf_delta); in aperfmperf_snapshot_khz()
82 if (!cpu_khz) in aperfmperf_get_khz()
98 if (!cpu_khz) in arch_freq_prepare_all()
114 if (!cpu_khz) in arch_freq_get_on_cpu()
Dproc.c88 freq = cpu_khz; in show_cpuinfo()
/Linux-v4.19/arch/x86/kernel/
Dtsc.c31 unsigned int __read_mostly cpu_khz; /* TSC clocks / usec, not used here */ variable
32 EXPORT_SYMBOL(cpu_khz);
871 unsigned long cpu_khz_old = cpu_khz; in recalibrate_cpu_khz()
876 cpu_khz = x86_platform.calibrate_cpu(); in recalibrate_cpu_khz()
879 tsc_khz = cpu_khz; in recalibrate_cpu_khz()
880 else if (abs(cpu_khz - tsc_khz) * 10 > tsc_khz) in recalibrate_cpu_khz()
881 cpu_khz = tsc_khz; in recalibrate_cpu_khz()
883 cpu_khz_old, cpu_khz); in recalibrate_cpu_khz()
1381 WARN_ON(cpu_khz || tsc_khz); in determine_cpu_tsc_frequencies()
1384 cpu_khz = x86_platform.calibrate_cpu(); in determine_cpu_tsc_frequencies()
[all …]
/Linux-v4.19/drivers/cpufreq/
Dsa1110-cpufreq.c146 sdram_calculate_timing(struct sdram_info *sd, u_int cpu_khz, in sdram_calculate_timing() argument
151 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() argument
219 u_int dri = ns_to_cycles(ns_row, cpu_khz / 2) / 32; in sdram_update_refresh()
Dlongrun.c204 *high_freq = (cpu_khz / 1000); in longrun_determine_freqs()
240 ebx = (((cpu_khz / 1000) * ecx) / 100); /* to MHz */ in longrun_determine_freqs()
Dcpufreq-nforce2.c326 if (!cpu_khz) { in nforce2_cpu_init()
331 fid = cpu_khz / (fsb * 100); in nforce2_cpu_init()
Dgx-suspmod.c412 else if (cpu_khz) in cpufreq_gx_cpu_init()
413 maxfreq = cpu_khz; in cpufreq_gx_cpu_init()
Dpowernow-k6.c164 khz = cpu_khz; in powernow_k6_cpu_init()
Dspeedstep-lib.c188 return cpu_khz; in pentium4_get_frequency()
Dacpi-cpufreq.c508 if (cpu_khz) { in acpi_cpufreq_guess_freq()
517 if ((2 * cpu_khz) > (freqn + freq)) { in acpi_cpufreq_guess_freq()
De_powersaver.c286 fsb = cpu_khz / current_multiplier; in eps_cpu_init()
Dpowernow-k7.c605 fsb = (10 * cpu_khz) / fid_codes[fidvidstatus.bits.CFID]; in powernow_cpu_init()
Dlonghaul.c408 int speed = cpu_khz / 1000; in guess_fsb()
Dintel_pstate.c1607 return mul_ext_fp(cpu->sample.core_avg_perf, cpu_khz); in get_avg_frequency()
/Linux-v4.19/arch/x86/kernel/apic/
Dhw_nmi.c26 return (u64)(cpu_khz) * 1000 * watchdog_thresh; in hw_nmi_get_sample_period()
Dapic.c1417 long long max_loops = cpu_khz ? cpu_khz : 1000000; in apic_pending_intr_clear()
1453 if (boot_cpu_has(X86_FEATURE_TSC) && cpu_khz) { in apic_pending_intr_clear()
1455 max_loops = (cpu_khz << 10) - (ntsc - tsc); in apic_pending_intr_clear()
/Linux-v4.19/arch/x86/include/asm/
Dtsc.h18 extern unsigned int cpu_khz;
/Linux-v4.19/drivers/oprofile/
Dnmi_timer_int.c122 period = (u64)cpu_khz * 1000; in nmi_timer_setup()
/Linux-v4.19/kernel/sched/
Ddebug.c634 unsigned int freq = cpu_khz ? : 1; in print_cpu()