Lines Matching refs:rtimer
74 static struct mec_rtmr_regs *const rtimer = (struct mec_rtmr_regs *)DT_INST_REG_ADDR(0); variable
110 uint32_t ccr = mec_hal_rtimer_count(rtimer); in rtimer_count()
112 if ((ccr == 0) && mec_hal_rtimer_is_started(rtimer)) { in rtimer_count()
149 mec_hal_rtimer_stop(rtimer); in sys_clock_set_timeout()
169 mec_hal_rtimer_stop(rtimer); in sys_clock_set_timeout()
170 mec_hal_rtimer_status_clear_all(rtimer); in sys_clock_set_timeout()
186 mec_hal_rtimer_stop_and_load(rtimer, temp, RTIMER_START_VAL); in sys_clock_set_timeout()
230 mec_hal_rtimer_status_clear_all(rtimer); in mec5_ktimer_isr()
233 mec_hal_rtimer_stop_and_load(rtimer, MAX_TICKS * CYCLES_PER_TICK, RTIMER_START_VAL); in mec5_ktimer_isr()
260 mec_hal_rtimer_status_clear_all(rtimer); in mec5_ktimer_isr()
263 mec_hal_rtimer_stop_and_load(rtimer, cached_icr, RTIMER_START_VAL); in mec5_ktimer_isr()
308 mec_hal_rtimer_stop_and_load(rtimer, cached_icr, RTIMER_START_VAL); in sys_clock_idle_exit()
314 mec_hal_rtimer_stop(rtimer); in sys_clock_disable()
388 mec_hal_rtimer_init(rtimer, rtmr_cfg, cached_icr); in sys_clock_driver_init()
397 mec_hal_rtimer_start(rtimer); in sys_clock_driver_init()
398 while (!mec_hal_rtimer_is_counting(rtimer)) { in sys_clock_driver_init()