Lines Matching refs:modem_cmux
8 LOG_MODULE_REGISTER(modem_cmux, CONFIG_MODEM_CMUX_LOG_LEVEL);
148 static uint32_t modem_cmux_get_receive_buf_length(struct modem_cmux *cmux) in modem_cmux_get_receive_buf_length()
153 static uint32_t modem_cmux_get_receive_buf_size(struct modem_cmux *cmux) in modem_cmux_get_receive_buf_size()
158 static uint32_t modem_cmux_get_transmit_buf_length(struct modem_cmux *cmux) in modem_cmux_get_transmit_buf_length()
163 static uint32_t modem_cmux_get_transmit_buf_size(struct modem_cmux *cmux) in modem_cmux_get_transmit_buf_size()
168 static void modem_cmux_init_buf_stats(struct modem_cmux *cmux) in modem_cmux_init_buf_stats()
178 static void modem_cmux_advertise_transmit_buf_stats(struct modem_cmux *cmux) in modem_cmux_advertise_transmit_buf_stats()
186 static void modem_cmux_advertise_receive_buf_stats(struct modem_cmux *cmux) in modem_cmux_advertise_receive_buf_stats()
238 static void modem_cmux_raise_event(struct modem_cmux *cmux, enum modem_cmux_event event) in modem_cmux_raise_event()
250 struct modem_cmux *cmux = (struct modem_cmux *)user_data; in modem_cmux_bus_callback()
266 static uint16_t modem_cmux_transmit_frame(struct modem_cmux *cmux, in modem_cmux_transmit_frame()
321 static bool modem_cmux_transmit_cmd_frame(struct modem_cmux *cmux, in modem_cmux_transmit_cmd_frame()
345 static int16_t modem_cmux_transmit_data_frame(struct modem_cmux *cmux, in modem_cmux_transmit_data_frame()
378 static void modem_cmux_acknowledge_received_frame(struct modem_cmux *cmux) in modem_cmux_acknowledge_received_frame()
401 static void modem_cmux_on_msc_command(struct modem_cmux *cmux, struct modem_cmux_command *command) in modem_cmux_on_msc_command()
408 static void modem_cmux_on_fcon_command(struct modem_cmux *cmux) in modem_cmux_on_fcon_command()
416 static void modem_cmux_on_fcoff_command(struct modem_cmux *cmux) in modem_cmux_on_fcoff_command()
424 static void modem_cmux_on_cld_command(struct modem_cmux *cmux, struct modem_cmux_command *command) in modem_cmux_on_cld_command()
450 static void modem_cmux_on_control_frame_ua(struct modem_cmux *cmux) in modem_cmux_on_control_frame_ua()
467 static void modem_cmux_on_control_frame_uih(struct modem_cmux *cmux) in modem_cmux_on_control_frame_uih()
507 static void modem_cmux_connect_response_transmit(struct modem_cmux *cmux) in modem_cmux_connect_response_transmit()
526 static void modem_cmux_on_control_frame_sabm(struct modem_cmux *cmux) in modem_cmux_on_control_frame_sabm()
545 static void modem_cmux_on_control_frame(struct modem_cmux *cmux) in modem_cmux_on_control_frame()
568 static struct modem_cmux_dlci *modem_cmux_find_dlci(struct modem_cmux *cmux) in modem_cmux_find_dlci()
610 struct modem_cmux *cmux = dlci->cmux; in modem_cmux_on_dlci_frame_uih()
630 struct modem_cmux *cmux = dlci->cmux; in modem_cmux_on_dlci_frame_sabm()
648 struct modem_cmux *cmux = dlci->cmux; in modem_cmux_on_dlci_frame_disc()
661 static void modem_cmux_on_dlci_frame(struct modem_cmux *cmux) in modem_cmux_on_dlci_frame()
697 static void modem_cmux_on_frame(struct modem_cmux *cmux) in modem_cmux_on_frame()
710 static void modem_cmux_drop_frame(struct modem_cmux *cmux) in modem_cmux_drop_frame()
727 static void modem_cmux_process_received_byte(struct modem_cmux *cmux, uint8_t byte) in modem_cmux_process_received_byte()
903 struct modem_cmux *cmux = CONTAINER_OF(dwork, struct modem_cmux, receive_work); in modem_cmux_receive_handler()
924 static void modem_cmux_dlci_notify_transmit_idle(struct modem_cmux *cmux) in modem_cmux_dlci_notify_transmit_idle()
938 struct modem_cmux *cmux = CONTAINER_OF(dwork, struct modem_cmux, transmit_work); in modem_cmux_transmit_handler()
987 struct modem_cmux *cmux; in modem_cmux_connect_handler()
994 cmux = CONTAINER_OF(dwork, struct modem_cmux, connect_work); in modem_cmux_connect_handler()
1014 struct modem_cmux *cmux = CONTAINER_OF(dwork, struct modem_cmux, disconnect_work); in modem_cmux_disconnect_handler()
1074 struct modem_cmux *cmux = dlci->cmux; in modem_cmux_dlci_pipe_api_open()
1097 struct modem_cmux *cmux = dlci->cmux; in modem_cmux_dlci_pipe_api_transmit()
1140 struct modem_cmux *cmux = dlci->cmux; in modem_cmux_dlci_pipe_api_close()
1198 struct modem_cmux *cmux; in modem_cmux_dlci_close_handler()
1223 static void modem_cmux_dlci_pipes_release(struct modem_cmux *cmux) in modem_cmux_dlci_pipes_release()
1237 void modem_cmux_init(struct modem_cmux *cmux, const struct modem_cmux_config *config) in modem_cmux_init()
1268 struct modem_pipe *modem_cmux_dlci_init(struct modem_cmux *cmux, struct modem_cmux_dlci *dlci, in modem_cmux_dlci_init()
1296 int modem_cmux_attach(struct modem_cmux *cmux, struct modem_pipe *pipe) in modem_cmux_attach()
1314 int modem_cmux_connect(struct modem_cmux *cmux) in modem_cmux_connect()
1331 int modem_cmux_connect_async(struct modem_cmux *cmux) in modem_cmux_connect_async()
1355 int modem_cmux_disconnect(struct modem_cmux *cmux) in modem_cmux_disconnect()
1372 int modem_cmux_disconnect_async(struct modem_cmux *cmux) in modem_cmux_disconnect_async()
1394 void modem_cmux_release(struct modem_cmux *cmux) in modem_cmux_release()