Lines Matching refs:pipe

195 static void modem_cmux_bus_callback(struct modem_pipe *pipe, enum modem_pipe_event event,  in modem_cmux_bus_callback()  argument
538 modem_pipe_notify_opened(&dlci->pipe); in modem_cmux_on_dlci_frame_ua()
547 modem_pipe_notify_closed(&dlci->pipe); in modem_cmux_on_dlci_frame_ua()
573 modem_pipe_notify_receive_ready(&dlci->pipe); in modem_cmux_on_dlci_frame_uih()
588 modem_pipe_notify_opened(&dlci->pipe); in modem_cmux_on_dlci_frame_sabm()
606 modem_pipe_notify_closed(&dlci->pipe); in modem_cmux_on_dlci_frame_disc()
835 ret = modem_pipe_receive(cmux->pipe, buf, sizeof(buf)); in modem_cmux_receive_handler()
856 modem_pipe_notify_transmit_idle(&dlci->pipe); in modem_cmux_dlci_notify_transmit_idle()
880 ret = modem_pipe_transmit(cmux->pipe, reserved, reserved_size); in modem_cmux_transmit_handler()
1079 modem_pipe_notify_closed(&dlci->pipe); in modem_cmux_dlci_pipes_notify_closed()
1125 modem_pipe_init(&dlci->pipe, dlci, &modem_cmux_dlci_pipe_api); in modem_cmux_dlci_init()
1130 return &dlci->pipe; in modem_cmux_dlci_init()
1133 int modem_cmux_attach(struct modem_cmux *cmux, struct modem_pipe *pipe) in modem_cmux_attach() argument
1135 cmux->pipe = pipe; in modem_cmux_attach()
1138 modem_pipe_attach(cmux->pipe, modem_cmux_bus_callback, cmux); in modem_cmux_attach()
1161 __ASSERT_NO_MSG(cmux->pipe != NULL); in modem_cmux_connect_async()
1192 __ASSERT_NO_MSG(cmux->pipe != NULL); in modem_cmux_disconnect_async()
1213 if (cmux->pipe) { in modem_cmux_release()
1214 modem_pipe_release(cmux->pipe); in modem_cmux_release()
1224 cmux->pipe = NULL; in modem_cmux_release()