Searched refs:cpu_khz (Results 1 - 17 of 17) sorted by relevance
/linux-4.4.14/arch/x86/include/asm/ |
H A D | tsc.h | 17 extern unsigned int cpu_khz;
|
/linux-4.4.14/arch/x86/kernel/apic/ |
H A D | hw_nmi.c | 26 return (u64)(cpu_khz) * 1000 * watchdog_thresh; hw_nmi_get_sample_period()
|
H A D | apic.c | 1220 long long max_loops = cpu_khz ? cpu_khz : 1000000; setup_local_APIC() 1306 if (cpu_has_tsc && cpu_khz) { setup_local_APIC() 1308 max_loops = (cpu_khz << 10) - (ntsc - tsc); setup_local_APIC()
|
/linux-4.4.14/drivers/cpufreq/ |
H A D | sa1110-cpufreq.c | 146 sdram_calculate_timing(struct sdram_info *sd, u_int cpu_khz, sdram_calculate_timing() argument 151 mem_khz = cpu_khz / 2; sdram_calculate_timing() 216 sdram_update_refresh(u_int cpu_khz, struct sdram_params *sdram) sdram_update_refresh() argument 219 u_int dri = ns_to_cycles(ns_row, cpu_khz / 2) / 32; sdram_update_refresh()
|
H A D | cpufreq-nforce2.c | 327 if (!cpu_khz) { nforce2_cpu_init() 329 "cpu_khz not set, can't calculate multiplier!\n"); nforce2_cpu_init() 333 fid = cpu_khz / (fsb * 100); nforce2_cpu_init()
|
H A D | gx-suspmod.c | 57 * - fix cpu_khz calc when it stops cpu modulation. 127 /* PCI bus clock - defaults to 30.000 if cpu_khz is not available */ 412 else if (cpu_khz) cpufreq_gx_cpu_init() 413 maxfreq = cpu_khz; cpufreq_gx_cpu_init()
|
H A D | longrun.c | 204 *high_freq = (cpu_khz / 1000); longrun_determine_freqs() 240 ebx = (((cpu_khz / 1000) * ecx) / 100); /* to MHz */ longrun_determine_freqs()
|
H A D | acpi-cpufreq.c | 498 if (cpu_khz) { acpi_cpufreq_guess_freq() 499 /* search the closest match to cpu_khz */ acpi_cpufreq_guess_freq() 507 if ((2 * cpu_khz) > (freqn + freq)) { acpi_cpufreq_guess_freq()
|
H A D | powernow-k6.c | 163 khz = cpu_khz; powernow_k6_cpu_init()
|
H A D | e_powersaver.c | 294 fsb = cpu_khz / current_multiplier; eps_cpu_init()
|
H A D | speedstep-lib.c | 186 return cpu_khz; pentium4_get_frequency()
|
H A D | powernow-k7.c | 617 fsb = (10 * cpu_khz) / fid_codes[fidvidstatus.bits.CFID]; powernow_cpu_init()
|
H A D | longhaul.c | 411 int speed = cpu_khz / 1000; guess_fsb()
|
/linux-4.4.14/arch/x86/kernel/ |
H A D | tsc.c | 26 unsigned int __read_mostly cpu_khz; /* TSC clocks / usec, not used here */ variable 27 EXPORT_SYMBOL(cpu_khz); variable 163 * ns = cycles * (10^9 / (cpu_khz * 10^3)) 164 * ns = cycles * (10^6 / cpu_khz) 167 * ns = cycles * (10^6 * SC / cpu_khz) / SC 237 static void set_cyc2ns_scale(unsigned long cpu_khz, int cpu) set_cyc2ns_scale() argument 246 if (!cpu_khz) set_cyc2ns_scale() 259 clocks_calc_mult_shift(&data->cyc2ns_mul, &data->cyc2ns_shift, cpu_khz, set_cyc2ns_scale() 830 unsigned long cpu_khz_old = cpu_khz; recalibrate_cpu_khz() 834 cpu_khz = tsc_khz; recalibrate_cpu_khz() 837 cpu_khz_old, cpu_khz); recalibrate_cpu_khz() 1196 cpu_khz = tsc_khz; tsc_init() 1205 (unsigned long)cpu_khz / 1000, tsc_init() 1206 (unsigned long)cpu_khz % 1000); tsc_init() 1216 set_cyc2ns_scale(cpu_khz, cpu); for_each_possible_cpu()
|
/linux-4.4.14/drivers/oprofile/ |
H A D | nmi_timer_int.c | 131 period = (u64)cpu_khz * 1000; nmi_timer_setup()
|
/linux-4.4.14/arch/x86/kernel/cpu/ |
H A D | proc.c | 84 freq = cpu_khz; show_cpuinfo()
|
/linux-4.4.14/kernel/sched/ |
H A D | debug.c | 274 unsigned int freq = cpu_khz ? : 1; print_cpu()
|
Completed in 288 milliseconds