Home
last modified time | relevance | path

Searched refs:bound_sem (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/samples/subsys/ipc/ipc_service/icmsg/src/
Dmain.c22 K_SEM_DEFINE(bound_sem, 0, 1);
24 volatile uint32_t bound_sem = 1; variable
36 k_sem_give(&bound_sem); in ep_bound()
38 bound_sem = 0; in ep_bound()
158 k_sem_take(&bound_sem, K_FOREVER); in main()
160 while (bound_sem != 0) { in main()
196 ret = k_sem_init(&bound_sem, 0, 1); in main()
211 k_sem_take(&bound_sem, K_FOREVER); in main()
/Zephyr-latest/samples/subsys/ipc/ipc_service/icmsg/remote/src/
Dmain.c18 K_SEM_DEFINE(bound_sem, 0, 1);
20 volatile uint32_t bound_sem = 1; variable
32 k_sem_give(&bound_sem); in ep_bound()
34 bound_sem = 0; in ep_bound()
149 k_sem_take(&bound_sem, K_FOREVER); in main()
151 while (bound_sem != 0) { in main()
/Zephyr-latest/drivers/bluetooth/hci/
Dipc.c29 struct k_sem bound_sem; member
288 k_sem_give(&ipc->bound_sem); in hci_ept_bound()
335 err = k_sem_take(&ipc->bound_sem, IPC_BOUND_TIMEOUT_IN_MS); in bt_ipc_open()
390 .bound_sem = Z_SEM_INITIALIZER(ipc_data_##inst.bound_sem, 0, 1), \