Lines Matching refs:sync_sem
32 static K_SEM_DEFINE(sync_sem, 0, 1);
82 k_sem_take(&sync_sem, K_FOREVER); in receive_existing_events()
91 k_sem_take(&sync_sem, K_FOREVER); in receive_existing_events()
100 k_sem_take(&sync_sem, K_FOREVER); in receive_existing_events()
109 k_sem_take(&sync_sem, K_FOREVER); in receive_existing_events()
118 k_sem_take(&sync_sem, K_FOREVER); in receive_existing_events()
127 k_sem_take(&sync_sem, K_FOREVER); in receive_existing_events()
136 k_sem_take(&sync_sem, K_FOREVER); in reset_on_receive()
143 k_sem_take(&sync_sem, K_FOREVER); in reset_on_receive()
149 k_sem_take(&sync_sem, K_FOREVER); in reset_on_receive()
156 k_sem_take(&sync_sem, K_FOREVER); in reset_on_receive()
187 k_sem_give(&sync_sem); in test_receive_existing_events()
197 k_sem_give(&sync_sem); in test_receive_existing_events()
207 k_sem_give(&sync_sem); in test_receive_existing_events()
217 k_sem_give(&sync_sem); in test_receive_existing_events()
227 k_sem_give(&sync_sem); in test_receive_existing_events()
237 k_sem_give(&sync_sem); in test_receive_existing_events()
257 k_sem_give(&sync_sem); in test_reset_on_receive()
270 k_sem_give(&sync_sem); in test_reset_on_receive()
283 k_sem_give(&sync_sem); in test_reset_on_receive()
296 k_sem_give(&sync_sem); in test_reset_on_receive()
306 k_sem_give(&sync_sem); in test_reset_on_receive()
402 &receiver_sem, &sync_sem); in sys_events_setup()