Home
last modified time | relevance | path

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

/linux-4.4.14/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()
132 outb_p(PIT_LATCH & 0xff, PIT_CH0); /* LSB */ in pit_set_periodic()
133 outb_p(PIT_LATCH >> 8, PIT_CH0); /* MSB */ in pit_set_periodic()
/linux-4.4.14/include/linux/
Di8253.h21 #define PIT_LATCH ((PIT_TICK_RATE + HZ/2) / HZ) macro