Searched refs:Z_TICK_ABS (Results 1 – 11 of 11) sorted by relevance
39 if (Z_TICK_ABS(ticks) <= 0) { in z_impl_k_sleep()46 if (Z_TICK_ABS(ticks) > curr_ticks) { in z_impl_k_sleep()47 ticks_to_wait = Z_TICK_ABS(ticks) - curr_ticks; in z_impl_k_sleep()
117 (Z_TICK_ABS(timeout.ticks) >= 0)) { in z_add_timeout()118 k_ticks_t ticks = Z_TICK_ABS(timeout.ticks) - curr_tick; in z_add_timeout()304 if (IS_ENABLED(CONFIG_TIMEOUT_64BIT) && Z_TICK_ABS(dt) >= 0) { in sys_timepoint_calc()305 timepoint.tick = Z_TICK_ABS(dt); in sys_timepoint_calc()
169 if (Z_TICK_ABS(duration.ticks) < 0) { in z_impl_k_timer_start()
1116 if (Z_TICK_ABS(ticks) <= 0) { in z_tick_sleep()1119 expected_wakeup_ticks = Z_TICK_ABS(ticks); in z_tick_sleep()
94 .window = ext_window ? 100 : (Z_TICK_ABS(t.ticks) ? 0 : 32), in test_timeout()116 Z_TIMEOUT_TICKS(Z_TICK_ABS(sys_clock_tick_get() + K_MSEC(1).ticks)); in ZTEST()131 Z_TIMEOUT_TICKS(Z_TICK_ABS(sys_clock_tick_get() - K_MSEC(1).ticks)); in ZTEST()191 t = Z_TIMEOUT_TICKS(Z_TICK_ABS(sys_clock_tick_get() - K_MSEC(1).ticks)); in ZTEST()198 t = Z_TIMEOUT_TICKS(Z_TICK_ABS(sys_clock_tick_get() + K_MSEC(10).ticks)); in ZTEST()215 z_nrf_rtc_timer_get_ticks(Z_TIMEOUT_TICKS(Z_TICK_ABS(now))); in sched_handler()235 t = Z_TIMEOUT_TICKS(Z_TICK_ABS(K_USEC(target_us).ticks)); in ZTEST()248 t = Z_TIMEOUT_TICKS(Z_TICK_ABS(K_USEC(now_us).ticks)); in ZTEST()
43 t = Z_TIMEOUT_TICKS(Z_TICK_ABS(sys_clock_tick_get() - K_MSEC(1).ticks)); in ZTEST()53 t = Z_TIMEOUT_TICKS(Z_TICK_ABS(sys_clock_tick_get() + K_MSEC(10).ticks)); in ZTEST()
148 #define Z_TICK_ABS(t) (K_TICKS_FOREVER - 1 - (t)) macro
1482 Z_TIMEOUT_TICKS(Z_TICK_ABS((k_ticks_t)MAX(t, 0)))
299 abs_ticks = Z_TICK_ABS(t.ticks); in z_nrf_grtc_timer_get_ticks()
210 abs_ticks = Z_TICK_ABS(t.ticks); in z_nrf_rtc_timer_get_ticks()
86 -config=MC3R1.D4.9,macros+={questionable,"name(Z_TICK_ABS)"}