Home
last modified time | relevance | path

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

/Linux-v5.10/arch/x86/kernel/
Dtsc.c624 unsigned int crystal_khz; in native_calibrate_tsc() local
640 crystal_khz = ecx_hz / 1000; in native_calibrate_tsc()
647 if (crystal_khz == 0 && in native_calibrate_tsc()
649 crystal_khz = 25000; in native_calibrate_tsc()
656 if (crystal_khz != 0) in native_calibrate_tsc()
664 if (crystal_khz == 0 && boot_cpu_data.cpuid_level >= 0x16) { in native_calibrate_tsc()
668 crystal_khz = eax_base_mhz * 1000 * in native_calibrate_tsc()
672 if (crystal_khz == 0) in native_calibrate_tsc()
689 lapic_timer_period = crystal_khz * 1000 / HZ; in native_calibrate_tsc()
692 return crystal_khz * ebx_numerator / eax_denominator; in native_calibrate_tsc()