Home
last modified time | relevance | path

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

/linux-6.6.21/arch/x86/kernel/apic/
Dapic.c662 #define LAPIC_CAL_LOOPS (HZ/10) macro
690 case LAPIC_CAL_LOOPS: in lapic_cal_handler()
872 while (lapic_cal_loops <= LAPIC_CAL_LOOPS) { in calibrate_APIC_clock()
910 lapic_timer_period = (delta * APIC_DIVISOR) / LAPIC_CAL_LOOPS; in calibrate_APIC_clock()
921 (deltatsc / LAPIC_CAL_LOOPS) / (1000000 / HZ), in calibrate_APIC_clock()
922 (deltatsc / LAPIC_CAL_LOOPS) % (1000000 / HZ)); in calibrate_APIC_clock()
959 while (lapic_cal_loops <= LAPIC_CAL_LOOPS) in calibrate_APIC_clock()
971 if (deltaj >= LAPIC_CAL_LOOPS-2 && deltaj <= LAPIC_CAL_LOOPS+2) in calibrate_APIC_clock()