Searched refs:CALIBRATE_LATCH (Results 1 – 2 of 2) sorted by relevance
18 #define CALIBRATE_LATCH \ macro36 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()
340 #define CALIBRATE_LATCH 0xffff macro359 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()