Searched refs:TCPC_ROLE_CTRL_CC2 (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/usb/typec/tcpm/ |
H A D | tcpci.c | 108 | 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 D | tcpci_rt1711h.c | 250 | 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 D | tcpci.h | 70 #define TCPC_ROLE_CTRL_CC2 GENMASK(3, 2) macro
|
/linux/drivers/usb/typec/ |
H A D | anx7411.c | 891 cc2 = FIELD_PREP(TCPC_ROLE_CTRL_CC2, TCPC_ROLE_CTRL_CC_RD); in anx7411_chip_standby()
|