Home
last modified time | relevance | path

Searched refs:HPET_COUNTER (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/arch/mips/loongson64/loongson-3/
Dhpet.c69 hpet_write(HPET_COUNTER, 0); in hpet_reset_counter()
70 hpet_write(HPET_COUNTER + 4, 0); in hpet_reset_counter()
164 cnt = hpet_read(HPET_COUNTER); in hpet_next_event()
168 res = (s32)(cnt - hpet_read(HPET_COUNTER)); in hpet_next_event()
256 return (u64)hpet_read(HPET_COUNTER); in hpet_read_counter()
/Linux-v4.19/arch/x86/kernel/
Dhpet.c151 l = hpet_readl(HPET_COUNTER); in _hpet_print_config()
152 h = hpet_readl(HPET_COUNTER+4); in _hpet_print_config()
242 hpet_writel(0, HPET_COUNTER); in hpet_reset_counter()
243 hpet_writel(0, HPET_COUNTER + 4); in hpet_reset_counter()
304 now = hpet_readl(HPET_COUNTER); in hpet_set_periodic()
362 cnt = hpet_readl(HPET_COUNTER); in hpet_next_event()
388 res = (s32)(cnt - hpet_readl(HPET_COUNTER)); in hpet_next_event()
802 return (u64)hpet_readl(HPET_COUNTER); in read_hpet()
814 new.value = hpet_readl(HPET_COUNTER); in read_hpet()
851 return (u64)hpet_readl(HPET_COUNTER); in read_hpet()
[all …]
Dtsc.c314 *p = hpet_readl(HPET_COUNTER) & 0xFFFFFFFF; in tsc_read_refs()
/Linux-v4.19/arch/mips/include/asm/
Dhpet.h13 #define HPET_COUNTER 0x0f0 macro
/Linux-v4.19/arch/x86/include/asm/
Dhpet.h15 #define HPET_COUNTER 0x0f0 macro