Lines Matching full:modem_chat

11 LOG_MODULE_REGISTER(modem_chat, CONFIG_MODEM_MODULES_LOG_LEVEL);
32 static void modem_chat_log_received_command(struct modem_chat *chat) in modem_chat_log_received_command()
62 static void modem_chat_log_received_command(struct modem_chat *chat) in modem_chat_log_received_command()
68 static void modem_chat_script_stop(struct modem_chat *chat, enum modem_chat_script_result result) in modem_chat_script_stop()
120 static void modem_chat_set_script_send_state(struct modem_chat *chat, in modem_chat_set_script_send_state()
127 static void modem_chat_script_send(struct modem_chat *chat) in modem_chat_script_send()
133 static void modem_chat_script_set_response_matches(struct modem_chat *chat) in modem_chat_script_set_response_matches()
142 static void modem_chat_script_clear_response_matches(struct modem_chat *chat) in modem_chat_script_clear_response_matches()
148 static bool modem_chat_script_chat_has_request(struct modem_chat *chat) in modem_chat_script_chat_has_request()
156 static bool modem_chat_script_chat_has_matches(struct modem_chat *chat) in modem_chat_script_chat_has_matches()
164 static uint16_t modem_chat_script_chat_get_send_timeout(struct modem_chat *chat) in modem_chat_script_chat_get_send_timeout()
172 static bool modem_chat_script_chat_has_send_timeout(struct modem_chat *chat) in modem_chat_script_chat_has_send_timeout()
177 static void modem_chat_script_chat_schedule_send_timeout(struct modem_chat *chat) in modem_chat_script_chat_schedule_send_timeout()
184 static void modem_chat_script_next(struct modem_chat *chat, bool initial) in modem_chat_script_next()
220 static void modem_chat_script_start(struct modem_chat *chat, const struct modem_chat_script *script) in modem_chat_script_start()
242 struct modem_chat *chat = CONTAINER_OF(item, struct modem_chat, script_run_work); in modem_chat_script_run_handler()
251 struct modem_chat *chat = CONTAINER_OF(dwork, struct modem_chat, script_timeout_work); in modem_chat_script_timeout_handler()
259 struct modem_chat *chat = CONTAINER_OF(item, struct modem_chat, script_abort_work); in modem_chat_script_abort_handler()
271 static bool modem_chat_send_script_request_part(struct modem_chat *chat) in modem_chat_send_script_request_part()
313 struct modem_chat *chat = CONTAINER_OF(item, struct modem_chat, script_send_work); in modem_chat_script_send_handler()
352 struct modem_chat *chat = CONTAINER_OF(dwork, struct modem_chat, script_send_timeout_work); in modem_chat_script_send_timeout_handler()
363 static uint32_t get_receive_buf_length(struct modem_chat *chat) in get_receive_buf_length()
368 static void advertise_receive_buf_stats(struct modem_chat *chat) in advertise_receive_buf_stats()
377 static void modem_chat_parse_reset(struct modem_chat *chat) in modem_chat_parse_reset()
391 static void modem_chat_parse_save_match(struct modem_chat *chat) in modem_chat_parse_save_match()
414 static bool modem_chat_match_matches_received(struct modem_chat *chat, in modem_chat_match_matches_received()
429 static bool modem_chat_parse_find_match(struct modem_chat *chat) in modem_chat_parse_find_match()
456 static bool modem_chat_parse_is_separator(struct modem_chat *chat) in modem_chat_parse_is_separator()
468 static bool modem_chat_parse_end_del_start(struct modem_chat *chat) in modem_chat_parse_end_del_start()
479 static bool modem_chat_parse_end_del_complete(struct modem_chat *chat) in modem_chat_parse_end_del_complete()
493 static void modem_chat_on_command_received_unsol(struct modem_chat *chat) in modem_chat_on_command_received_unsol()
501 static void modem_chat_on_command_received_abort(struct modem_chat *chat) in modem_chat_on_command_received_abort()
512 static void modem_chat_on_command_received_resp(struct modem_chat *chat) in modem_chat_on_command_received_resp()
528 static bool modem_chat_parse_find_catch_all_match(struct modem_chat *chat) in modem_chat_parse_find_catch_all_match()
546 static void modem_chat_on_command_received(struct modem_chat *chat) in modem_chat_on_command_received()
565 static void modem_chat_on_unknown_command_received(struct modem_chat *chat) in modem_chat_on_unknown_command_received()
584 static void modem_chat_process_byte(struct modem_chat *chat, uint8_t byte) in modem_chat_process_byte()
687 static bool modem_chat_discard_byte(struct modem_chat *chat, uint8_t byte) in modem_chat_discard_byte()
699 static void modem_chat_process_bytes(struct modem_chat *chat) in modem_chat_process_bytes()
711 static uint32_t get_work_buf_length(struct modem_chat *chat) in get_work_buf_length()
716 static void advertise_work_buf_stats(struct modem_chat *chat) in advertise_work_buf_stats()
727 struct modem_chat *chat = CONTAINER_OF(item, struct modem_chat, receive_work); in modem_chat_process_handler()
751 struct modem_chat *chat = (struct modem_chat *)user_data; in modem_chat_pipe_callback()
774 static uint32_t get_receive_buf_size(struct modem_chat *chat) in get_receive_buf_size()
779 static uint32_t get_work_buf_size(struct modem_chat *chat) in get_work_buf_size()
784 static void init_buf_stats(struct modem_chat *chat) in init_buf_stats()
795 int modem_chat_init(struct modem_chat *chat, const struct modem_chat_config *config) in modem_chat_init()
838 int modem_chat_attach(struct modem_chat *chat, struct modem_pipe *pipe) in modem_chat_attach()
846 int modem_chat_run_script_async(struct modem_chat *chat, const struct modem_chat_script *script) in modem_chat_run_script_async()
887 int modem_chat_run_script(struct modem_chat *chat, const struct modem_chat_script *script) in modem_chat_run_script()
904 void modem_chat_script_abort(struct modem_chat *chat) in modem_chat_script_abort()
909 void modem_chat_release(struct modem_chat *chat) in modem_chat_release()