Searched refs:publish_sem (Results 1 – 2 of 2) sorted by relevance
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/mesh/src/ |
D | test_suspend.c | 49 static struct k_sem publish_sem; variable 56 k_sem_give(&publish_sem); in model_1_update() 91 k_sem_give(&publish_sem); in msg_handler() 245 k_sem_give(&publish_sem); in gatt_scan_cb() 274 k_sem_give(&publish_sem); in suspend_state_change_cb() 283 k_sem_init(&publish_sem, 0, 1); in dut_pub_common() 295 ASSERT_OK_MSG(k_sem_take(&publish_sem, K_SECONDS(30)), "Pub timed out"); in dut_pub_common() 313 ASSERT_OK_MSG(k_sem_take(&publish_sem, K_SECONDS(30)), "Pub timed out"); in dut_pub_common() 381 k_sem_init(&publish_sem, 0, 1); in test_tester_pub() 388 ASSERT_OK_MSG(k_sem_take(&publish_sem, K_SECONDS(30)), "Receiver timed out"); in test_tester_pub() [all …]
|
D | test_access.c | 100 static struct k_sem publish_sem; variable 111 k_sem_give(&publish_sem); in model1_update() 129 k_sem_give(&publish_sem); in test_msgf_handler() 539 err = k_sem_take(&publish_sem, K_SECONDS(20)); in pub_delayable_check() 577 err = k_sem_take(&publish_sem, K_SECONDS(20)); in recv_delayable_check() 588 err = k_sem_take(&publish_sem, K_SECONDS(20)); in recv_delayable_check() 626 err = k_sem_take(&publish_sem, K_SECONDS(20)); in pub_jitter_check() 651 err = k_sem_take(&publish_sem, K_SECONDS(20)); in recv_jitter_check() 662 err = k_sem_take(&publish_sem, K_SECONDS(20)); in recv_jitter_check() 692 k_sem_init(&publish_sem, 0, 1); in tx_period() [all …]
|