Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/timer/
Dnrf_grtc_timer.c292 int64_t abs_ticks; in z_nrf_grtc_timer_get_ticks() local
299 abs_ticks = Z_TICK_ABS(t.ticks); in z_nrf_grtc_timer_get_ticks()
300 if (abs_ticks < 0) { in z_nrf_grtc_timer_get_ticks()
307 result = (abs_ticks - curr_tick) * CYC_PER_TICK; in z_nrf_grtc_timer_get_ticks()
Dnrf_rtc_timer.c203 int64_t abs_ticks; in z_nrf_rtc_timer_get_ticks() local
210 abs_ticks = Z_TICK_ABS(t.ticks); in z_nrf_rtc_timer_get_ticks()
211 if (abs_ticks < 0) { in z_nrf_rtc_timer_get_ticks()
218 result = abs_ticks - curr_tick; in z_nrf_rtc_timer_get_ticks()