Home
last modified time | relevance | path

Searched refs:K_TICKS_FOREVER (Results 1 – 25 of 49) sorted by relevance

12

/Zephyr-latest/kernel/
Dnothread.c33 SYS_PORT_TRACING_FUNC_EXIT(k_thread, sleep, timeout, (int32_t) K_TICKS_FOREVER); in z_impl_k_sleep()
35 return (int32_t) K_TICKS_FOREVER; in z_impl_k_sleep()
Dtimeout.c22 ? K_TICKS_FOREVER : INT_MAX)
202 int32_t ret = (int32_t) K_TICKS_FOREVER; in z_get_next_timeout_expiry()
/Zephyr-latest/tests/kernel/mem_protect/futex/src/
Dmain.c68 zassert_true(time_val >= (int)K_TICKS_FOREVER, in futex_wait_task()
75 case K_TICKS_FOREVER: in futex_wait_task()
110 zassert_true(time_val >= (int)K_TICKS_FOREVER, "invalid timeout parameter"); in futex_wait_wake_task()
116 case K_TICKS_FOREVER: in futex_wait_wake_task()
153 zassert_true(time_val == (int)K_TICKS_FOREVER, "invalid timeout parameter"); in futex_multiple_wait_wake_task()
173 timeout = K_TICKS_FOREVER; in ZTEST()
236 timeout = K_TICKS_FOREVER; in ZTEST()
327 timeout = K_TICKS_FOREVER; in ZTEST()
352 timeout = K_TICKS_FOREVER; in ZTEST()
388 timeout = K_TICKS_FOREVER; in ZTEST()
/Zephyr-latest/tests/kernel/condvar/condvar_api/src/
Dmain.c64 zassert_true(time_val >= (int)K_TICKS_FOREVER, in condvar_wait_task()
71 case K_TICKS_FOREVER: in condvar_wait_task()
115 zassert_true(time_val >= (int)K_TICKS_FOREVER, "invalid timeout parameter"); in condvar_wait_wake_task()
120 case K_TICKS_FOREVER: in condvar_wait_wake_task()
143 timeout = K_TICKS_FOREVER; in ZTEST_USER()
214 timeout = K_TICKS_FOREVER; in ZTEST_USER()
271 timeout = K_TICKS_FOREVER; in ZTEST()
290 timeout = K_TICKS_FOREVER; in ZTEST_USER()
328 zassert_true(time_val == (int)K_TICKS_FOREVER, "invalid timeout parameter"); in condvar_multiple_wait_wake_task()
359 timeout = K_TICKS_FOREVER; in ZTEST_USER()
/Zephyr-latest/include/zephyr/
Dsys_clock.h51 #define K_TICKS_FOREVER ((k_ticks_t) -1) macro
124 #define Z_FOREVER Z_TIMEOUT_TICKS(K_TICKS_FOREVER)
148 #define Z_TICK_ABS(t) (K_TICKS_FOREVER - 1 - (t))
/Zephyr-latest/tests/arch/arc/arc_dsp_sharing/src/
Dload_store.c213 THREAD_LOW_PRIORITY, THREAD_DSP_FLAGS, K_TICKS_FOREVER);
216 THREAD_HIGH_PRIORITY, THREAD_DSP_FLAGS, K_TICKS_FOREVER);
Dcalculation_arc.c135 THREAD_LOW_PRIORITY, THREAD_DSP_FLAGS, K_TICKS_FOREVER);
138 THREAD_HIGH_PRIORITY, THREAD_DSP_FLAGS, K_TICKS_FOREVER);
/Zephyr-latest/tests/kernel/fpu_sharing/generic/src/
Dpi.c172 THREAD_LOW_PRIORITY, THREAD_FP_FLAGS, K_TICKS_FOREVER);
175 THREAD_HIGH_PRIORITY, THREAD_FP_FLAGS, K_TICKS_FOREVER);
Dload_store.c313 THREAD_LOW_PRIORITY, THREAD_FP_FLAGS, K_TICKS_FOREVER);
316 THREAD_HIGH_PRIORITY, THREAD_FP_FLAGS, K_TICKS_FOREVER);
/Zephyr-latest/subsys/pm/
Dpm.c84 if (ticks1 == K_TICKS_FOREVER) { in ticks_expiring_sooner()
87 if (ticks2 == K_TICKS_FOREVER) { in ticks_expiring_sooner()
198 (ticks != K_TICKS_FOREVER)) { in pm_system_suspend()
/Zephyr-latest/subsys/pm/policy/
Dpolicy_default.c26 if (ticks != K_TICKS_FOREVER) { in pm_policy_next_state()
/Zephyr-latest/drivers/timer/
Darm_arch_timer.c147 if (idle && ticks == K_TICKS_FOREVER) { in sys_clock_set_timeout()
154 if (ticks == K_TICKS_FOREVER) { in sys_clock_set_timeout()
Dsmartbond_timer.c93 if (ticks == K_TICKS_FOREVER) { in sys_clock_set_timeout()
129 ticks = (ticks == K_TICKS_FOREVER) ? MAX_TICKS : ticks; in sys_clock_set_timeout()
Dnative_posix_timer.c86 if (ticks == K_TICKS_FOREVER) { in sys_clock_set_timeout()
Dsam0_rtc_timer.c191 ticks = (ticks == K_TICKS_FOREVER) ? MAX_TICKS : ticks; in sys_clock_set_timeout()
210 if (ticks == K_TICKS_FOREVER) { in sys_clock_set_timeout()
Darcv2_timer0.c271 if (IS_ENABLED(CONFIG_TICKLESS_KERNEL) && ticks == K_TICKS_FOREVER) { in sys_clock_set_timeout()
301 if (IS_ENABLED(CONFIG_TICKLESS_KERNEL) && idle && ticks == K_TICKS_FOREVER) { in sys_clock_set_timeout()
Dmchp_mec5_ktimer.c144 if (idle && (n == K_TICKS_FOREVER)) { in sys_clock_set_timeout()
156 } else if ((n == K_TICKS_FOREVER) || (n > MAX_TICKS)) { in sys_clock_set_timeout()
Dcortex_m_systick.c232 if (IS_ENABLED(CONFIG_TICKLESS_KERNEL) && idle && ticks == K_TICKS_FOREVER) { in sys_clock_set_timeout()
273 ticks = (ticks == K_TICKS_FOREVER) ? MAX_TICKS : ticks; in sys_clock_set_timeout()
Dhpet.c359 if (ticks == K_TICKS_FOREVER && idle) { in sys_clock_set_timeout()
366 ticks = ticks == K_TICKS_FOREVER ? HPET_MAX_TICKS : ticks; in sys_clock_set_timeout()
Dmcux_lptmr_timer.c65 if (idle && (ticks == K_TICKS_FOREVER)) { in sys_clock_set_timeout()
Dmips_cp0_timer.c72 ticks = ticks == K_TICKS_FOREVER ? MAX_TICKS : ticks; in sys_clock_set_timeout()
Dmchp_xec_rtos_timer.c195 if (idle && (n == K_TICKS_FOREVER)) { in sys_clock_set_timeout()
207 } else if ((n == K_TICKS_FOREVER) || (n > MAX_TICKS)) { in sys_clock_set_timeout()
Dxtensa_sys_timer.c71 ticks = ticks == K_TICKS_FOREVER ? MAX_TICKS : ticks; in sys_clock_set_timeout()
/Zephyr-latest/kernel/include/
Dtimeout_q.h67 #define z_get_next_timeout_expiry() ((int32_t) K_TICKS_FOREVER)
/Zephyr-latest/tests/subsys/pm/policy_api/src/
Dmain.c55 next = pm_policy_next_state(0U, K_TICKS_FOREVER); in ZTEST()
70 next = pm_policy_next_state(1U, K_TICKS_FOREVER); in ZTEST()

12