Home
last modified time | relevance | path

Searched refs:EVENT_CMUX_DLCI1_CLOSED (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/tests/subsys/modem/modem_cmux_pair/src/
Dmain.c18 #define EVENT_CMUX_DLCI1_CLOSED BIT(3) macro
73 k_event_post(&cmux_event_dte, EVENT_CMUX_DLCI1_CLOSED); in test_dlci1_pipe_cb()
114 k_event_post(&cmux_event_dce, EVENT_CMUX_DLCI1_CLOSED); in test_dlci1_pipe_cb_dce()
470 events = k_event_wait_all(&cmux_event_dte, (EVENT_CMUX_DLCI1_CLOSED), false, K_MSEC(100)); in ZTEST()
472 zassert_true((events & EVENT_CMUX_DLCI1_CLOSED), "DLCI1 not closed as expected"); in ZTEST()
473 events = k_event_wait_all(&cmux_event_dce, (EVENT_CMUX_DLCI1_CLOSED), false, K_MSEC(100)); in ZTEST()
475 zassert_true((events & EVENT_CMUX_DLCI1_CLOSED), "DLCI1 not closed as expected"); in ZTEST()
500 (EVENT_CMUX_DLCI1_CLOSED | EVENT_CMUX_DLCI2_CLOSED), false, in ZTEST()
503 zassert_true((events & EVENT_CMUX_DLCI1_CLOSED), "Failed to close DLCI1"); in ZTEST()
549 (EVENT_CMUX_DLCI1_CLOSED | EVENT_CMUX_DLCI2_CLOSED), false, in ZTEST()
[all …]
/Zephyr-latest/tests/subsys/modem/modem_cmux/src/
Dmain.c27 #define EVENT_CMUX_DLCI1_CLOSED BIT(7) macro
75 k_event_post(&cmux_event, EVENT_CMUX_DLCI1_CLOSED); in test_modem_dlci1_pipe_callback()
568 events = k_event_wait_all(&cmux_event, (EVENT_CMUX_DLCI1_CLOSED), in ZTEST()
571 zassert_true((events & EVENT_CMUX_DLCI1_CLOSED), in ZTEST()
624 events = k_event_wait_all(&cmux_event, (EVENT_CMUX_DLCI1_CLOSED | EVENT_CMUX_DLCI2_CLOSED), in ZTEST()
627 zassert_true((events & EVENT_CMUX_DLCI1_CLOSED), "Failed to close DLCI1"); in ZTEST()