Home
last modified time | relevance | path

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

/linux-4.1.27/arch/mips/loongson/loongson-3/
Dhpet.c65 hpet_write(HPET_COUNTER, 0); in hpet_reset_counter()
66 hpet_write(HPET_COUNTER + 4, 0); in hpet_reset_counter()
138 cnt = hpet_read(HPET_COUNTER); in hpet_next_event()
142 res = ((int)(hpet_read(HPET_COUNTER) - cnt) > 0) ? -ETIME : 0; in hpet_next_event()
224 return (cycle_t)hpet_read(HPET_COUNTER); in hpet_read_counter()
/linux-4.1.27/arch/x86/kernel/
Dhpet.c148 l = hpet_readl(HPET_COUNTER); in _hpet_print_config()
149 h = hpet_readl(HPET_COUNTER+4); in _hpet_print_config()
254 hpet_writel(0, HPET_COUNTER); in hpet_reset_counter()
255 hpet_writel(0, HPET_COUNTER + 4); in hpet_reset_counter()
321 now = hpet_readl(HPET_COUNTER); in hpet_set_mode()
376 cnt = hpet_readl(HPET_COUNTER); in hpet_next_event()
402 res = (s32)(cnt - hpet_readl(HPET_COUNTER)); in hpet_next_event()
741 return (cycle_t)hpet_readl(HPET_COUNTER); in read_hpet()
763 t1 = hpet_readl(HPET_COUNTER); in hpet_clocksource_register()
777 if (t1 == hpet_readl(HPET_COUNTER)) { in hpet_clocksource_register()
[all …]
Dtsc.c378 *p = hpet_readl(HPET_COUNTER) & 0xFFFFFFFF; in tsc_read_refs()
/linux-4.1.27/arch/mips/include/asm/
Dhpet.h12 #define HPET_COUNTER 0x0f0 macro
/linux-4.1.27/arch/x86/include/asm/
Dhpet.h14 #define HPET_COUNTER 0x0f0 macro
/linux-4.1.27/arch/x86/vdso/
Dvclock_gettime.c35 return *(const volatile u32 *)(&hpet_page + HPET_COUNTER); in vread_hpet()