Searched refs:k_ticks_t (Results 1 – 15 of 15) sorted by relevance
/Zephyr-Core-2.7.6/include/ |
D | sys_clock.h | 46 typedef int64_t k_ticks_t; typedef 48 typedef uint32_t k_ticks_t; 51 #define K_TICKS_FOREVER ((k_ticks_t) -1) 66 k_ticks_t ticks; 91 # define Z_TIMEOUT_MS(t) Z_TIMEOUT_TICKS((k_ticks_t)k_ms_to_ticks_ceil64(MAX(t, 0))) 92 # define Z_TIMEOUT_US(t) Z_TIMEOUT_TICKS((k_ticks_t)k_us_to_ticks_ceil64(MAX(t, 0))) 93 # define Z_TIMEOUT_NS(t) Z_TIMEOUT_TICKS((k_ticks_t)k_ns_to_ticks_ceil64(MAX(t, 0))) 94 # define Z_TIMEOUT_CYC(t) Z_TIMEOUT_TICKS((k_ticks_t)k_cyc_to_ticks_ceil64(MAX(t, 0))) 96 # define Z_TIMEOUT_MS(t) Z_TIMEOUT_TICKS((k_ticks_t)k_ms_to_ticks_ceil32(MAX(t, 0))) 97 # define Z_TIMEOUT_US(t) Z_TIMEOUT_TICKS((k_ticks_t)k_us_to_ticks_ceil32(MAX(t, 0))) [all …]
|
D | kernel.h | 568 extern k_ticks_t z_timeout_expires(const struct _timeout *timeout); 569 extern k_ticks_t z_timeout_remaining(const struct _timeout *timeout); 580 __syscall k_ticks_t k_thread_timeout_expires_ticks(const struct k_thread *t); 582 static inline k_ticks_t z_impl_k_thread_timeout_expires_ticks( in z_impl_k_thread_timeout_expires_ticks() 595 __syscall k_ticks_t k_thread_timeout_remaining_ticks(const struct k_thread *t); 597 static inline k_ticks_t z_impl_k_thread_timeout_remaining_ticks( in z_impl_k_thread_timeout_remaining_ticks() 1201 Z_TIMEOUT_TICKS(Z_TICK_ABS((k_ticks_t)MAX(t, 0))) 1466 __syscall k_ticks_t k_timer_expires_ticks(const struct k_timer *timer); 1468 static inline k_ticks_t z_impl_k_timer_expires_ticks( in z_impl_k_timer_expires_ticks() 1481 __syscall k_ticks_t k_timer_remaining_ticks(const struct k_timer *timer); [all …]
|
D | timeout_q.h | 61 k_ticks_t z_timeout_remaining(const struct _timeout *timeout);
|
/Zephyr-Core-2.7.6/kernel/ |
D | timeout.c | 107 k_ticks_t ticks = Z_TICK_ABS(timeout.ticks) - curr_tick; in z_add_timeout() 165 static k_ticks_t timeout_rem(const struct _timeout *timeout) in timeout_rem() 167 k_ticks_t ticks = 0; in timeout_rem() 183 k_ticks_t z_timeout_remaining(const struct _timeout *timeout) in z_timeout_remaining() 185 k_ticks_t ticks = 0; in z_timeout_remaining() 194 k_ticks_t z_timeout_expires(const struct _timeout *timeout) in z_timeout_expires() 196 k_ticks_t ticks = 0; in z_timeout_expires() 366 k_ticks_t dt; in sys_clock_timeout_end_calc()
|
D | timer.c | 265 static inline k_ticks_t z_vrfy_k_timer_remaining_ticks( in z_vrfy_k_timer_remaining_ticks() 273 static inline k_ticks_t z_vrfy_k_timer_expires_ticks( in z_vrfy_k_timer_expires_ticks()
|
D | thread.c | 987 static inline k_ticks_t z_vrfy_k_thread_timeout_remaining_ticks( in z_vrfy_k_thread_timeout_remaining_ticks() 995 static inline k_ticks_t z_vrfy_k_thread_timeout_expires_ticks( in z_vrfy_k_thread_timeout_expires_ticks()
|
D | sched.c | 1261 static int32_t z_tick_sleep(k_ticks_t ticks) in z_tick_sleep() 1301 ticks = (k_ticks_t)expected_wakeup_ticks - sys_clock_tick_get_32(); in z_tick_sleep() 1312 k_ticks_t ticks; in z_impl_k_sleep()
|
D | Kconfig | 609 When this option is true, the k_ticks_t values passed to
|
/Zephyr-Core-2.7.6/subsys/portability/cmsis_rtos_v2/ |
D | event_flags.c | 180 poll_timeout = Z_TIMEOUT_TICKS((k_ticks_t)( in osEventFlagsWait()
|
/Zephyr-Core-2.7.6/tests/kernel/mem_protect/futex/src/ |
D | main.c | 66 k_ticks_t time_val = *(int *)p1; in futex_wait_task()
|
/Zephyr-Core-2.7.6/tests/kernel/condvar/condvar_api/src/ |
D | main.c | 61 k_ticks_t time_val = *(int *)p1; in condvar_wait_task()
|
/Zephyr-Core-2.7.6/tests/lib/mpsc_pbuf/src/ |
D | main.c | 1014 k_ticks_t t = k_thread_timeout_remaining_ticks(tids[i]); in start_threads() 1015 k_ticks_t exp_wait = k_ms_to_ticks_ceil32(wait_ms); in start_threads()
|
/Zephyr-Core-2.7.6/tests/kernel/timer/timer_api/src/ |
D | main.c | 807 k_ticks_t late = end - (start + sleep_ticks); in test_sleep_abs()
|
/Zephyr-Core-2.7.6/tests/kernel/threads/thread_apis/src/ |
D | main.c | 501 k_ticks_t r, e, r1, ticks, expected_expires_ticks; in test_thread_timeout_remaining_expires()
|
/Zephyr-Core-2.7.6/ |
D | CMakeLists.txt | 637 set(SYSCALL_SPLIT_TIMEOUT_ARG --split-type k_timeout_t --split-type k_ticks_t)
|