Lines Matching refs:pe_states
20 static const struct smf_state pe_states[PE_STATE_COUNT]; variable
73 smf_set_initial(SMF_CTX(pe), &pe_states[PE_SUSPEND]); in pe_subsys_init()
440 __ASSERT(state < ARRAY_SIZE(pe_states), "invalid pe_state %d", state); in pe_set_state()
441 smf_set_state(SMF_CTX(data->pe), &pe_states[state]); in pe_set_state()
454 return data->pe->ctx.current - &pe_states[0]; in pe_get_state()
464 return data->pe->ctx.previous - &pe_states[0]; in pe_get_last_state()
1256 static const struct smf_state pe_states[PE_STATE_COUNT] = { variable
1301 &pe_states[PE_SENDER_RESPONSE_PARENT],
1331 &pe_states[PE_SENDER_RESPONSE_PARENT],
1350 &pe_states[PE_SENDER_RESPONSE_PARENT],
1356 &pe_states[PE_SENDER_RESPONSE_PARENT],
1398 &pe_states[PE_SRC_HARD_RESET_PARENT],
1404 &pe_states[PE_SRC_HARD_RESET_PARENT],
1411 &pe_states[PE_SENDER_RESPONSE_PARENT],
1417 &pe_states[PE_SENDER_RESPONSE_PARENT],
1441 &pe_states[PE_SENDER_RESPONSE_PARENT],
1456 BUILD_ASSERT(ARRAY_SIZE(pe_states) == PE_STATE_COUNT);