Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/usb/usb_c/
Dusbc_pe_common.c20 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],
[all …]