Home
last modified time | relevance | path

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

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