Searched refs:PIT_LATCH (Results 1 – 2 of 2) sorted by relevance
64 if (count > PIT_LATCH) { in i8253_read()66 outb_p(PIT_LATCH & 0xff, PIT_CH0); in i8253_read()67 outb_p(PIT_LATCH >> 8, PIT_CH0); in i8253_read()68 count = PIT_LATCH - 1; in i8253_read()92 count = (PIT_LATCH - 1) - count; in i8253_read()94 return (u64)(jifs * PIT_LATCH) + count; in i8253_read()143 outb_p(PIT_LATCH & 0xff, PIT_CH0); /* LSB */ in pit_set_periodic()144 outb_p(PIT_LATCH >> 8, PIT_CH0); /* MSB */ in pit_set_periodic()
21 #define PIT_LATCH ((PIT_TICK_RATE + HZ/2) / HZ) macro
Completed in 5 milliseconds