Searched refs:next_arr (Results 1 – 1 of 1) sorted by relevance
198 uint32_t next_arr = 0; in sys_clock_set_timeout() local305 next_arr = (((lp_time * CONFIG_SYS_CLOCK_TICKS_PER_SEC) in sys_clock_set_timeout()308 next_arr = next_arr + ((uint32_t)(ticks) * lptim_clock_freq) in sys_clock_set_timeout()313 if (next_arr > lptim_time_base) { in sys_clock_set_timeout()314 next_arr = lptim_time_base; in sys_clock_set_timeout()320 else if (next_arr < (lp_time + LPTIM_GUARD_VALUE)) { in sys_clock_set_timeout()321 next_arr = lp_time + LPTIM_GUARD_VALUE; in sys_clock_set_timeout()324 next_arr = next_arr - 1; in sys_clock_set_timeout()327 lptim_set_autoreload(next_arr); in sys_clock_set_timeout()