Lines Matching refs:hpet_readl

75 inline unsigned int hpet_readl(unsigned int a)  in hpet_readl()  function
145 id = hpet_readl(HPET_ID); in _hpet_print_config()
146 period = hpet_readl(HPET_PERIOD); in _hpet_print_config()
149 cfg = hpet_readl(HPET_CFG); in _hpet_print_config()
150 status = hpet_readl(HPET_STATUS); in _hpet_print_config()
153 l = hpet_readl(HPET_COUNTER); in _hpet_print_config()
154 h = hpet_readl(HPET_COUNTER+4); in _hpet_print_config()
160 l = hpet_readl(HPET_Tn_CFG(i)); in _hpet_print_config()
161 h = hpet_readl(HPET_Tn_CFG(i)+4); in _hpet_print_config()
164 l = hpet_readl(HPET_Tn_CMP(i)); in _hpet_print_config()
165 h = hpet_readl(HPET_Tn_CMP(i)+4); in _hpet_print_config()
168 l = hpet_readl(HPET_Tn_ROUTE(i)); in _hpet_print_config()
169 h = hpet_readl(HPET_Tn_ROUTE(i)+4); in _hpet_print_config()
248 u32 cfg = hpet_readl(HPET_CFG); in hpet_stop_counter()
262 unsigned int cfg = hpet_readl(HPET_CFG); in hpet_start_counter()
288 unsigned int cfg = hpet_readl(HPET_CFG); in hpet_enable_legacy_int()
304 now = hpet_readl(HPET_COUNTER); in hpet_clkevt_set_state_periodic()
306 cfg = hpet_readl(HPET_Tn_CFG(channel)); in hpet_clkevt_set_state_periodic()
331 cfg = hpet_readl(HPET_Tn_CFG(channel)); in hpet_clkevt_set_state_oneshot()
344 cfg = hpet_readl(HPET_Tn_CFG(channel)); in hpet_clkevt_set_state_shutdown()
365 cnt = hpet_readl(HPET_COUNTER); in hpet_clkevt_set_next_event()
391 res = (s32)(cnt - hpet_readl(HPET_COUNTER)); in hpet_clkevt_set_next_event()
477 cfg = hpet_readl(HPET_Tn_CFG(hc->num)); in hpet_msi_unmask()
487 cfg = hpet_readl(HPET_Tn_CFG(hc->num)); in hpet_msi_mask()
694 return (u64)hpet_readl(HPET_COUNTER); in read_hpet()
706 new.value = hpet_readl(HPET_COUNTER); in read_hpet()
743 return (u64)hpet_readl(HPET_COUNTER); in read_hpet()
776 if (hpet_readl(HPET_CFG) != 0xFFFFFFFF) in hpet_cfg_working()
790 t1 = hpet_readl(HPET_COUNTER); in hpet_counting()
800 if (t1 != hpet_readl(HPET_COUNTER)) in hpet_counting()
833 hpet_period = hpet_readl(HPET_PERIOD); in hpet_enable()
846 id = hpet_readl(HPET_ID); in hpet_enable()
868 cfg = hpet_readl(HPET_CFG); in hpet_enable()
879 cfg = hpet_readl(HPET_Tn_CFG(i)); in hpet_enable()
1106 cnt = delta + hpet_readl(HPET_COUNTER); in hpet_rtc_timer_init()
1110 cfg = hpet_readl(HPET_T1_CFG); in hpet_rtc_timer_init()
1123 u32 cfg = hpet_readl(HPET_T1_CFG); in hpet_disable_rtc_channel()
1229 } while (!hpet_cnt_ahead(hpet_t1_cmp, hpet_readl(HPET_COUNTER))); in hpet_rtc_timer_reinit()