Searched refs:PIT_LATCH (Results 1 – 2 of 2) sorted by relevance
56 if (count > PIT_LATCH) { in i8253_read()58 outb_p(PIT_LATCH & 0xff, PIT_CH0); in i8253_read()59 outb_p(PIT_LATCH >> 8, PIT_CH0); in i8253_read()60 count = PIT_LATCH - 1; in i8253_read()84 count = (PIT_LATCH - 1) - count; in i8253_read()86 return (cycle_t)(jifs * PIT_LATCH) + count; in i8253_read()117 outb_p(PIT_LATCH & 0xff , PIT_CH0); /* LSB */ in init_pit_timer()118 outb_p(PIT_LATCH >> 8 , PIT_CH0); /* MSB */ in init_pit_timer()
21 #define PIT_LATCH ((PIT_TICK_RATE + HZ/2) / HZ) macro