Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/usb/typec/tcpm/
Dtcpci.c95 (TCPC_ROLE_CTRL_CC_RA << TCPC_ROLE_CTRL_CC2_SHIFT); in tcpci_set_cc()
99 (TCPC_ROLE_CTRL_CC_RD << TCPC_ROLE_CTRL_CC2_SHIFT); in tcpci_set_cc()
103 (TCPC_ROLE_CTRL_CC_RP << TCPC_ROLE_CTRL_CC2_SHIFT) | in tcpci_set_cc()
109 (TCPC_ROLE_CTRL_CC_RP << TCPC_ROLE_CTRL_CC2_SHIFT) | in tcpci_set_cc()
115 (TCPC_ROLE_CTRL_CC_RP << TCPC_ROLE_CTRL_CC2_SHIFT) | in tcpci_set_cc()
122 (TCPC_ROLE_CTRL_CC_OPEN << TCPC_ROLE_CTRL_CC2_SHIFT); in tcpci_set_cc()
131 reg &= ~(TCPC_ROLE_CTRL_CC2_MASK << TCPC_ROLE_CTRL_CC2_SHIFT); in tcpci_set_cc()
132 reg |= (TCPC_ROLE_CTRL_CC_OPEN << TCPC_ROLE_CTRL_CC2_SHIFT); in tcpci_set_cc()
158 if (((reg & (TCPC_ROLE_CTRL_CC2_MASK << TCPC_ROLE_CTRL_CC2_SHIFT)) >> in tcpci_apply_rc()
159 TCPC_ROLE_CTRL_CC2_SHIFT) != in tcpci_apply_rc()
[all …]
Dtcpci_rt1711h.c247 (TCPC_ROLE_CTRL_CC_RD << TCPC_ROLE_CTRL_CC2_SHIFT); in rt1711h_start_drp_toggling()
250 (TCPC_ROLE_CTRL_CC_RP << TCPC_ROLE_CTRL_CC2_SHIFT); in rt1711h_start_drp_toggling()
/Linux-v6.6/include/linux/usb/
Dtcpci.h66 #define TCPC_ROLE_CTRL_CC2_SHIFT 2 macro
/Linux-v6.6/drivers/usb/typec/
Danx7411.c888 cc2 = TCPC_ROLE_CTRL_CC_RD << TCPC_ROLE_CTRL_CC2_SHIFT; in anx7411_chip_standby()