Home
last modified time | relevance | path

Searched refs:usec_to_wait (Results 1 – 18 of 18) sorted by relevance

/Zephyr-latest/kernel/
Dbusy_wait.c12 void z_impl_k_busy_wait(uint32_t usec_to_wait) in z_impl_k_busy_wait() argument
14 SYS_PORT_TRACING_FUNC_ENTER(k_thread, busy_wait, usec_to_wait); in z_impl_k_busy_wait()
15 if (usec_to_wait == 0U) { in z_impl_k_busy_wait()
16 SYS_PORT_TRACING_FUNC_EXIT(k_thread, busy_wait, usec_to_wait); in z_impl_k_busy_wait()
21 arch_busy_wait(usec_to_wait); in z_impl_k_busy_wait()
24 uint32_t cycles_to_wait = k_us_to_cyc_ceil32(usec_to_wait); in z_impl_k_busy_wait()
40 unsigned int loops = loops_per_usec * usec_to_wait; in z_impl_k_busy_wait()
47 SYS_PORT_TRACING_FUNC_EXIT(k_thread, busy_wait, usec_to_wait); in z_impl_k_busy_wait()
51 static inline void z_vrfy_k_busy_wait(uint32_t usec_to_wait) in z_vrfy_k_busy_wait() argument
53 z_impl_k_busy_wait(usec_to_wait); in z_vrfy_k_busy_wait()
/Zephyr-latest/modules/hal_nordic/nrfx/
Dnrfx_glue.c16 void nrfx_busy_wait(uint32_t usec_to_wait) in nrfx_busy_wait() argument
19 k_busy_wait(usec_to_wait); in nrfx_busy_wait()
21 nrfx_coredep_delay_us(usec_to_wait); in nrfx_busy_wait()
Dnrfx_glue.h151 void nrfx_busy_wait(uint32_t usec_to_wait);
/Zephyr-latest/boards/native/native_posix/
Dcpu_wait.c34 void arch_busy_wait(uint32_t usec_to_wait) in arch_busy_wait() argument
36 uint64_t time_end = hwm_get_time() + usec_to_wait; in arch_busy_wait()
/Zephyr-latest/boards/native/native_sim/
Dcpu_wait.c37 void arch_busy_wait(uint32_t usec_to_wait) in arch_busy_wait() argument
39 uint64_t time_end = nsi_hws_get_time() + usec_to_wait; in arch_busy_wait()
/Zephyr-latest/boards/native/nrf_bsim/
Dcpu_wait.c26 void arch_busy_wait(uint32_t usec_to_wait) in arch_busy_wait() argument
28 bs_time_t time_end = nsi_hws_get_time() + usec_to_wait; in arch_busy_wait()
/Zephyr-latest/drivers/timer/
Darm_arch_timer.c195 void arch_busy_wait(uint32_t usec_to_wait) in arch_busy_wait() argument
197 if (usec_to_wait == 0) { in arch_busy_wait()
203 uint64_t cycles_to_wait = sys_clock_hw_cycles_per_sec() / USEC_PER_SEC * usec_to_wait; in arch_busy_wait()
Dite_it8xxx2_timer.c151 void arch_busy_wait(uint32_t usec_to_wait) in arch_busy_wait() argument
155 if (!usec_to_wait) { in arch_busy_wait()
160 usec_to_wait--; in arch_busy_wait()
163 if ((IT8XXX2_EXT_CNTOX(BUSY_WAIT_H_TIMER) - start) >= usec_to_wait) { in arch_busy_wait()
Dmchp_mec5_ktimer.c322 void arch_busy_wait(uint32_t usec_to_wait) in arch_busy_wait() argument
324 if (usec_to_wait == 0) { in arch_busy_wait()
333 if ((curr - start) >= usec_to_wait) { in arch_busy_wait()
Dmchp_xec_rtos_timer.c383 void arch_busy_wait(uint32_t usec_to_wait) in arch_busy_wait() argument
385 if (usec_to_wait == 0) { in arch_busy_wait()
394 if ((curr - start) >= usec_to_wait) { in arch_busy_wait()
/Zephyr-latest/kernel/include/
Dkernel_arch_interface.h39 void arch_busy_wait(uint32_t usec_to_wait);
/Zephyr-latest/subsys/tracing/test/
Dtracing_string_format_test.c116 void sys_trace_k_thread_busy_wait_enter(uint32_t usec_to_wait) in sys_trace_k_thread_busy_wait_enter() argument
121 void sys_trace_k_thread_busy_wait_exit(uint32_t usec_to_wait) in sys_trace_k_thread_busy_wait_exit() argument
Dtracing_test.h35 #define sys_port_trace_k_thread_busy_wait_enter(usec_to_wait) argument
36 #define sys_port_trace_k_thread_busy_wait_exit(usec_to_wait) argument
/Zephyr-latest/subsys/tracing/ctf/
Dtracing_ctf.h40 #define sys_port_trace_k_thread_busy_wait_enter(usec_to_wait) argument
41 #define sys_port_trace_k_thread_busy_wait_exit(usec_to_wait) argument
395 void sys_trace_k_thread_busy_wait_enter(uint32_t usec_to_wait);
396 void sys_trace_k_thread_busy_wait_exit(uint32_t usec_to_wait);
/Zephyr-latest/include/zephyr/tracing/
Dtracing.h142 #define sys_port_trace_k_thread_busy_wait_enter(usec_to_wait) argument
148 #define sys_port_trace_k_thread_busy_wait_exit(usec_to_wait) argument
/Zephyr-latest/subsys/tracing/sysview/
Dtracing_sysview.h64 #define sys_port_trace_k_thread_busy_wait_enter(usec_to_wait) \ argument
65 SEGGER_SYSVIEW_RecordU32(TID_BUSYWAIT, (uint32_t)usec_to_wait)
67 #define sys_port_trace_k_thread_busy_wait_exit(usec_to_wait) \ argument
/Zephyr-latest/subsys/tracing/user/
Dtracing_user.h116 #define sys_port_trace_k_thread_busy_wait_enter(usec_to_wait) argument
117 #define sys_port_trace_k_thread_busy_wait_exit(usec_to_wait) argument
/Zephyr-latest/include/zephyr/
Dkernel.h603 __syscall void k_busy_wait(uint32_t usec_to_wait);