Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/timer/
Dmcux_os_timer.c38 static uint64_t cyc_sys_compensated; variable
45 return (OSTIMER_GetCurrentTimerValue(base) + cyc_sys_compensated); in mcux_lpc_ostick_get_compensated_timer_value()
118 cyc_sys_compensated += OSTIMER_GetCurrentTimerValue(base); in mcux_lpc_ostick_set_counter_timeout()
154 cyc_sys_compensated += (k_us_to_ticks_floor32(slept_time_us) * CYC_PER_TICK); in mcux_lpc_ostick_compensate_system_timer()
218 OSTIMER_SetMatchValue(base, cyc + last_count - cyc_sys_compensated, NULL); in sys_clock_set_timeout()
Dnpcx_itim_timer.c80 __unused static uint64_t cyc_sys_compensated; variable
102 cyc_sys_compensated; in npcx_itim_get_sys_cyc64()
324 cyc_sys_compensated += ((uint64_t)cyc_evt_elapsed_in_deep * in npcx_clock_compensate_system_timer()
330 return cyc_sys_compensated / SYS_CYCLES_PER_TICK; in npcx_clock_get_sleep_ticks()