Lines Matching full:tcpc
76 const struct device *tcpc = data->tcpc; in tc_unattached_wait_src_entry() local
81 tcpc_vconn_discharge(tcpc, true); in tc_unattached_wait_src_entry()
103 const struct device *tcpc = data->tcpc; in tc_unattached_wait_src_exit() local
106 tcpc_vconn_discharge(tcpc, false); in tc_unattached_wait_src_exit()
225 const struct device *tcpc = data->tcpc; in tc_attached_src_entry() local
231 tcpc_set_roles(tcpc, TC_ROLE_SOURCE, TC_ROLE_DFP); in tc_attached_src_entry()
234 ret = tcpc_set_cc_polarity(tcpc, tc->cc_polarity); in tc_attached_src_entry()
242 if (usbc_policy_src_en(dev, tcpc, true) == 0) { in tc_attached_src_entry()
245 if (tcpc_set_vconn(tcpc, true) == 0) { in tc_attached_src_entry()
304 const struct device *tcpc = data->tcpc; in tc_attached_src_exit() local
311 if (usbc_policy_src_en(dev, tcpc, false) != 0) { in tc_attached_src_exit()
324 ret = tcpc_set_vconn(tcpc, false); in tc_attached_src_exit()
339 const struct device *tcpc = data->tcpc; in tc_cc_rp_entry() local
352 ret = tcpc_select_rp_value(tcpc, rp); in tc_cc_rp_entry()
360 ret = tcpc_set_cc(tcpc, TC_CC_RP); in tc_cc_rp_entry()