Searched refs:EVENT_CMUX_CONNECTED (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/tests/subsys/modem/modem_cmux_pair/src/ |
D | main.c | 15 #define EVENT_CMUX_CONNECTED BIT(0) macro 179 k_event_post(&cmux_event_dte, EVENT_CMUX_CONNECTED); in test_cmux_ctrl_cb() 193 k_event_post(&cmux_event_dce, EVENT_CMUX_CONNECTED); in test_cmux_ctrl_cb_dce() 304 events = k_event_wait(&cmux_event_dte, EVENT_CMUX_CONNECTED, false, K_MSEC(100)); in test_setup() 305 __ASSERT_NO_MSG((events & EVENT_CMUX_CONNECTED)); in test_setup() 306 events = k_event_wait(&cmux_event_dce, EVENT_CMUX_CONNECTED, false, K_MSEC(100)); in test_setup() 307 __ASSERT_NO_MSG((events & EVENT_CMUX_CONNECTED)); in test_setup() 520 events = k_event_wait_all(&cmux_event_dte, (EVENT_CMUX_CONNECTED), false, K_MSEC(100)); in ZTEST() 521 zassert_true((events & EVENT_CMUX_CONNECTED), "Failed to connect CMUX"); in ZTEST()
|
/Zephyr-latest/tests/subsys/modem/modem_cmux/src/ |
D | main.c | 20 #define EVENT_CMUX_CONNECTED BIT(0) macro 244 k_event_post(&cmux_event, EVENT_CMUX_CONNECTED); in test_modem_cmux_callback() 300 events = k_event_wait(&cmux_event, EVENT_CMUX_CONNECTED, false, K_MSEC(100)); in test_modem_cmux_setup() 301 __ASSERT_NO_MSG(events == EVENT_CMUX_CONNECTED); in test_modem_cmux_setup() 673 events = k_event_wait_all(&cmux_event, (EVENT_CMUX_CONNECTED), false, K_MSEC(100)); in ZTEST() 674 zassert_true((events & EVENT_CMUX_CONNECTED), "Failed to connect CMUX"); in ZTEST()
|