Searched refs:cc2 (Results 1 – 7 of 7) sorted by relevance
129 enum tc_cc_voltage_state *cc2);178 enum tc_cc_voltage_state cc2) in tcpc_is_cc_open() argument180 return (cc1 < TC_CC_VOLT_RD) && (cc2 < TC_CC_VOLT_RD); in tcpc_is_cc_open()187 enum tc_cc_voltage_state cc2) in tcpc_is_cc_snk_dbg_acc() argument189 return cc1 == TC_CC_VOLT_RD && cc2 == TC_CC_VOLT_RD; in tcpc_is_cc_snk_dbg_acc()196 enum tc_cc_voltage_state cc2) in tcpc_is_cc_src_dbg_acc() argument198 return tcpc_is_cc_rp(cc1) && tcpc_is_cc_rp(cc2); in tcpc_is_cc_src_dbg_acc()205 enum tc_cc_voltage_state cc2) in tcpc_is_cc_audio_acc() argument207 return cc1 == TC_CC_VOLT_RA && cc2 == TC_CC_VOLT_RA; in tcpc_is_cc_audio_acc()214 enum tc_cc_voltage_state cc2) in tcpc_is_cc_at_least_one_rd() argument[all …]
26 cc = tc->cc_polarity ? tc->cc2 : tc->cc1; in sink_power_sub_states()97 if (tcpc_is_cc_rp(tc->cc1) || tcpc_is_cc_rp(tc->cc2)) { in tc_unattached_snk_run()126 if (tcpc_is_cc_rp(tc->cc1) || tcpc_is_cc_rp(tc->cc2)) { in tc_attach_wait_snk_run()
46 if (tcpc_is_cc_at_least_one_rd(tc->cc1, tc->cc2)) { in tc_unattached_src_run()140 if (tcpc_is_cc_at_least_one_rd(tc->cc1, tc->cc2)) { in tc_attach_wait_src_run()258 if (tcpc_is_cc_open(tc->cc1, tc->cc2)) { in tc_attached_src_run()
84 enum tc_cc_voltage_state cc2; member
69 tcpc_get_cc(tcpc, &tc->cc1, &tc->cc2); in tc_run()72 tc->cc_polarity = (tc->cc1 > tc->cc2) ? TC_POLARITY_CC1 : TC_POLARITY_CC2; in tc_run()
902 enum tc_cc_voltage_state cc2; in prl_tx_snk_pending_run() local907 tcpc_get_cc(tcpc, &cc1, &cc2); in prl_tx_snk_pending_run()922 } else if (cc1 == TC_CC_VOLT_RP_3A0 || cc2 == TC_CC_VOLT_RP_3A0) { in prl_tx_snk_pending_run()
182 enum tc_cc_voltage_state *cc2) in ucpd_get_cc() argument249 *cc2 = vstate_cc2; in ucpd_get_cc()251 *cc2 = TC_CC_VOLT_OPEN; in ucpd_get_cc()