Searched refs:SMF_CTX (Results 1 – 8 of 8) sorted by relevance
/Zephyr-Core-3.4.0/doc/services/smf/ |
D | index.rst | 31 type with the following macro: ``SMF_CTX(o)`` 34 use ``SMF_CTX(&user_obj)``. 148 smf_set_state(SMF_CTX(&s_obj), &demo_states[S1]); 158 smf_set_state(SMF_CTX(&s_obj), &demo_states[S2]); 172 smf_set_state(SMF_CTX(&s_obj), &demo_states[S0]); 189 smf_set_initial(SMF_CTX(&s_obj), &demo_states[S0]); 194 ret = smf_run_state(SMF_CTX(&s_obj)); 262 smf_set_state(SMF_CTX(&s_obj), &demo_states[S1]); 268 smf_set_state(SMF_CTX(&s_obj), &demo_states[S2]); 274 smf_set_state(SMF_CTX(&s_obj), &demo_states[S0]); [all …]
|
/Zephyr-Core-3.4.0/tests/lib/smf/src/ |
D | test_lib_flat_smf.c | 107 smf_set_state(SMF_CTX(obj), &test_states[STATE_B]); in state_a_run() 147 smf_set_state(SMF_CTX(obj), &test_states[STATE_C]); in state_b_run() 179 smf_set_state(SMF_CTX(obj), &test_states[STATE_D]); in state_c_run()
|
D | test_lib_hierarchical_5_ancestor_smf.c | 137 smf_set_state(SMF_CTX(obj), &test_states[C]); in p05_run() 319 smf_set_state(SMF_CTX(obj), &test_states[B]); in a_run() 392 smf_set_state(SMF_CTX(obj), &test_states[D]); in c_run()
|
D | test_lib_hierarchical_smf.c | 150 smf_set_state(SMF_CTX(obj), &test_states[STATE_B]); in parent_ab_run() 267 smf_set_state(SMF_CTX(obj), &test_states[STATE_C]); in state_b_run() 302 smf_set_state(SMF_CTX(obj), &test_states[STATE_D]); in state_c_run()
|
/Zephyr-Core-3.4.0/subsys/usb/usb_c/ |
D | usbc_tc_common.c | 30 smf_set_initial(SMF_CTX(tc), &tc_states[TC_DISABLED_STATE]); in tc_subsys_init() 84 smf_run_state(SMF_CTX(tc)); in tc_run() 148 smf_set_state(SMF_CTX(tc), &tc_states[state]); in tc_set_state()
|
D | usbc_prl.c | 131 smf_set_initial(SMF_CTX(prl_hr), &prl_hr_states[PRL_HR_SUSPEND]); in prl_subsys_init() 132 smf_set_initial(SMF_CTX(prl_tx), &prl_tx_states[PRL_TX_SUSPEND]); in prl_subsys_init() 317 smf_run_state(SMF_CTX(prl_hr)); in prl_run() 331 smf_run_state(SMF_CTX(prl_tx)); in prl_run() 403 smf_set_state(SMF_CTX(prl_tx), &prl_tx_states[state]); in prl_tx_set_state() 415 smf_set_state(SMF_CTX(prl_hr), &prl_hr_states[state]); in prl_hr_set_state()
|
D | usbc_pe_common.c | 59 smf_set_initial(SMF_CTX(pe), &pe_states[PE_SUSPEND]); in pe_subsys_init() 165 smf_run_state(SMF_CTX(pe)); in pe_run() 424 smf_set_state(SMF_CTX(data->pe), &pe_states[state]); in pe_set_state()
|
/Zephyr-Core-3.4.0/include/zephyr/ |
D | smf.h | 53 #define SMF_CTX(o) ((struct smf_ctx *)o) macro
|