Home
last modified time | relevance | path

Searched refs:PIT_LATCH (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/drivers/clocksource/
Di8253.c56 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()
/linux-4.1.27/include/linux/
Di8253.h21 #define PIT_LATCH ((PIT_TICK_RATE + HZ/2) / HZ) macro