Home
last modified time | relevance | path

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

/Linux-v5.10/arch/x86/include/asm/
Dmach_timer.h18 #define CALIBRATE_LATCH \ macro
36 outb_p(CALIBRATE_LATCH & 0xff, 0x42); /* LSB of count */ in mach_prepare_counter()
37 outb_p(CALIBRATE_LATCH >> 8, 0x42); /* MSB of count */ in mach_prepare_counter()
/Linux-v5.10/arch/alpha/kernel/
Dtime.c340 #define CALIBRATE_LATCH 0xffff macro
359 outb(CALIBRATE_LATCH & 0xff, 0x42); /* LSB of count */ in calibrate_cc_with_pit()
360 outb(CALIBRATE_LATCH >> 8, 0x42); /* MSB of count */ in calibrate_cc_with_pit()
372 return ((long)cc * PIT_TICK_RATE) / (CALIBRATE_LATCH + 1); in calibrate_cc_with_pit()
/Linux-v5.10/drivers/clocksource/
Dacpi_pm.c140 ((CALIBRATE_LATCH * (PMTMR_TICKS_PER_SEC >> 10)) / (PIT_TICK_RATE>>10))