Home
last modified time | relevance | path

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

12345678910>>...12

/Zephyr-latest/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-latest/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-latest/include/zephyr/
Dsys_clock.h285 typedef struct { bool wait; } k_timepoint_t; member
291 timepoint.wait = !K_TIMEOUT_EQ(timeout, Z_TIMEOUT_NO_WAIT); in sys_timepoint_calc()
297 return timepoint.wait ? Z_FOREVER : Z_TIMEOUT_NO_WAIT; in sys_timepoint_timeout()
302 if (a.wait == b.wait) { in sys_timepoint_cmp()
305 return b.wait ? -1 : 1; in sys_timepoint_cmp()
/Zephyr-latest/tests/benchmarks/wait_queues/
DREADME.rst4 A Zehpyr application developer may choose between two different wait queue
11 * Time to add threads of increasing priority to a wait queue
12 * Time to add threads of decreasing priority to a wait queue
13 * Time to remove highest priority thread from a wait queue
14 * Time to remove lowest priority thread from a wait queue
DKconfig20 will add to a wait queue. Increasing this value will places greater
21 stress on the wait queues and better highlight the performance
22 differences as the number of threads in the wait queue changes.
/Zephyr-latest/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-latest/drivers/console/
Drtt_console.c25 static void wait(void) in wait() function
64 wait(); in rtt_console_out()
/Zephyr-latest/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-latest/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-latest/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-latest/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.c98 static int esp32_ipm_send(const struct device *dev, int wait, uint32_t id, in esp32_ipm_send() argument
127 if ((wait != -1) && (wait > 0)) { in esp32_ipm_send()
129 wait--; in esp32_ipm_send()
130 if (wait == 0) { in esp32_ipm_send()
/Zephyr-latest/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-latest/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-latest/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-latest/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-latest/samples/boards/nxp/mimxrt1060_evk/system_off/
DREADME.rst13 * Busy-wait for 2 seconds
40 powered back on. Alternatively, wait 10 seconds for the SNVS RTC
53 Busy-wait 2 s
/Zephyr-latest/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-latest/samples/bluetooth/peripheral_identity/src/
Dperipheral_identity.c335 uint16_t wait = 6200U; in init_peripheral() local
341 while ((prev_count == conn_count) && wait) { in init_peripheral()
343 prev_count, conn_count, wait); in init_peripheral()
345 wait--; in init_peripheral()
350 if (wait) { in init_peripheral()
/Zephyr-latest/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-latest/boards/nordic/nrf54h20dk/support/
Dnrf54h20_cpuapp.JLinkScript8 // Disable CPU wait
/Zephyr-latest/boards/nordic/nrf9280pdk/support/
Dnrf9280_cpuapp.JLinkScript8 // Disable CPU wait
Dnrf9280_cpurad.JLinkScript16 // Disable CPU wait
/Zephyr-latest/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-latest/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()

12345678910>>...12