Searched refs:hpet_readl (Results 1 – 3 of 3) sorted by relevance
184 return ((hpet_readl(HPET_COUNTER) - vxtime.last) * vxtime.quot) >> 32; in do_gettimeoffset_hpet()344 offset = hpet_readl(HPET_T0_CMP) - hpet_tick; in timer_interrupt()345 delay = hpet_readl(HPET_COUNTER) - offset; in timer_interrupt()490 hpet_start = hpet_readl(HPET_COUNTER); in hpet_calibrate_tsc()495 hpet_now = hpet_readl(HPET_COUNTER); in hpet_calibrate_tsc()546 id = hpet_readl(HPET_ID); in hpet_init()551 hpet_period = hpet_readl(HPET_PERIOD); in hpet_init()561 cfg = hpet_readl(HPET_CFG); in hpet_init()669 vxtime.last = hpet_readl(HPET_T0_CMP) - hpet_tick; in time_init_smp()
732 int trigger = hpet_readl(HPET_T0_CMP); in setup_APIC_timer()733 while (hpet_readl(HPET_COUNTER) >= trigger); in setup_APIC_timer()734 while (hpet_readl(HPET_COUNTER) < trigger); in setup_APIC_timer()
37 #define hpet_readl(a) readl(fix_to_virt(FIX_HPET_BASE) + a) macro