Home
last modified time | relevance | path

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

/linux-6.6.21/arch/x86/kernel/
Dtsc.c661 unsigned int crystal_khz; in native_calibrate_tsc() local
677 crystal_khz = ecx_hz / 1000; in native_calibrate_tsc()
684 if (crystal_khz == 0 && in native_calibrate_tsc()
686 crystal_khz = 25000; in native_calibrate_tsc()
693 if (crystal_khz != 0) in native_calibrate_tsc()
701 if (crystal_khz == 0 && boot_cpu_data.cpuid_level >= 0x16) { in native_calibrate_tsc()
705 crystal_khz = eax_base_mhz * 1000 * in native_calibrate_tsc()
709 if (crystal_khz == 0) in native_calibrate_tsc()
726 lapic_timer_period = crystal_khz * 1000 / HZ; in native_calibrate_tsc()
729 return crystal_khz * ebx_numerator / eax_denominator; in native_calibrate_tsc()