Lines Matching refs:CYCLES_PER_TICK
53 #define CYCLES_PER_TICK \ macro
87 #define MAX_TICKS (TIMER_MAX / CYCLES_PER_TICK)
105 static uint32_t cached_icr = CYCLES_PER_TICK;
213 full_cycles = full_ticks * CYCLES_PER_TICK; in sys_clock_set_timeout()
229 partial_cycles = CYCLES_PER_TICK - (total_cycles % CYCLES_PER_TICK); in sys_clock_set_timeout()
264 ticks /= CYCLES_PER_TICK; in sys_clock_elapsed()
284 timer_restart(MAX_TICKS * CYCLES_PER_TICK); in xec_rtos_timer_isr()
287 cached_icr = MAX_TICKS * CYCLES_PER_TICK; in xec_rtos_timer_isr()
295 ticks /= CYCLES_PER_TICK; in xec_rtos_timer_isr()
318 uint32_t temp = total_cycles + CYCLES_PER_TICK; in xec_rtos_timer_isr()
361 cached_icr = CYCLES_PER_TICK; in sys_clock_idle_exit()