Home
last modified time | relevance | path

Searched refs:done (Results 1 – 25 of 469) sorted by relevance

12345678910>>...19

/Zephyr-latest/samples/kernel/condition_variables/simple/
DREADME.rst80 [thread zephyr_app_main] done is 0 which is < 20 so waiting on cond
141 [thread 0] done is now 1. Signalling cond.
143 [thread zephyr_app_main] done is 1 which is < 20 so waiting on cond
144 [thread 1] done is now 2. Signalling cond.
146 [thread zephyr_app_main] done is 2 which is < 20 so waiting on cond
147 [thread 2] done is now 3. Signalling cond.
149 [thread zephyr_app_main] done is 3 which is < 20 so waiting on cond
150 [thread 3] done is now 4. Signalling cond.
152 [thread zephyr_app_main] done is 4 which is < 20 so waiting on cond
153 [thread 4] done is now 5. Signalling cond.
[all …]
/Zephyr-latest/samples/kernel/condition_variables/simple/src/
Dmain.c20 static int done; variable
40 done++; in worker_thread()
41 printk("[thread %d] done is now %d. Signalling cond.\n", myid, done); in worker_thread()
51 done = 0; in main()
66 while (done < NUM_THREADS) { in main()
68 __func__, done, (int)NUM_THREADS); in main()
/Zephyr-latest/drivers/gpio/
Dgpio_nct38xx_port.c77 goto done; in gpio_nct38xx_pin_config()
89 goto done; in gpio_nct38xx_pin_config()
102 goto done; in gpio_nct38xx_pin_config()
114 goto done; in gpio_nct38xx_pin_config()
124 done: in gpio_nct38xx_pin_config()
143 goto done; in gpio_nct38xx_pin_get_config()
148 goto done; in gpio_nct38xx_pin_get_config()
153 goto done; in gpio_nct38xx_pin_get_config()
159 goto done; in gpio_nct38xx_pin_get_config()
170 goto done; in gpio_nct38xx_pin_get_config()
[all …]
Dgpio_mcp23xxx.c186 goto done; in mcp23xxx_pin_cfg()
192 goto done; in mcp23xxx_pin_cfg()
198 goto done; in mcp23xxx_pin_cfg()
201 done: in mcp23xxx_pin_cfg()
327 goto done; in mcp23xxx_pin_interrupt_configure()
330 goto done; in mcp23xxx_pin_interrupt_configure()
353 goto done; in mcp23xxx_pin_interrupt_configure()
360 goto done; in mcp23xxx_pin_interrupt_configure()
366 goto done; in mcp23xxx_pin_interrupt_configure()
372 goto done; in mcp23xxx_pin_interrupt_configure()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_sync_iso_internal.h15 void ull_sync_iso_estab_done(struct node_rx_event_done *done);
16 void ull_sync_iso_done(struct node_rx_event_done *done);
17 void ull_sync_iso_done_terminate(struct node_rx_event_done *done);
/Zephyr-latest/subsys/usb/device/
Dusb_transfer.c84 goto done; in usb_transfer_work()
91 goto done; in usb_transfer_work()
107 goto done; in usb_transfer_work()
120 goto done; in usb_transfer_work()
131 goto done; in usb_transfer_work()
138 done: in usb_transfer_work()
226 goto done; in usb_transfer()
234 goto done; in usb_transfer()
260 done: in usb_transfer()
274 goto done; in usb_cancel_transfer()
[all …]
/Zephyr-latest/tests/bluetooth/common/testlib/src/
Datt_write.c22 struct k_condvar done; member
34 k_condvar_signal(&ctx->done); in att_write_cb()
52 k_condvar_init(&ctx->done); in bt_testlib_att_write()
63 k_condvar_wait(&ctx->done, &ctx->lock, K_FOREVER); in bt_testlib_att_write()
Dsecurity.c21 struct k_condvar done; member
45 k_condvar_signal(&g_ctx->done); in security_changed()
64 k_condvar_init(&ctx.done); in bt_testlib_secure()
94 k_condvar_wait(&ctx.done, &g_ctx_lock, K_FOREVER); in bt_testlib_secure()
Dadv.c18 struct k_condvar done; member
33 k_condvar_signal(&g_ctx->done); in connected_cb()
55 k_condvar_init(&ctx.done); in bt_testlib_adv_conn()
77 k_condvar_wait(&ctx.done, &g_ctx_lock, K_FOREVER); in bt_testlib_adv_conn()
Dscan.c18 struct k_condvar done; member
60 k_condvar_signal(&g_ctx->done); in bt_scan_find_name_cb()
74 k_condvar_init(&ctx.done); in bt_testlib_scan_find_name()
82 k_condvar_wait(&ctx.done, &g_ctx_lock, K_FOREVER); in bt_testlib_scan_find_name()
Datt_read.c28 struct k_condvar done; member
79 k_condvar_signal(&ctx->done); in att_read_cb()
101 k_condvar_init(&ctx->done); in bt_testlib_sync_bt_gatt_read()
108 k_condvar_wait(&ctx->done, &ctx->lock, K_FOREVER); in bt_testlib_sync_bt_gatt_read()
207 struct k_condvar done; member
236 k_condvar_signal(&ctx->done); in gatt_discover_service_cb()
262 k_condvar_init(&ctx->done); in bt_testlib_gatt_discover_primary()
275 k_condvar_wait(&ctx->done, &ctx->lock, K_FOREVER); in bt_testlib_gatt_discover_primary()
296 struct k_condvar done; member
335 k_condvar_signal(&ctx->done); in gatt_discover_char_cb()
[all …]
/Zephyr-latest/subsys/net/conn_mgr/
Devents_handler.c48 goto done; in conn_mgr_iface_events_handler()
52 done: in conn_mgr_iface_events_handler()
93 goto done; in conn_mgr_ipv6_events_handler()
98 done: in conn_mgr_ipv6_events_handler()
151 goto done; in conn_mgr_ipv4_events_handler()
156 done: in conn_mgr_ipv4_events_handler()
/Zephyr-latest/drivers/lora/
Dsx12xx_common.c198 struct k_poll_signal done = K_POLL_SIGNAL_INITIALIZER(done); in sx12xx_lora_send() local
202 &done); in sx12xx_lora_send()
211 ret = sx12xx_lora_send_async(dev, data, data_len, &done); in sx12xx_lora_send()
262 struct k_poll_signal done = K_POLL_SIGNAL_INITIALIZER(done); in sx12xx_lora_recv() local
266 &done); in sx12xx_lora_recv()
276 dev_data.operation_done = &done; in sx12xx_lora_recv()
302 if (done.result < 0) { in sx12xx_lora_recv()
304 return done.result; in sx12xx_lora_recv()
/Zephyr-latest/tests/drivers/gpio/gpio_basic_api/src/
Dmain.c67 static bool done; in board_setup()
69 if (!done) { in board_setup()
70 done = true; in board_setup()
/Zephyr-latest/drivers/xen/dom0/
Ddomctl.c177 uint64_t curr, nr_max, done; in xen_domctl_memory_mapping() local
189 done = 0; in xen_domctl_memory_mapping()
192 domctl.u.memory_mapping.first_gfn = first_gfn + done; in xen_domctl_memory_mapping()
193 domctl.u.memory_mapping.first_mfn = first_mfn + done; in xen_domctl_memory_mapping()
195 curr = MIN(nr_mfns - done, nr_max); in xen_domctl_memory_mapping()
214 done += curr; in xen_domctl_memory_mapping()
215 } while (done < nr_mfns); in xen_domctl_memory_mapping()
218 if (!done) { in xen_domctl_memory_mapping()
/Zephyr-latest/soc/intel/intel_adsp/common/
Dipc.c48 bool done = true; in z_intel_adsp_ipc_isr() local
54 done = devdata->handle_message(dev, devdata->handler_arg, msg, ext); in z_intel_adsp_ipc_isr()
58 if (done) { in z_intel_adsp_ipc_isr()
68 bool done = (regs->ida & INTEL_ADSP_IPC_DONE); in z_intel_adsp_ipc_isr() local
70 if (done) { in z_intel_adsp_ipc_isr()
194 bool done; in intel_adsp_ipc_send_message_emergency() local
204 done = regs->ida & INTEL_ADSP_IPC_DONE; in intel_adsp_ipc_send_message_emergency()
205 if (done) { in intel_adsp_ipc_send_message_emergency()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_clock.c78 static bool done; in lll_clock_wait() local
81 if (done) { in lll_clock_wait()
84 done = true; in lll_clock_wait()
/Zephyr-latest/drivers/spi/
Dspi_numaker.c239 goto done; in spi_numaker_transceive()
265 done: in spi_numaker_transceive()
311 goto done; in spi_numaker_init()
316 goto done; in spi_numaker_init()
322 goto done; in spi_numaker_init()
327 goto done; in spi_numaker_init()
336 goto done; in spi_numaker_init()
342 done: in spi_numaker_init()
/Zephyr-latest/drivers/flash/
Dsoc_flash_numaker.c97 goto done; in flash_numaker_erase()
106 goto done; in flash_numaker_erase()
113 done: in flash_numaker_erase()
215 goto done; in flash_numaker_write()
222 done: in flash_numaker_write()
Dsoc_flash_numaker_rmc.c100 goto done; in flash_numaker_erase()
106 done: in flash_numaker_erase()
209 goto done; in flash_numaker_write()
216 done: in flash_numaker_write()
/Zephyr-latest/drivers/ethernet/phy/
Dphy_ti_dp83825.c330 goto done; in phy_ti_dp83825_reset()
342 goto done; in phy_ti_dp83825_reset()
347 goto done; in phy_ti_dp83825_reset()
352 done: in phy_ti_dp83825_reset()
372 goto done; in phy_ti_dp83825_cfg_link()
387 goto done; in phy_ti_dp83825_cfg_link()
393 goto done; in phy_ti_dp83825_cfg_link()
400 goto done; in phy_ti_dp83825_cfg_link()
432 goto done; in phy_ti_dp83825_cfg_link()
439 goto done; in phy_ti_dp83825_cfg_link()
[all …]
Dphy_microchip_ksz8081.c293 goto done; in phy_mc_ksz8081_reset()
305 goto done; in phy_mc_ksz8081_reset()
310 goto done; in phy_mc_ksz8081_reset()
318 done: in phy_mc_ksz8081_reset()
337 goto done; in phy_mc_ksz8081_cfg_link()
346 goto done; in phy_mc_ksz8081_cfg_link()
353 goto done; in phy_mc_ksz8081_cfg_link()
382 goto done; in phy_mc_ksz8081_cfg_link()
389 goto done; in phy_mc_ksz8081_cfg_link()
410 done: in phy_mc_ksz8081_cfg_link()
/Zephyr-latest/samples/bluetooth/hci_uart_async/src/
Dhci_uart_async.c57 struct k_poll_event done[] = { in uart_c2h_tx() local
69 err = k_poll(done, ARRAY_SIZE(done), K_FOREVER); in uart_c2h_tx()
125 struct k_poll_event done[] = { in uart_h2c_rx() local
137 k_poll(done, ARRAY_SIZE(done), K_FOREVER); in uart_h2c_rx()
/Zephyr-latest/drivers/can/
Dcan_mcp251xfd.c321 goto done; in mcp251xfd_set_mode_internal()
328 goto done; in mcp251xfd_set_mode_internal()
342 goto done; in mcp251xfd_set_mode_internal()
355 goto done; in mcp251xfd_set_mode_internal()
362 done: in mcp251xfd_set_mode_internal()
528 goto done; in mcp251xfd_send()
542 done: in mcp251xfd_send()
567 goto done; in mcp251xfd_add_rx_filter()
584 goto done; in mcp251xfd_add_rx_filter()
601 goto done; in mcp251xfd_add_rx_filter()
[all …]
/Zephyr-latest/doc/connectivity/bluetooth/shell/audio/
Dcap.rst167 Both of the above commands should be done for each device that you want to use in the set.
194 To start a broadcast as the CAP initiator there are a few steps to be done:
299 VCP discover done with 1 VOCS and 1 AICS
304 VCP vol_set done
307 VCP vol_set done
322 VCP discover done with 1 VOCS and 1 AICS
329 VCP discover done with 1 VOCS and 1 AICS
354 VCP discover done with 1 VOCS and 1 AICS
361 VCP discover done with 1 VOCS and 1 AICS
366 VCP mute done
[all …]

12345678910>>...19