Searched refs:HPET_COUNTER (Results 1 – 6 of 6) sorted by relevance
65 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()
148 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 …]
378 *p = hpet_readl(HPET_COUNTER) & 0xFFFFFFFF; in tsc_read_refs()
12 #define HPET_COUNTER 0x0f0 macro
14 #define HPET_COUNTER 0x0f0 macro
35 return *(const volatile u32 *)(&hpet_page + HPET_COUNTER); in vread_hpet()