Searched refs:last_ticks (Results 1 – 5 of 5) sorted by relevance
42 uint64_t last_ticks = 0; in ZTEST() local76 int64_t ticks_diff = ticks - last_ticks; in ZTEST()81 last_ticks = ticks; in ZTEST()
110 static uint64_t last_ticks; variable178 last_ticks += dticks; in timer_isr()205 cyc = (last_ticks + last_elapsed + ticks) * CYC_PER_TICK; in sys_clock_set_timeout()247 last_ticks = mtime() / CYC_PER_TICK; in sys_clock_driver_init()248 last_count = last_ticks * CYC_PER_TICK; in sys_clock_driver_init()
74 static uint64_t last_ticks; variable159 next_cycs = (last_ticks + last_elapsed + ticks) * SYS_CYCLES_PER_TICK; in npcx_itim_start_evt_tmr_by_tick()200 last_ticks += delta_ticks; in npcx_itim_evt_isr()
81 static volatile uint32_t last_ticks; variable194 last_ticks += dticks; in evt_timer_isr()260 next_cycs = (last_ticks + last_elapsed + ticks) * HW_CNT_PER_SYS_TICK; in sys_clock_set_timeout()
51 static uint32_t get_next_sn(uint32_t last_sn, int64_t *last_ticks, in get_next_sn() argument63 delta_ticks = uptime_ticks - *last_ticks; in get_next_sn()64 *last_ticks = uptime_ticks; in get_next_sn()