Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/timer/
H A Dtsc_timer.c402 unsigned long fast_calibrate; in tsc_timer_ensure_setup() local
404 fast_calibrate = native_calibrate_tsc(); in tsc_timer_ensure_setup()
405 if (fast_calibrate) in tsc_timer_ensure_setup()
408 fast_calibrate = cpu_mhz_from_cpuid(); in tsc_timer_ensure_setup()
409 if (fast_calibrate) in tsc_timer_ensure_setup()
412 fast_calibrate = cpu_mhz_from_msr(); in tsc_timer_ensure_setup()
413 if (fast_calibrate) in tsc_timer_ensure_setup()
416 fast_calibrate = quick_pit_calibrate(); in tsc_timer_ensure_setup()
417 if (fast_calibrate) in tsc_timer_ensure_setup()
421 fast_calibrate = CONFIG_X86_TSC_TIMER_EARLY_FREQ; in tsc_timer_ensure_setup()
[all …]
/openbmc/linux/arch/x86/kernel/
H A Dtsc.c907 unsigned long flags, fast_calibrate = cpu_khz_from_cpuid(); in native_calibrate_cpu_early() local
909 if (!fast_calibrate) in native_calibrate_cpu_early()
910 fast_calibrate = cpu_khz_from_msr(); in native_calibrate_cpu_early()
911 if (!fast_calibrate) { in native_calibrate_cpu_early()
913 fast_calibrate = quick_pit_calibrate(); in native_calibrate_cpu_early()
916 return fast_calibrate; in native_calibrate_cpu_early()