Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/usb/usb_c/
Dusbc_tc_common.c16 static const struct smf_state tc_states[TC_STATE_COUNT]; variable
31 smf_set_initial(SMF_CTX(tc), &tc_states[TC_DISABLED_STATE]); in tc_subsys_init()
187 __ASSERT(state < ARRAY_SIZE(tc_states), "invalid tc_state %d", state); in tc_set_state()
188 smf_set_state(SMF_CTX(tc), &tc_states[state]); in tc_set_state()
198 return data->tc->ctx.current - &tc_states[0]; in tc_get_state()
323 static const struct smf_state tc_states[TC_STATE_COUNT] = { variable
352 &tc_states[TC_CC_RD_SUPER_STATE],
358 &tc_states[TC_CC_RD_SUPER_STATE],
371 &tc_states[TC_CC_RP_SUPER_STATE],
383 &tc_states[TC_CC_RP_SUPER_STATE],
[all …]