Lines Matching full:cc
21 enum tc_cc_voltage_state cc; in sink_power_sub_states() local
26 /* Get the active CC line */ in sink_power_sub_states()
27 cc = tc->cc_polarity ? tc->cc2 : tc->cc1; in sink_power_sub_states()
29 if (cc == TC_CC_VOLT_RP_DEF) { in sink_power_sub_states()
36 } else if (cc == TC_CC_VOLT_RP_1A5) { in sink_power_sub_states()
44 } else if (cc == TC_CC_VOLT_RP_3A0) { in sink_power_sub_states()
88 * Allow the state machine to immediately check the state of CC lines and go into in tc_unattached_snk_entry()
89 * Attach.Wait state in case the Rp value is detected on the CC lines in tc_unattached_snk_entry()
104 * on at least one of its CC pins. in tc_unattached_snk_run()
147 /* Debounce the cc state */ in tc_attach_wait_snk_run()
153 /* Wait for CC debounce */ in tc_attach_wait_snk_run()
164 /* Transition to UnAttached.SNK if CC lines are open */ in tc_attach_wait_snk_run()
208 /* Clear cached CC voltage */ in tc_attached_snk_entry()
211 /* Set CC polarity */ in tc_attached_snk_entry()
214 LOG_ERR("Couldn't set CC polarity to %d: %d", tc->cc_polarity, ret); in tc_attached_snk_entry()
276 * @brief Rd on CC lines Entry
288 LOG_ERR("Couldn't set CC lines to Rd: %d", ret); in tc_cc_rd_entry()