Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/timer/
Dnpcx_itim_timer.c52 #define SYS_CYCLES_PER_TICK (sys_clock_hw_cycles_per_sec() \ macro
159 next_cycs = (last_ticks + last_elapsed + ticks) * SYS_CYCLES_PER_TICK; in npcx_itim_start_evt_tmr_by_tick()
197 uint32_t delta_ticks = (uint32_t)((curr - cyc_sys_announced) / SYS_CYCLES_PER_TICK); in npcx_itim_evt_isr()
199 cyc_sys_announced += delta_ticks * SYS_CYCLES_PER_TICK; in npcx_itim_evt_isr()
281 uint32_t delta_ticks = (uint32_t)(delta_cycle / SYS_CYCLES_PER_TICK); in sys_clock_elapsed()
330 return cyc_sys_compensated / SYS_CYCLES_PER_TICK; in npcx_clock_get_sleep_ticks()