Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/kernel/apic/
H A Dapic.c674 #define LAPIC_CAL_LOOPS (HZ/10) macro
702 case LAPIC_CAL_LOOPS: in lapic_cal_handler()
884 while (lapic_cal_loops <= LAPIC_CAL_LOOPS) { in calibrate_APIC_clock()
922 lapic_timer_period = (delta * APIC_DIVISOR) / LAPIC_CAL_LOOPS; in calibrate_APIC_clock()
933 (deltatsc / LAPIC_CAL_LOOPS) / (1000000 / HZ), in calibrate_APIC_clock()
934 (deltatsc / LAPIC_CAL_LOOPS) % (1000000 / HZ)); in calibrate_APIC_clock()
971 while (lapic_cal_loops <= LAPIC_CAL_LOOPS) in calibrate_APIC_clock()
983 if (deltaj >= LAPIC_CAL_LOOPS-2 && deltaj <= LAPIC_CAL_LOOPS+2) in calibrate_APIC_clock()