Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/typec/tcpm/
H A Dtcpci.c94 reg = (TCPC_ROLE_CTRL_CC_RA << TCPC_ROLE_CTRL_CC1_SHIFT) | in tcpci_set_cc()
98 reg = (TCPC_ROLE_CTRL_CC_RD << TCPC_ROLE_CTRL_CC1_SHIFT) | in tcpci_set_cc()
102 reg = (TCPC_ROLE_CTRL_CC_RP << TCPC_ROLE_CTRL_CC1_SHIFT) | in tcpci_set_cc()
108 reg = (TCPC_ROLE_CTRL_CC_RP << TCPC_ROLE_CTRL_CC1_SHIFT) | in tcpci_set_cc()
114 reg = (TCPC_ROLE_CTRL_CC_RP << TCPC_ROLE_CTRL_CC1_SHIFT) | in tcpci_set_cc()
121 reg = (TCPC_ROLE_CTRL_CC_OPEN << TCPC_ROLE_CTRL_CC1_SHIFT) | in tcpci_set_cc()
161 TCPC_ROLE_CTRL_CC1_SHIFT)) in tcpci_apply_rc()
166 TCPC_ROLE_CTRL_CC1_MASK << TCPC_ROLE_CTRL_CC1_SHIFT, in tcpci_apply_rc()
285 reg |= TCPC_ROLE_CTRL_CC_RP << TCPC_ROLE_CTRL_CC1_SHIFT; in tcpci_set_polarity()
287 reg |= TCPC_ROLE_CTRL_CC_RD << TCPC_ROLE_CTRL_CC1_SHIFT; in tcpci_set_polarity()
[all …]
H A Dtcpci_rt1711h.c246 reg |= (TCPC_ROLE_CTRL_CC_RD << TCPC_ROLE_CTRL_CC1_SHIFT) | in rt1711h_start_drp_toggling()
249 reg |= (TCPC_ROLE_CTRL_CC_RP << TCPC_ROLE_CTRL_CC1_SHIFT) | in rt1711h_start_drp_toggling()
/openbmc/linux/include/linux/usb/
H A Dtcpci.h68 #define TCPC_ROLE_CTRL_CC1_SHIFT 0 macro
/openbmc/linux/drivers/usb/typec/
H A Danx7411.c887 cc1 = TCPC_ROLE_CTRL_CC_RD << TCPC_ROLE_CTRL_CC1_SHIFT; in anx7411_chip_standby()