Searched refs:TCPC_ROLE_CTRL (Results 1 – 5 of 5) sorted by relevance
/linux-6.3-rc2/drivers/usb/typec/tcpm/ |
A D | maxim_contaminant.c | 230 ret = max_tcpci_read8(chip, TCPC_ROLE_CTRL, &role_ctrl); in max_contaminant_detect_contaminant() 236 ret = max_tcpci_write8(chip, TCPC_ROLE_CTRL, role_ctrl); in max_contaminant_detect_contaminant() 271 max_tcpci_write8(chip, TCPC_ROLE_CTRL, role_ctrl_backup); in max_contaminant_detect_contaminant() 273 max_tcpci_write8(chip, TCPC_ROLE_CTRL, (TCPC_ROLE_CTRL_DRP | 0xA)); in max_contaminant_detect_contaminant() 277 max_tcpci_write8(chip, TCPC_ROLE_CTRL, role_ctrl_backup); in max_contaminant_detect_contaminant() 294 ret = regmap_update_bits(regmap, TCPC_ROLE_CTRL, TCPC_ROLE_CTRL_DRP, TCPC_ROLE_CTRL_DRP); in max_contaminant_enable_dry_detection() 349 ret = max_tcpci_read8(chip, TCPC_ROLE_CTRL, &role_ctrl); in max_contaminant_is_contaminant() 356 ret = max_tcpci_write8(chip, TCPC_ROLE_CTRL, role_ctrl); in max_contaminant_is_contaminant() 362 ret = max_tcpci_write8(chip, TCPC_ROLE_CTRL, role_ctrl_backup); in max_contaminant_is_contaminant()
|
A D | tcpci.c | 136 ret = regmap_write(tcpci->regmap, TCPC_ROLE_CTRL, reg); in tcpci_set_cc() 150 ret = regmap_read(tcpci->regmap, TCPC_ROLE_CTRL, ®); in tcpci_apply_rc() 164 return regmap_update_bits(tcpci->regmap, TCPC_ROLE_CTRL, polarity == TYPEC_POLARITY_CC1 ? in tcpci_apply_rc() 210 ret = regmap_write(tcpci->regmap, TCPC_ROLE_CTRL, reg); in tcpci_start_toggling() 224 ret = regmap_read(tcpci->regmap, TCPC_ROLE_CTRL, &role_control); in tcpci_get_cc() 253 ret = regmap_read(tcpci->regmap, TCPC_ROLE_CTRL, ®); in tcpci_set_polarity() 295 ret = regmap_write(tcpci->regmap, TCPC_ROLE_CTRL, reg); in tcpci_set_polarity()
|
A D | tcpci_rt1711h.c | 187 ret = rt1711h_read8(chip, TCPC_ROLE_CTRL, &role); in rt1711h_init_cc_params() 252 ret = rt1711h_write8(chip, TCPC_ROLE_CTRL, reg); in rt1711h_start_drp_toggling()
|
/linux-6.3-rc2/include/linux/usb/ |
A D | tcpci.h | 59 #define TCPC_ROLE_CTRL 0x1a macro
|
/linux-6.3-rc2/drivers/usb/typec/ |
A D | anx7411.c | 889 ret |= anx7411_reg_write(ctx->tcpc_client, TCPC_ROLE_CTRL, in anx7411_chip_standby()
|
Completed in 13 milliseconds