Home
last modified time | relevance | path

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

/openbmc/linux/arch/mips/loongson64/
H A Dhpet.c41 static int hpet_read(int offset) in hpet_read() function
53 unsigned int cfg = hpet_read(HPET_CFG); in hpet_start_counter()
61 unsigned int cfg = hpet_read(HPET_CFG); in hpet_stop_counter()
96 cfg = hpet_read(HPET_T0_CFG); in hpet_set_state_periodic()
120 cfg = hpet_read(HPET_T0_CFG); in hpet_set_state_shutdown()
135 cfg = hpet_read(HPET_T0_CFG); in hpet_set_state_oneshot()
164 cnt = hpet_read(HPET_COUNTER); in hpet_next_event()
168 res = (s32)(cnt - hpet_read(HPET_COUNTER)); in hpet_next_event()
179 is_irq = hpet_read(HPET_STATUS); in hpet_irq_handler()
252 return (u64)hpet_read(HPET_COUNTER); in hpet_read_counter()
/openbmc/linux/samples/timers/
H A Dhpet_example.c23 extern void hpet_read(int, const char **);