Lines Matching refs:tc_states
16 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],
396 &tc_states[TC_CC_OPEN_SUPER_STATE],
402 &tc_states[TC_CC_OPEN_SUPER_STATE],
405 BUILD_ASSERT(ARRAY_SIZE(tc_states) == TC_STATE_COUNT);