Home
last modified time | relevance | path

Searched refs:cached_icr (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/timer/
Dmchp_mec5_ktimer.c94 static uint32_t cached_icr = CYCLES_PER_TICK; variable
113 ccr = cached_icr; in rtimer_count()
150 cached_icr = RTIMER_STOPPED; in sys_clock_set_timeout()
174 temp += (cached_icr - ccr); in sys_clock_set_timeout()
179 cached_icr = full_cycles + partial_cycles; in sys_clock_set_timeout()
181 temp = cached_icr; in sys_clock_set_timeout()
212 ticks += cached_icr - ccr; in sys_clock_elapsed()
235 cycles = cached_icr; in mec5_ktimer_isr()
236 cached_icr = MAX_TICKS * CYCLES_PER_TICK; in mec5_ktimer_isr()
263 mec_hal_rtimer_stop_and_load(rtimer, cached_icr, RTIMER_START_VAL); in mec5_ktimer_isr()
[all …]
Dmchp_xec_rtos_timer.c105 static uint32_t cached_icr = CYCLES_PER_TICK; variable
164 ccr = cached_icr; in timer_count()
201 cached_icr = TIMER_STOPPED; in sys_clock_set_timeout()
225 temp += (cached_icr - ccr); in sys_clock_set_timeout()
230 cached_icr = full_cycles + partial_cycles; in sys_clock_set_timeout()
232 temp = cached_icr; in sys_clock_set_timeout()
263 ticks += cached_icr - ccr; in sys_clock_elapsed()
286 cycles = cached_icr; in xec_rtos_timer_isr()
287 cached_icr = MAX_TICKS * CYCLES_PER_TICK; in xec_rtos_timer_isr()
316 timer_restart(cached_icr); in xec_rtos_timer_isr()
[all …]