Home
last modified time | relevance | path

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

/Zephyr-Core-3.4.0/lib/smf/
Dsmf.c23 static bool share_paren(const struct smf_state *test_state, in share_paren()
24 const struct smf_state *target_state) in share_paren()
26 for (const struct smf_state *state = test_state; in share_paren()
38 const struct smf_state *state) in last_state_share_paren()
48 static const struct smf_state *get_child_of(const struct smf_state *states, in get_child_of()
49 const struct smf_state *parent) in get_child_of()
51 for (const struct smf_state *tmp = states; ; tmp = tmp->parent) { in get_child_of()
64 static const struct smf_state *get_last_of(const struct smf_state *states) in get_last_of()
77 struct smf_ctx *const ctx, const struct smf_state *target) in smf_execute_ancestor_entry_actions()
81 for (const struct smf_state *to_execute = get_last_of(target); in smf_execute_ancestor_entry_actions()
[all …]
/Zephyr-Core-3.4.0/include/zephyr/
Dsmf.h69 struct smf_state { struct
89 const struct smf_state *parent; argument
95 const struct smf_state *current;
97 const struct smf_state *previous;
118 void smf_set_initial(struct smf_ctx *ctx, const struct smf_state *init_state);
128 void smf_set_state(struct smf_ctx *ctx, const struct smf_state *new_state);
/Zephyr-Core-3.4.0/doc/services/smf/
Dindex.rst55 const struct smf_state demo_states[] = {
65 const struct smf_state demo_states[] = {
74 ``void smf_set_initial(smf_ctx *ctx, smf_state *state)``
78 ``void smf_set_state(smf_ctx *ctx, smf_state *state)``
128 static const struct smf_state demo_states[];
176 static const struct smf_state demo_states[] = {
236 static const struct smf_state demo_states[];
278 static const struct smf_state demo_states[] = {
357 static const struct smf_state demo_states[];
407 static const struct smf_state demo_states[] = {
/Zephyr-Core-3.4.0/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[] = {
/Zephyr-Core-3.4.0/subsys/usb/usb_c/
Dusbc_tc_common.c15 static const struct smf_state tc_states[TC_STATE_COUNT];
263 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] = {
1319 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];
1242 static const struct smf_state pe_states[PE_STATE_COUNT] = {