Home
last modified time | relevance | path

Searched refs:role_control (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/u-boot/drivers/power/power_delivery/
H A Dtcpci.c226 unsigned int reg, role_control; in tcpci_get_cc() local
228 role_control = dm_i2c_reg_read(tcpci->dev, TCPC_ROLE_CTRL); in tcpci_get_cc()
229 if (role_control < 0) in tcpci_get_cc()
230 return role_control; in tcpci_get_cc()
239 tcpc_presenting_cc1_rd(role_control)); in tcpci_get_cc()
243 tcpc_presenting_cc2_rd(role_control)); in tcpci_get_cc()
/OK3568_Linux_fs/kernel/drivers/usb/typec/tcpm/
H A Dtcpci.c256 unsigned int reg, role_control; in tcpci_get_cc() local
259 ret = regmap_read(tcpci->regmap, TCPC_ROLE_CTRL, &role_control); in tcpci_get_cc()
270 tcpc_presenting_rd(role_control, CC1)); in tcpci_get_cc()
274 tcpc_presenting_rd(role_control, CC2)); in tcpci_get_cc()