Home
last modified time | relevance | path

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

/arch/mips/loongson64/loongson-3/
Dhpet.c68 hpet_write(HPET_COUNTER, 0); in hpet_reset_counter()
69 hpet_write(HPET_COUNTER + 4, 0); in hpet_reset_counter()
163 cnt = hpet_read(HPET_COUNTER); in hpet_next_event()
167 res = (s32)(cnt - hpet_read(HPET_COUNTER)); in hpet_next_event()
253 return (cycle_t)hpet_read(HPET_COUNTER); in hpet_read_counter()
/arch/x86/kernel/
Dhpet.c150 l = hpet_readl(HPET_COUNTER); in _hpet_print_config()
151 h = hpet_readl(HPET_COUNTER+4); in _hpet_print_config()
241 hpet_writel(0, HPET_COUNTER); in hpet_reset_counter()
242 hpet_writel(0, HPET_COUNTER + 4); in hpet_reset_counter()
303 now = hpet_readl(HPET_COUNTER); in hpet_set_periodic()
372 cnt = hpet_readl(HPET_COUNTER); in hpet_next_event()
398 res = (s32)(cnt - hpet_readl(HPET_COUNTER)); in hpet_next_event()
767 return (cycle_t)hpet_readl(HPET_COUNTER); in read_hpet()
788 t1 = hpet_readl(HPET_COUNTER); in hpet_clocksource_register()
802 if (t1 == hpet_readl(HPET_COUNTER)) { in hpet_clocksource_register()
[all …]
Dtsc.c389 *p = hpet_readl(HPET_COUNTER) & 0xFFFFFFFF; in tsc_read_refs()
/arch/mips/include/asm/
Dhpet.h12 #define HPET_COUNTER 0x0f0 macro
/arch/x86/include/asm/
Dhpet.h14 #define HPET_COUNTER 0x0f0 macro