Home
last modified time | relevance | path

Searched refs:cc_polarity (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-3.7.0/subsys/usb/usb_c/
Dusbc_tc_snk_states.c27 cc = tc->cc_polarity ? tc->cc2 : tc->cc1; in sink_power_sub_states()
209 ret = tcpc_set_cc_polarity(tcpc, tc->cc_polarity); in tc_attached_snk_entry()
211 LOG_ERR("Couldn't set CC polarity to %d: %d", tc->cc_polarity, ret); in tc_attached_snk_entry()
Dusbc_tc_common_internal.h76 enum tc_cc_polarity cc_polarity; member
Dusbc_tc_src_states.c234 ret = tcpc_set_cc_polarity(tcpc, tc->cc_polarity); in tc_attached_src_entry()
236 LOG_ERR("Couldn't set CC polarity to %d: %d", tc->cc_polarity, ret); in tc_attached_src_entry()
Dusbc_tc_common.c92 tc->cc_polarity = (tc->cc1 > tc->cc2) ? TC_POLARITY_CC1 : TC_POLARITY_CC2; in tc_run()