Home
last modified time | relevance | path

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

/linux/arch/mips/loongson64/
H A 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()
252 return (u64)hpet_read(HPET_COUNTER); in hpet_read_counter()
/linux/arch/x86/kernel/
H A Dhpet.c155 l = hpet_readl(HPET_COUNTER); in _hpet_print_config()
156 h = hpet_readl(HPET_COUNTER+4); in _hpet_print_config()
258 hpet_writel(0, HPET_COUNTER); in hpet_reset_counter()
259 hpet_writel(0, HPET_COUNTER + 4); in hpet_reset_counter()
306 now = hpet_readl(HPET_COUNTER); in hpet_clkevt_set_state_periodic()
367 cnt = hpet_readl(HPET_COUNTER); in hpet_clkevt_set_next_event()
393 res = (s32)(cnt - hpet_readl(HPET_COUNTER)); in hpet_clkevt_set_next_event()
805 return (u64)hpet_readl(HPET_COUNTER); in read_hpet()
817 new.value = hpet_readl(HPET_COUNTER); in read_hpet()
854 return (u64)hpet_readl(HPET_COUNTER); in read_hpet()
[all …]
H A Dtsc.c363 *p = hpet_readl(HPET_COUNTER) & 0xFFFFFFFF; in tsc_read_refs()
/linux/arch/mips/include/asm/
H A Dhpet.h13 #define HPET_COUNTER 0x0f0 macro
/linux/arch/x86/include/asm/
H A Dhpet.h15 #define HPET_COUNTER 0x0f0 macro