Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/typec/tcpm/
H A Dfusb302.c619 switches0_data |= (chip->cc_polarity == TYPEC_POLARITY_CC1) ? in tcpm_set_cc()
740 switches0_data = (chip->cc_polarity == TYPEC_POLARITY_CC1) ? in tcpm_set_vconn()
1096 if (chip->cc_polarity == TYPEC_POLARITY_CC1) { in fusb302_bc_lvl_handler_work()
1135 [TYPEC_POLARITY_CC1] = "Polarity_CC1",
1153 if (cc_polarity == TYPEC_POLARITY_CC1) { in fusb302_set_cc_polarity_and_pull()
1191 TYPEC_POLARITY_CC1 : TYPEC_POLARITY_CC2; in fusb302_handle_togdone_snk()
1211 cc1 = (cc_polarity == TYPEC_POLARITY_CC1) ? in fusb302_handle_togdone_snk()
1253 switches0_data = (cc_polarity == TYPEC_POLARITY_CC1) ? in fusb302_get_src_cc_status()
1319 ret = fusb302_get_src_cc_status(chip, TYPEC_POLARITY_CC1, &cc1); in fusb302_handle_togdone_src()
1334 ret = fusb302_get_src_cc_status(chip, TYPEC_POLARITY_CC1, &cc1); in fusb302_handle_togdone_src()
[all …]
H A Dtcpci.c74 enum typec_cc_polarity polarity = TYPEC_POLARITY_CC1; in tcpci_set_cc()
164 return regmap_update_bits(tcpci->regmap, TCPC_ROLE_CTRL, polarity == TYPEC_POLARITY_CC1 ? in tcpci_apply_rc()
H A Dtcpm.c585 (port->attached && ((port->polarity == TYPEC_POLARITY_CC1 && in tcpm_port_is_disconnected()
1051 if (port->polarity == TYPEC_POLARITY_CC1) in tcpm_set_roles()
3611 : TYPEC_POLARITY_CC1; in tcpm_src_attach()
3638 if ((polarity == TYPEC_POLARITY_CC1 && port->cc2 == TYPEC_CC_RA) || in tcpm_src_attach()
3725 tcpm_set_polarity(port, TYPEC_POLARITY_CC1); in tcpm_reset_port()
3775 TYPEC_POLARITY_CC2 : TYPEC_POLARITY_CC1); in tcpm_snk_attach()
/openbmc/linux/include/linux/usb/
H A Dtcpm.h27 TYPEC_POLARITY_CC1, enumerator