Home
last modified time | relevance | path

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

/Linux-v5.4/arch/mips/loongson64/loongson-3/
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()
256 return (u64)hpet_read(HPET_COUNTER); in hpet_read_counter()
/Linux-v5.4/samples/timers/
Dhpet_example.c23 extern void hpet_read(int, const char **);
/Linux-v5.4/drivers/char/
Dhpet.c296 hpet_read(struct file *file, char __user *buf, size_t count, loff_t * ppos) in hpet_read() function
715 .read = hpet_read,