Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/arch/x86/kernel/
H A Dhpet.c154 l = hpet_readl(HPET_COUNTER); in _hpet_print_config()
155 h = hpet_readl(HPET_COUNTER+4); in _hpet_print_config()
257 hpet_writel(0, HPET_COUNTER); in hpet_reset_counter()
258 hpet_writel(0, HPET_COUNTER + 4); in hpet_reset_counter()
305 now = hpet_readl(HPET_COUNTER); in hpet_clkevt_set_state_periodic()
366 cnt = hpet_readl(HPET_COUNTER); in hpet_clkevt_set_next_event()
392 res = (s32)(cnt - hpet_readl(HPET_COUNTER)); in hpet_clkevt_set_next_event()
695 return (u64)hpet_readl(HPET_COUNTER); in read_hpet()
707 new.value = hpet_readl(HPET_COUNTER); in read_hpet()
744 return (u64)hpet_readl(HPET_COUNTER); in read_hpet()
[all …]
H A Dtsc.c325 *p = hpet_readl(HPET_COUNTER) & 0xFFFFFFFF; in tsc_read_refs()
/OK3568_Linux_fs/kernel/arch/mips/include/asm/
H A Dhpet.h13 #define HPET_COUNTER 0x0f0 macro
/OK3568_Linux_fs/kernel/arch/x86/include/asm/
H A Dhpet.h15 #define HPET_COUNTER 0x0f0 macro