Home
last modified time | relevance | path

Searched refs:dlci2_pipe (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/tests/subsys/modem/modem_cmux/src/
Dmain.c40 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()
[all …]
/Zephyr-latest/tests/subsys/modem/modem_cmux_pair/src/
Dmain.c31 static struct modem_pipe *dlci2_pipe; variable
236 dlci2_pipe = modem_cmux_dlci_init(&cmux_dte, &dlci2, &dlci2_config); in cmux_dte_init()
242 modem_pipe_attach(dlci2_pipe, test_dlci2_pipe_cb, NULL); in cmux_dte_init()
316 __ASSERT_NO_MSG(modem_pipe_open_async(dlci2_pipe) == 0); in test_setup()
341 modem_pipe_transmit(dlci2_pipe, cmux_frame_data_dlci2_at_cgdcont, in ZTEST()
344 modem_pipe_transmit(dlci2_pipe, cmux_frame_data_dlci2_at_newline, in ZTEST()
403 modem_pipe_transmit(dlci2_pipe, cmux_frame_data_dlci2_ppp_52, in ZTEST()
405 modem_pipe_transmit(dlci2_pipe, cmux_frame_data_dlci2_ppp_18, in ZTEST()
448 ret = modem_pipe_receive(dlci2_pipe, buffer2, sizeof(buffer2)); in ZTEST()
496 zassert_true(modem_pipe_close_async(dlci2_pipe) == 0, "Failed to close DLCI2"); in ZTEST()
[all …]
/Zephyr-latest/drivers/modem/
Dmodem_cellular.c99 struct modem_pipe *dlci2_pipe; member
960 modem_pipe_attach(data->dlci2_pipe, modem_cellular_dlci2_pipe_handler, data); in modem_cellular_on_open_dlci2_state_enter()
961 return modem_pipe_open_async(data->dlci2_pipe); in modem_cellular_on_open_dlci2_state_enter()
969 data->cmd_pipe = data->dlci2_pipe; in modem_cellular_open_dlci2_event_handler()
984 modem_pipe_release(data->dlci2_pipe); in modem_cellular_on_open_dlci2_state_leave()
1033 return modem_chat_attach(&data->chat, data->dlci2_pipe); in modem_cellular_on_await_registered_state_enter()
1772 data->dlci2_pipe = modem_cmux_dlci_init(&data->cmux, &data->dlci2, in modem_cellular_init()