Home
last modified time | relevance | path

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

/linux/drivers/usb/typec/tcpm/
H A Dtcpci.c107 reg = (FIELD_PREP(TCPC_ROLE_CTRL_CC1, TCPC_ROLE_CTRL_CC_RA) in tcpci_set_cc()
111 reg = (FIELD_PREP(TCPC_ROLE_CTRL_CC1, TCPC_ROLE_CTRL_CC_RD) in tcpci_set_cc()
115 reg = (FIELD_PREP(TCPC_ROLE_CTRL_CC1, TCPC_ROLE_CTRL_CC_RP) in tcpci_set_cc()
121 reg = (FIELD_PREP(TCPC_ROLE_CTRL_CC1, TCPC_ROLE_CTRL_CC_RP) in tcpci_set_cc()
127 reg = (FIELD_PREP(TCPC_ROLE_CTRL_CC1, TCPC_ROLE_CTRL_CC_RP) in tcpci_set_cc()
134 reg = (FIELD_PREP(TCPC_ROLE_CTRL_CC1, TCPC_ROLE_CTRL_CC_OPEN) in tcpci_set_cc()
141 reg &= ~TCPC_ROLE_CTRL_CC1; in tcpci_set_cc()
142 reg |= FIELD_PREP(TCPC_ROLE_CTRL_CC1, TCPC_ROLE_CTRL_CC_OPEN); in tcpci_set_cc()
171 if (FIELD_GET(TCPC_ROLE_CTRL_CC2, reg) != FIELD_GET(TCPC_ROLE_CTRL_CC1, reg)) in tcpci_apply_rc()
175 TCPC_ROLE_CTRL_CC2 : TCPC_ROLE_CTRL_CC1, in tcpci_apply_rc()
[all …]
H A Dtcpci_rt1711h.c249 reg |= (FIELD_PREP(TCPC_ROLE_CTRL_CC1, TCPC_ROLE_CTRL_CC_RD) in rt1711h_start_drp_toggling()
252 reg |= (FIELD_PREP(TCPC_ROLE_CTRL_CC1, TCPC_ROLE_CTRL_CC_RP) in rt1711h_start_drp_toggling()
/linux/include/linux/usb/
H A Dtcpci.h71 #define TCPC_ROLE_CTRL_CC1 GENMASK(1, 0) macro
/linux/drivers/usb/typec/
H A Danx7411.c890 cc1 = FIELD_PREP(TCPC_ROLE_CTRL_CC1, TCPC_ROLE_CTRL_CC_RD); in anx7411_chip_standby()