Searched refs:pe_set_state (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/subsys/usb/usb_c/ |
D | usbc_pe_src_states.c | 45 pe_set_state(dev, PE_SRC_STARTUP); in pe_src_init() 58 pe_set_state(dev, PE_GET_SINK_CAP); in source_dpm_requests() 62 pe_set_state(dev, PE_SRC_TRANSITION_SUPPLY); in source_dpm_requests() 127 pe_set_state(dev, PE_SRC_SEND_CAPABILITIES); in pe_src_startup_run() 159 pe_set_state(dev, PE_SRC_SEND_CAPABILITIES); in pe_src_discovery_run() 161 pe_set_state(dev, PE_SRC_DISABLED); in pe_src_discovery_run() 221 pe_set_state(dev, PE_SRC_DISCOVERY); in pe_src_send_capabilities_run() 236 pe_set_state(dev, PE_SRC_NEGOTIATE_CAPABILITY); in pe_src_send_capabilities_run() 245 pe_set_state(dev, PE_SRC_HARD_RESET); in pe_src_send_capabilities_run() 279 pe_set_state(dev, PE_SRC_TRANSITION_SUPPLY); in pe_src_negotiate_capability_entry() [all …]
|
D | usbc_pe_snk_states.c | 35 pe_set_state(dev, PE_SNK_STARTUP); in pe_snk_init() 60 pe_set_state(dev, PE_SNK_GET_SOURCE_CAP); in sink_dpm_requests() 100 pe_set_state(dev, PE_SNK_DISCOVERY); in pe_snk_startup_run() 127 pe_set_state(dev, PE_SNK_WAIT_FOR_CAPABILITIES); in pe_snk_discovery_run() 162 pe_set_state(dev, PE_SNK_EVALUATE_CAPABILITY); in pe_snk_wait_for_capabilities_run() 170 pe_set_state(dev, PE_SNK_HARD_RESET); in pe_snk_wait_for_capabilities_run() 215 pe_set_state(dev, PE_SNK_SELECT_CAPABILITY); in pe_snk_evaluate_capability_entry() 261 pe_set_state(dev, PE_SNK_READY); in pe_snk_select_capability_run() 289 pe_set_state(dev, PE_SNK_TRANSITION_SINK); in pe_snk_select_capability_run() 309 pe_set_state(dev, PE_SNK_READY); in pe_snk_select_capability_run() [all …]
|
D | usbc_pe_common.c | 30 pe_set_state(dev, PE_SRC_READY); in pe_set_ready_state() 32 pe_set_state(dev, PE_SNK_READY); in pe_set_ready_state() 50 pe_set_state(dev, PE_DRS_SEND_SWAP); in common_dpm_requests() 53 pe_set_state(dev, PE_SEND_SOFT_RESET); in common_dpm_requests() 99 pe_set_state(dev, PE_SUSPEND); in pe_suspend() 175 pe_set_state(dev, PE_SNK_HARD_RESET); in pe_run() 237 pe_set_state(dev, PE_SOFT_RESET); in pe_got_soft_reset() 372 pe_set_state(dev, PE_SNK_TRANSITION_TO_DEFAULT); in pe_got_hard_reset() 436 void pe_set_state(const struct device *dev, const enum usbc_pe_state state) in pe_set_state() function 475 pe_set_state(dev, PE_SEND_SOFT_RESET); in pe_send_soft_reset() [all …]
|
D | usbc_pe_common_internal.h | 277 void pe_set_state(const struct device *dev, const enum usbc_pe_state state);
|