Home
last modified time | relevance | path

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

/Zephyr-Core-3.4.0/subsys/usb/usb_c/
Dusbc_tc_common.c15 static const struct smf_state tc_states[TC_STATE_COUNT]; variable
30 smf_set_initial(SMF_CTX(tc), &tc_states[TC_DISABLED_STATE]); in tc_subsys_init()
147 __ASSERT(state < ARRAY_SIZE(tc_states), "invalid tc_state %d", state); in tc_set_state()
148 smf_set_state(SMF_CTX(tc), &tc_states[state]); in tc_set_state()
158 return data->tc->ctx.current - &tc_states[0]; in tc_get_state()
263 static const struct smf_state tc_states[TC_STATE_COUNT] = { variable
289 &tc_states[TC_CC_RD_SUPER_STATE]),
294 &tc_states[TC_CC_RD_SUPER_STATE]),
305 &tc_states[TC_CC_RP_SUPER_STATE]),
315 &tc_states[TC_CC_RP_SUPER_STATE]),
[all …]