Home
last modified time | relevance | path

Searched refs:CALIBRATE_LATCH (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/include/asm/
H A 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()
/kernel/linux/linux-6.6/arch/x86/include/asm/
H A 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()
/kernel/linux/linux-5.10/arch/alpha/kernel/
H A Dtime.c345 #define CALIBRATE_LATCH 0xffff in calibrate_cc_with_pit()
364 outb(CALIBRATE_LATCH & 0xff, 0x42); /* LSB of count */ in calibrate_cc_with_pit()
365 outb(CALIBRATE_LATCH >> 8, 0x42); /* MSB of count */ in calibrate_cc_with_pit()
377 return ((long)cc * PIT_TICK_RATE) / (CALIBRATE_LATCH + 1);
340 #define CALIBRATE_LATCH global() macro
/kernel/linux/linux-6.6/arch/alpha/kernel/
H A Dtime.c345 #define CALIBRATE_LATCH 0xffff in calibrate_cc_with_pit()
364 outb(CALIBRATE_LATCH & 0xff, 0x42); /* LSB of count */ in calibrate_cc_with_pit()
365 outb(CALIBRATE_LATCH >> 8, 0x42); /* MSB of count */ in calibrate_cc_with_pit()
377 return ((long)cc * PIT_TICK_RATE) / (CALIBRATE_LATCH + 1);
340 #define CALIBRATE_LATCH global() macro
/kernel/linux/linux-5.10/drivers/clocksource/
H A Dacpi_pm.c140 ((CALIBRATE_LATCH * (PMTMR_TICKS_PER_SEC >> 10)) / (PIT_TICK_RATE>>10))
/kernel/linux/linux-6.6/drivers/clocksource/
H A Dacpi_pm.c141 ((CALIBRATE_LATCH * (PMTMR_TICKS_PER_SEC >> 10)) / (PIT_TICK_RATE>>10))

Completed in 5 milliseconds