Home
last modified time | relevance | path

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

/Zephyr-Core-3.4.0/subsys/usb/usb_c/
Dusbc_tc_snk_states.c123 enum tc_cc_states new_cc_state; in tc_attach_wait_snk_run() local
127 new_cc_state = TC_CC_DFP_ATTACHED; in tc_attach_wait_snk_run()
129 new_cc_state = TC_CC_NONE; in tc_attach_wait_snk_run()
133 if (new_cc_state != tc->cc_state) { in tc_attach_wait_snk_run()
135 tc->cc_state = new_cc_state; in tc_attach_wait_snk_run()
145 if (new_cc_state == TC_CC_NONE) { in tc_attach_wait_snk_run()
Dusbc_tc_src_states.c137 enum tc_cc_states new_cc_state; in tc_attach_wait_src_run() local
142 new_cc_state = TC_CC_UFP_ATTACHED; in tc_attach_wait_src_run()
150 if (new_cc_state != tc->cc_state) { in tc_attach_wait_src_run()
153 tc->cc_state = new_cc_state; in tc_attach_wait_src_run()
168 if (new_cc_state == TC_CC_UFP_ATTACHED) { in tc_attach_wait_src_run()