Searched refs:TCPC_ROLE_CTRL_CC_RD (Results 1 – 4 of 4) sorted by relevance
/linux/include/linux/usb/ |
H A D | tcpci.h | 74 #define TCPC_ROLE_CTRL_CC_RD 0x2 macro 173 FIELD_GET(TCPC_ROLE_CTRL_## cc, reg) == TCPC_ROLE_CTRL_CC_RD)
|
/linux/drivers/usb/typec/tcpm/ |
H A D | tcpci.c | 111 reg = (FIELD_PREP(TCPC_ROLE_CTRL_CC1, TCPC_ROLE_CTRL_CC_RD) in tcpci_set_cc() 112 | FIELD_PREP(TCPC_ROLE_CTRL_CC2, TCPC_ROLE_CTRL_CC_RD)); in tcpci_set_cc() 214 reg |= (FIELD_PREP(TCPC_ROLE_CTRL_CC1, TCPC_ROLE_CTRL_CC_RD) in tcpci_start_toggling() 215 | FIELD_PREP(TCPC_ROLE_CTRL_CC2, TCPC_ROLE_CTRL_CC_RD)); in tcpci_start_toggling() 286 reg |= FIELD_PREP(TCPC_ROLE_CTRL_CC2, TCPC_ROLE_CTRL_CC_RD); in tcpci_set_polarity() 294 reg |= FIELD_PREP(TCPC_ROLE_CTRL_CC1, TCPC_ROLE_CTRL_CC_RD); in tcpci_set_polarity()
|
H A D | tcpci_rt1711h.c | 249 reg |= (FIELD_PREP(TCPC_ROLE_CTRL_CC1, TCPC_ROLE_CTRL_CC_RD) in rt1711h_start_drp_toggling() 250 | FIELD_PREP(TCPC_ROLE_CTRL_CC2, TCPC_ROLE_CTRL_CC_RD)); in rt1711h_start_drp_toggling()
|
/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() 891 cc2 = FIELD_PREP(TCPC_ROLE_CTRL_CC2, TCPC_ROLE_CTRL_CC_RD); in anx7411_chip_standby()
|