Home
last modified time | relevance | path

Searched refs:wait (Results 1 – 25 of 253) sorted by relevance

1234567891011

/Zephyr-Core-3.7.0/samples/cpp/cpp_synchronization/src/
Dmain.cpp31 virtual int wait(void) = 0;
32 virtual int wait(int timeout) = 0;
56 virtual int wait(void);
57 virtual int wait(int timeout);
78 int cpp_semaphore::wait(void) in wait() function in cpp_semaphore
95 int cpp_semaphore::wait(int timeout) in wait() function in cpp_semaphore
121 sem_coop.wait(); in coop_thread_entry()
152 sem_main.wait(); in main()
/Zephyr-Core-3.7.0/tests/benchmarks/sys_kernel/
DREADME.txt23 Starting test. Please wait...
34 Starting test. Please wait...
46 Starting test. Please wait...
56 Starting test. Please wait...
68 Starting test. Please wait...
80 Starting test. Please wait...
90 Starting test. Please wait...
102 Starting test. Please wait...
114 Starting test. Please wait...
124 Starting test. Please wait...
[all …]
/Zephyr-Core-3.7.0/include/zephyr/
Dsys_clock.h294 typedef struct { bool wait; } k_timepoint_t; member
300 timepoint.wait = !K_TIMEOUT_EQ(timeout, Z_TIMEOUT_NO_WAIT); in sys_timepoint_calc()
306 return timepoint.wait ? Z_FOREVER : Z_TIMEOUT_NO_WAIT; in sys_timepoint_timeout()
311 if (a.wait == b.wait) { in sys_timepoint_cmp()
314 return b.wait ? -1 : 1; in sys_timepoint_cmp()
/Zephyr-Core-3.7.0/tests/net/trickle/src/
Dmain.c39 static struct k_sem wait; variable
70 k_sem_give(&wait); in cb_1()
143 k_sem_take(&wait, WAIT_TIME); in test_trickle_1_wait()
155 k_sem_take(&wait, WAIT_TIME_LONG); in test_trickle_1_wait_long()
197 k_sem_init(&wait, 0, UINT_MAX); in test_init()
/Zephyr-Core-3.7.0/include/zephyr/drivers/
Dipm.h56 typedef int (*ipm_send_t)(const struct device *ipmdev, int wait, uint32_t id,
146 __syscall int ipm_send(const struct device *ipmdev, int wait, uint32_t id,
149 static inline int z_impl_ipm_send(const struct device *ipmdev, int wait, in z_impl_ipm_send() argument
156 return api->send(ipmdev, wait, id, data, size); in z_impl_ipm_send()
/Zephyr-Core-3.7.0/drivers/console/
Drtt_console.c25 static void wait(void) in wait() function
66 wait(); in rtt_console_out()
/Zephyr-Core-3.7.0/tests/kernel/smp_abort/src/
Dmain.c24 volatile bool *wait; member
38 while (*(var->wait) == false) { /* Wait upon dependent CPU */ in isr()
73 isr_args[i].wait = &sync[(i + 1) % NUM_THREADS]; in ZTEST()
/Zephyr-Core-3.7.0/doc/develop/api/
Dterminology.rst14 :ref:`api_term_no-wait`
83 suspend, wait, or invoke :c:func:`k_yield` before it can complete
84 its operation. This behavior may be mediated by **no-wait**.
91 pre-kernel contexts if and only if invoked in **no-wait** mode.
93 .. _api_term_no-wait:
95 no-wait
98 The no-wait attribute is used on a function that is also **sleep** to
105 The paradigmatic case of a no-wait function is a function that takes a argument
111 It is use of the no-wait feature that allows functions like
115 A function with a no-wait path does not imply that taking that path
[all …]
/Zephyr-Core-3.7.0/drivers/ipm/
Dipm_handlers.c10 static inline int z_vrfy_ipm_send(const struct device *dev, int wait, in z_vrfy_ipm_send() argument
16 return z_impl_ipm_send((const struct device *)dev, wait, id, in z_vrfy_ipm_send()
Dipm_esp32.c93 static int esp32_ipm_send(const struct device *dev, int wait, uint32_t id, in esp32_ipm_send() argument
122 if ((wait != -1) && (wait > 0)) { in esp32_ipm_send()
124 wait--; in esp32_ipm_send()
125 if (wait == 0) { in esp32_ipm_send()
/Zephyr-Core-3.7.0/doc/kernel/services/synchronization/
Devents.rst16 event object is referenced by its memory address. One or more threads may wait
19 whose wait conditions have been satisfied become ready simultaneously.
35 Threads may wait on one or more events. They may either wait for all of the
36 requested events, or for any of them. Furthermore, threads making a wait request
39 threads wait on the same event object.
43 not attempt to wait for the events.
114 Threads wait for events by calling :c:func:`k_event_wait`.
136 Alternatively, the consumer thread may desire to wait for all the events
/Zephyr-Core-3.7.0/tests/net/lib/mqtt_publisher/src/
Dtest_mqtt_publish.c66 static void wait(int timeout) in wait() function
220 wait(APP_SLEEP_MSECS); in try_to_connect()
256 wait(APP_SLEEP_MSECS); in test_pingreq()
271 wait(APP_SLEEP_MSECS); in test_publish()
276 wait(APP_SLEEP_MSECS); in test_publish()
292 wait(APP_SLEEP_MSECS); in test_disconnect()
/Zephyr-Core-3.7.0/drivers/misc/ft8xx/
Dft8xx.c84 static void wait(void) in wait() function
110 wait(); in ft8xx_init()
113 wait(); in ft8xx_init()
117 wait(); in ft8xx_init()
120 wait(); in ft8xx_init()
/Zephyr-Core-3.7.0/scripts/footprint/
Dcompare_footprint47 if proc.wait() != 0:
88 if proc.wait() == 0:
106 if proc.wait() != 0:
113 if proc.wait() == 0:
130 if proc.wait() == 0:
152 if proc.wait() == 0:
178 if proc.wait() != 0:
/Zephyr-Core-3.7.0/drivers/ethernet/
DKconfig.enc28j6034 int "Time to wait for the CLKRDY bit on driver init"
39 of the driver will wait for the OST to expire, indicated
49 that the driver will wait from the IP stack to get
/Zephyr-Core-3.7.0/boards/nordic/nrf54h20dk/support/
Dnrf54h20_cpuapp.JLinkScript12 // CPU wait enable register
34 // Disable CPU wait
Dnrf54h20_cpurad.JLinkScript12 // CPU wait enable register
41 // Disable CPU wait
/Zephyr-Core-3.7.0/tests/net/lib/mqtt_subscriber/src/
Dtest_mqtt_subscribe.c62 static void wait(int timeout) in wait() function
216 wait(APP_SLEEP_MSECS); in try_to_connect()
261 wait(APP_SLEEP_MSECS); in test_subscribe()
284 wait(APP_SLEEP_MSECS); in test_unsubscribe()
299 wait(APP_SLEEP_MSECS); in test_disconnect()
/Zephyr-Core-3.7.0/subsys/net/lib/tftp/
DKconfig22 int "Maximum amount of time the TFTP Client will wait for a response from the server."
25 Maximum amount of time (in msec) that the TFTP Client will wait for
33 Once the TFTP Client sends out a request, it will wait
/Zephyr-Core-3.7.0/samples/boards/mimxrt1060_evk/system_off/
DREADME.rst12 * Busy-wait for 2 seconds
39 powered back on. Alternatively, wait 10 seconds for the SNVS RTC
52 Busy-wait 2 s
/Zephyr-Core-3.7.0/tests/net/lib/mqtt_pubsub/src/
Dtest_mqtt_pubsub.c69 static void wait(int timeout) in wait() function
267 wait(APP_SLEEP_MSECS); in try_to_connect()
312 wait(APP_SLEEP_MSECS); in test_subscribe()
344 wait(APP_SLEEP_MSECS); in test_publish()
375 wait(APP_SLEEP_MSECS); in test_unsubscribe()
393 wait(APP_SLEEP_MSECS); in test_disconnect()
/Zephyr-Core-3.7.0/drivers/clock_control/
Dclock_control_nrf_auxpll.c39 unsigned int wait = 0U; in clock_control_nrf_auxpll_on() local
49 wait += AUXPLL_LOCK_WAIT_STEP_MS; in clock_control_nrf_auxpll_on()
51 } while (wait < AUXPLL_LOCK_TIME_MAX_MS && !locked); in clock_control_nrf_auxpll_on()
/Zephyr-Core-3.7.0/drivers/adc/
DKconfig.ads114s0x40 int "Timeout for wait for completion of a read in ms"
44 This is the wait time in ms until a read is completed.
/Zephyr-Core-3.7.0/tests/drivers/ipm/src/
Dipm_dummy.c47 static int ipm_dummy_send(const struct device *d, int wait, uint32_t id, in ipm_dummy_send() argument
75 if (wait) { in ipm_dummy_send()
/Zephyr-Core-3.7.0/samples/bluetooth/peripheral_identity/src/
Dperipheral_identity.c303 uint16_t wait = 6200U; in init_peripheral() local
309 while ((prev_count == conn_count) && wait) { in init_peripheral()
310 wait--; in init_peripheral()
315 if (wait) { in init_peripheral()

1234567891011