Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/usb/typec/tcpm/
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()
128 reg &= ~(TCPC_ROLE_CTRL_CC1_MASK << TCPC_ROLE_CTRL_CC1_SHIFT); in tcpci_set_cc()
129 reg |= (TCPC_ROLE_CTRL_CC_OPEN << TCPC_ROLE_CTRL_CC1_SHIFT); in tcpci_set_cc()
160 ((reg & (TCPC_ROLE_CTRL_CC1_MASK << TCPC_ROLE_CTRL_CC1_SHIFT)) >> in tcpci_apply_rc()
161 TCPC_ROLE_CTRL_CC1_SHIFT)) in tcpci_apply_rc()
[all …]
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()
/Linux-v6.6/include/linux/usb/
Dtcpci.h68 #define TCPC_ROLE_CTRL_CC1_SHIFT 0 macro
/Linux-v6.6/drivers/usb/typec/
Danx7411.c887 cc1 = TCPC_ROLE_CTRL_CC_RD << TCPC_ROLE_CTRL_CC1_SHIFT; in anx7411_chip_standby()