Searched refs:next_cycs (Results 1 – 2 of 2) sorted by relevance
151 uint64_t next_cycs; in npcx_itim_start_evt_tmr_by_tick() local159 next_cycs = (last_ticks + last_elapsed + ticks) * SYS_CYCLES_PER_TICK; in npcx_itim_start_evt_tmr_by_tick()160 if (unlikely(next_cycs <= curr)) { in npcx_itim_start_evt_tmr_by_tick()165 dcycles = next_cycs - curr; in npcx_itim_start_evt_tmr_by_tick()
249 uint32_t next_cycs; in sys_clock_set_timeout() local260 next_cycs = (last_ticks + last_elapsed + ticks) * HW_CNT_PER_SYS_TICK; in sys_clock_set_timeout()262 if (unlikely(next_cycs <= now)) { in sys_clock_set_timeout()265 dcycles = next_cycs - now; in sys_clock_set_timeout()