Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/usb/usb_c/
Dusbc_tc_common.c37 void tc_run(const struct device *dev, const int32_t dpm_request) in tc_run() argument
45 if (dpm_request == PRIV_PORT_REQUEST_START) { in tc_run()
47 } else if (dpm_request == PRIV_PORT_REQUEST_SUSPEND) { in tc_run()
95 if (dpm_request == REQUEST_TC_ERROR_RECOVERY) { in tc_run()
98 } else if (dpm_request == REQUEST_TC_DISABLED) { in tc_run()
Dusbc_tc_common_internal.h138 void tc_run(const struct device *dev, int32_t dpm_request);
Dusbc_pe_common_internal.h209 enum usbc_policy_request_t dpm_request; member
494 const int32_t dpm_request);
Dusbc_pe_common.c46 if (pe->dpm_request > REQUEST_TC_END) { in common_dpm_requests()
49 if (pe->dpm_request == REQUEST_PE_DR_SWAP) { in common_dpm_requests()
52 } else if (pe->dpm_request == REQUEST_PE_SOFT_RESET_SEND) { in common_dpm_requests()
140 void pe_run(const struct device *dev, const int32_t dpm_request) in pe_run() argument
166 pe->dpm_request = dpm_request; in pe_run()
174 if (dpm_request == REQUEST_PE_HARD_RESET_SEND) { in pe_run()
Dusbc_pe_src_states.c56 if (pe->dpm_request == REQUEST_GET_SNK_CAPS) { in source_dpm_requests()
60 } else if (pe->dpm_request == REQUEST_PE_GOTO_MIN) { in source_dpm_requests()
Dusbc_pe_snk_states.c56 if (pe->dpm_request > REQUEST_TC_END) { in sink_dpm_requests()
59 if (pe->dpm_request == REQUEST_PE_GET_SRC_CAPS) { in sink_dpm_requests()