Home
last modified time | relevance | path

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

/linux-6.12.1/arch/x86/kernel/
Dtsc.c662 unsigned int crystal_khz; in native_calibrate_tsc() local
678 crystal_khz = ecx_hz / 1000; in native_calibrate_tsc()
685 if (crystal_khz == 0 && in native_calibrate_tsc()
687 crystal_khz = 25000; in native_calibrate_tsc()
694 if (crystal_khz != 0) in native_calibrate_tsc()
702 if (crystal_khz == 0 && boot_cpu_data.cpuid_level >= 0x16) { in native_calibrate_tsc()
706 crystal_khz = eax_base_mhz * 1000 * in native_calibrate_tsc()
710 if (crystal_khz == 0) in native_calibrate_tsc()
727 lapic_timer_period = crystal_khz * 1000 / HZ; in native_calibrate_tsc()
730 return crystal_khz * ebx_numerator / eax_denominator; in native_calibrate_tsc()