Searched refs:TCPC_ROLE_CTRL_CC1 (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/usb/typec/tcpm/ |
H A D | tcpci.c | 107 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 D | tcpci_rt1711h.c | 249 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 D | tcpci.h | 71 #define TCPC_ROLE_CTRL_CC1 GENMASK(1, 0) macro
|
/linux/drivers/usb/typec/ |
H A D | anx7411.c | 890 cc1 = FIELD_PREP(TCPC_ROLE_CTRL_CC1, TCPC_ROLE_CTRL_CC_RD); in anx7411_chip_standby()
|