Lines Matching defs:cc
178 int cc;
196 static const char *cc_to_name(enum typec_cc_status cc)
198 if (cc > TYPEC_CC_RP_3_0)
201 return typec_cc_status_name[cc];
231 dev_dbg(pmic_typec_port->dev, "Debounce cc complete\n");
444 dev_dbg(dev, "get_cc: misc 0x%08x cc1 0x%08x %s cc2 0x%08x %s attached %d cc=%s\n",
459 enum typec_cc_status cc)
479 switch (cc) {
497 dev_warn(dev, "unexpected set_cc %d\n", cc);
510 pmic_typec_port->cc = cc;
517 dev_dbg(dev, "set_cc: currsrc=%x %s mode %s debounce %d attached %d cc=%s\n",
565 dev_dbg(dev, "set_vconn: orientation %d control 0x%08x state %s cc %s vconn %s\n",
573 enum typec_cc_status cc)
602 dev_dbg(dev, "start_toggling: misc 0x%08x attached %d port_type %d current cc %d new %d\n",
603 misc, !!(misc & CC_ATTACHED), port_type, pmic_typec_port->cc, cc);
780 .irq_name = "cc-state-change",