Home
last modified time | relevance | path

Searched refs:smf_state (Results 1 – 13 of 13) sorted by relevance

/Zephyr-latest/include/zephyr/
Dsmf.h66 struct smf_state { struct
87 const struct smf_state *parent; argument
93 const struct smf_state *initial; argument
101 const struct smf_state *current;
103 const struct smf_state *previous;
107 const struct smf_state *executing;
129 void smf_set_initial(struct smf_ctx *ctx, const struct smf_state *init_state);
139 void smf_set_state(struct smf_ctx *ctx, const struct smf_state *new_state);
/Zephyr-latest/lib/smf/
Dsmf.c25 static bool share_paren(const struct smf_state *test_state, const struct smf_state *target_state) in share_paren()
27 for (const struct smf_state *state = test_state; state != NULL; state = state->parent) { in share_paren()
36 static const struct smf_state *get_child_of(const struct smf_state *states, in get_child_of()
37 const struct smf_state *parent) in get_child_of()
39 const struct smf_state *tmp = states; in get_child_of()
54 static const struct smf_state *get_last_of(const struct smf_state *states) in get_last_of()
66 static const struct smf_state *get_lca_of(const struct smf_state *source, in get_lca_of()
67 const struct smf_state *dest) in get_lca_of()
69 for (const struct smf_state *ancestor = source->parent; ancestor != NULL; in get_lca_of()
90 const struct smf_state *new_state, in smf_execute_all_entry_actions()
[all …]
/Zephyr-latest/doc/services/smf/
Dindex.rst58 const struct smf_state demo_states[] = {
68 const struct smf_state demo_states[] = {
81 const struct smf_state demo_states[];
83 const struct smf_state demo_states[] = {
182 static const struct smf_state demo_states[];
230 static const struct smf_state demo_states[] = {
290 static const struct smf_state demo_states[];
332 static const struct smf_state demo_states[] = {
411 static const struct smf_state demo_states[];
461 static const struct smf_state demo_states[] = {
/Zephyr-latest/tests/lib/smf/src/
Dtest_lib_flat_smf.c57 static const struct smf_state test_states[];
215 static const struct smf_state test_states[] = {
Dtest_lib_hierarchical_5_ancestor_smf.c95 static const struct smf_state test_states[];
414 static const struct smf_state test_states[] = {
Dtest_lib_hierarchical_smf.c89 static const struct smf_state test_states[];
339 static const struct smf_state test_states[] = {
Dtest_lib_self_transition_smf.c115 static const struct smf_state test_states[];
446 static const struct smf_state test_states[] = {
/Zephyr-latest/samples/subsys/smf/hsm_psicc2/src/
Dhsm_psicc2_thread.c43 static const struct smf_state demo_states[];
284 static const struct smf_state demo_states[] = {
/Zephyr-latest/subsys/usb/usb_c/
Dusbc_tc_common.c16 static const struct smf_state tc_states[TC_STATE_COUNT];
323 static const struct smf_state tc_states[TC_STATE_COUNT] = {
Dusbc_prl.c106 static const struct smf_state prl_tx_states[PRL_TX_STATE_COUNT];
107 static const struct smf_state prl_hr_states[PRL_HR_STATE_COUNT];
1263 static const struct smf_state prl_tx_states[PRL_TX_STATE_COUNT] = {
1328 static const struct smf_state prl_hr_states[PRL_HR_STATE_COUNT] = {
Dusbc_pe_common.c20 static const struct smf_state pe_states[PE_STATE_COUNT];
1256 static const struct smf_state pe_states[PE_STATE_COUNT] = {
/Zephyr-latest/samples/subsys/smf/smf_calculator/src/
Dsmf_calculator_thread.c180 static const struct smf_state calculator_states[];
622 static const struct smf_state calculator_states[] = {
/Zephyr-latest/subsys/mgmt/hawkbit/
Dhawkbit.c150 static const struct smf_state hawkbit_states[];
1539 static const struct smf_state hawkbit_states[] = {