Lines Matching refs:S1
56 enum demo_state { S0, S1, S2 };
60 [S1] = SMF_CREATE_STATE(s1_entry, s1_run, s1_exit, NULL, NULL),
66 enum demo_state { S0, S1, S2 };
70 [S1] = SMF_CREATE_STATE(s1_entry, s1_run, s1_exit, parent_s12, NULL),
78 enum demo_state { S0, S1, S2 };
85 [S1] = SMF_CREATE_STATE(s1_entry, s1_run, s1_exit, demo_states[S0], NULL),
185 enum demo_state { S0, S1, S2 };
202 smf_set_state(SMF_CTX(&s_obj), &demo_states[S1]);
209 /* State S1 */
232 /* State S1 does not have an entry action */
233 [S1] = SMF_CREATE_STATE(NULL, s1_run, s1_exit, NULL, NULL),
261 S0 and S1 share a parent state and S0 is the initial state.
293 enum demo_state { PARENT, S0, S1, S2 };
316 smf_set_state(SMF_CTX(&s_obj), &demo_states[S1]);
319 /* State S1 */
337 [S1] = SMF_CREATE_STATE(NULL, s1_run, NULL, &demo_states[PARENT], NULL),
367 from S0 to S1, nor is the parent_exit function called.
414 enum demo_state { S0, S1 };
440 smf_set_state(SMF_CTX(&s_obj), &demo_states[S1]);
444 /* State S1 */
463 [S1] = SMF_CREATE_STATE(s1_entry, s1_run, NULL, NULL, NULL),