Lines Matching refs:dlci2_pipe

40 static struct modem_pipe *dlci2_pipe;  variable
283 dlci2_pipe = modem_cmux_dlci_init(&cmux, &dlci2, &dlci2_config); in test_modem_cmux_setup()
310 modem_pipe_attach(dlci2_pipe, test_modem_dlci2_pipe_callback, NULL); in test_modem_cmux_setup()
312 __ASSERT_NO_MSG(modem_pipe_open_async(dlci2_pipe) == 0); in test_modem_cmux_setup()
345 ret = modem_pipe_receive(dlci2_pipe, buffer2, sizeof(buffer2)); in ZTEST()
404 ret = modem_pipe_receive(dlci2_pipe, buffer2, sizeof(buffer2)); in ZTEST()
424 ret = modem_pipe_transmit(dlci2_pipe, cmux_frame_data_dlci2_ppp_52, in ZTEST()
434 ret = modem_pipe_transmit(dlci2_pipe, cmux_frame_data_dlci2_ppp_18, in ZTEST()
492 ret = modem_pipe_transmit(dlci2_pipe, cmux_frame_data_dlci2_ppp_52, in ZTEST()
512 ret = modem_pipe_transmit(dlci2_pipe, cmux_frame_data_dlci2_ppp_52, in ZTEST()
616 zassert_true(modem_pipe_close_async(dlci2_pipe) == 0, "Failed to close DLCI2"); in ZTEST()
711 zassert_true(modem_pipe_open_async(dlci2_pipe) == 0, "Failed to open DLCI2 pipe"); in ZTEST()
744 zassert_true(modem_pipe_close(dlci2_pipe, K_SECONDS(10)) == 0, "Failed to close DLCI2"); in ZTEST()
759 zassert_true(modem_pipe_open(dlci2_pipe, K_SECONDS(10)) == 0, in ZTEST()
768 zassert_true(modem_pipe_close(dlci2_pipe, K_SECONDS(10)) == 0, "Failed to close DLCI2"); in ZTEST()
773 zassert_true(modem_pipe_open(dlci2_pipe, K_SECONDS(10)) == 0, in ZTEST()
789 zassert_ok(modem_pipe_open_async(dlci2_pipe)); in ZTEST()
805 modem_pipe_open(dlci2_pipe, K_SECONDS(10)); in ZTEST()
807 modem_pipe_transmit(dlci2_pipe, transmit, sizeof(transmit)); in ZTEST()
809 modem_pipe_receive(dlci2_pipe, receive, sizeof(receive)); in ZTEST()
811 modem_pipe_close(dlci2_pipe, K_SECONDS(10)); in ZTEST()
822 zassert_ok(modem_pipe_open(dlci2_pipe, K_SECONDS(10))); in ZTEST()
852 ret = modem_pipe_receive(dlci2_pipe, buffer2, sizeof(buffer2)); in ZTEST()