summaryrefslogtreecommitdiff
path: root/drivers/modem/m6718_spi/modem_statemachine.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/modem/m6718_spi/modem_statemachine.h')
-rw-r--r--drivers/modem/m6718_spi/modem_statemachine.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/modem/m6718_spi/modem_statemachine.h b/drivers/modem/m6718_spi/modem_statemachine.h
index bc737dbb7e8..55e4a520d3d 100644
--- a/drivers/modem/m6718_spi/modem_statemachine.h
+++ b/drivers/modem/m6718_spi/modem_statemachine.h
@@ -71,4 +71,11 @@ struct ipc_sm_state {
u8 events;
};
+const struct ipc_sm_state *ipc_sm_idle_state(struct ipc_link_context *context);
+const struct ipc_sm_state *ipc_sm_init_state(struct ipc_link_context *context);
+const struct ipc_sm_state *ipc_sm_state(u8 id);
+bool ipc_sm_valid_for_state(u8 event, const struct ipc_sm_state *state);
+
+void ipc_sm_kick(u8 event, struct ipc_link_context *context);
+
#endif /* _MODEM_STATEMACHINE_H_ */