TYPEC_POLARITY_CC1
if (chip->cc_polarity == TYPEC_POLARITY_CC1) {
[TYPEC_POLARITY_CC1] = "Polarity_CC1",
if (cc_polarity == TYPEC_POLARITY_CC1) {
TYPEC_POLARITY_CC1 : TYPEC_POLARITY_CC2;
cc1 = (cc_polarity == TYPEC_POLARITY_CC1) ?
switches0_data = (cc_polarity == TYPEC_POLARITY_CC1) ?
ret = fusb302_get_src_cc_status(chip, TYPEC_POLARITY_CC1, &cc1);
ret = fusb302_get_src_cc_status(chip, TYPEC_POLARITY_CC1, &cc1);
cc_polarity = TYPEC_POLARITY_CC1;
switches0_data |= (chip->cc_polarity == TYPEC_POLARITY_CC1) ?
switches0_data = (chip->cc_polarity == TYPEC_POLARITY_CC1) ?
return regmap_update_bits(tcpci->regmap, TCPC_ROLE_CTRL, polarity == TYPEC_POLARITY_CC1 ?
enum typec_cc_polarity polarity = TYPEC_POLARITY_CC1;
if (port->polarity == TYPEC_POLARITY_CC1)
: TYPEC_POLARITY_CC1;
if ((polarity == TYPEC_POLARITY_CC1 && port->cc2 == TYPEC_CC_RA) ||
tcpm_set_polarity(port, TYPEC_POLARITY_CC1);
TYPEC_POLARITY_CC2 : TYPEC_POLARITY_CC1);
(port->attached && ((port->polarity == TYPEC_POLARITY_CC1 &&