Home
last modified time | relevance | path

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

/linux/drivers/usb/typec/tcpm/
H A Dtcpci.c108 | FIELD_PREP(TCPC_ROLE_CTRL_CC2, TCPC_ROLE_CTRL_CC_RA)); in tcpci_set_cc()
112 | FIELD_PREP(TCPC_ROLE_CTRL_CC2, TCPC_ROLE_CTRL_CC_RD)); in tcpci_set_cc()
116 | FIELD_PREP(TCPC_ROLE_CTRL_CC2, TCPC_ROLE_CTRL_CC_RP) in tcpci_set_cc()
122 | FIELD_PREP(TCPC_ROLE_CTRL_CC2, TCPC_ROLE_CTRL_CC_RP) in tcpci_set_cc()
128 | FIELD_PREP(TCPC_ROLE_CTRL_CC2, TCPC_ROLE_CTRL_CC_RP) in tcpci_set_cc()
135 | FIELD_PREP(TCPC_ROLE_CTRL_CC2, TCPC_ROLE_CTRL_CC_OPEN)); in tcpci_set_cc()
144 reg &= ~TCPC_ROLE_CTRL_CC2; in tcpci_set_cc()
145 reg |= FIELD_PREP(TCPC_ROLE_CTRL_CC2, 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.c250 | FIELD_PREP(TCPC_ROLE_CTRL_CC2, TCPC_ROLE_CTRL_CC_RD)); in rt1711h_start_drp_toggling()
253 | FIELD_PREP(TCPC_ROLE_CTRL_CC2, TCPC_ROLE_CTRL_CC_RP)); in rt1711h_start_drp_toggling()
/linux/include/linux/usb/
H A Dtcpci.h70 #define TCPC_ROLE_CTRL_CC2 GENMASK(3, 2) macro
/linux/drivers/usb/typec/
H A Danx7411.c891 cc2 = FIELD_PREP(TCPC_ROLE_CTRL_CC2, TCPC_ROLE_CTRL_CC_RD); in anx7411_chip_standby()