Home
last modified time | relevance | path

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

/linux-5.19.10/arch/x86/kernel/
Dtsc.c625 unsigned int crystal_khz; in native_calibrate_tsc() local
641 crystal_khz = ecx_hz / 1000; in native_calibrate_tsc()
648 if (crystal_khz == 0 && in native_calibrate_tsc()
650 crystal_khz = 25000; in native_calibrate_tsc()
657 if (crystal_khz != 0) in native_calibrate_tsc()
665 if (crystal_khz == 0 && boot_cpu_data.cpuid_level >= 0x16) { in native_calibrate_tsc()
669 crystal_khz = eax_base_mhz * 1000 * in native_calibrate_tsc()
673 if (crystal_khz == 0) in native_calibrate_tsc()
690 lapic_timer_period = crystal_khz * 1000 / HZ; in native_calibrate_tsc()
693 return crystal_khz * ebx_numerator / eax_denominator; in native_calibrate_tsc()