Searched refs:role_ctrl_backup (Results 1 – 1 of 1) sorted by relevance
227 u8 role_ctrl = 0, role_ctrl_backup = 0; in max_contaminant_detect_contaminant() local234 role_ctrl_backup = role_ctrl; in max_contaminant_detect_contaminant()271 max_tcpci_write8(chip, TCPC_ROLE_CTRL, role_ctrl_backup); in max_contaminant_detect_contaminant()277 max_tcpci_write8(chip, TCPC_ROLE_CTRL, role_ctrl_backup); in max_contaminant_detect_contaminant()352 u8 role_ctrl, role_ctrl_backup; in max_contaminant_is_contaminant() local358 role_ctrl_backup = role_ctrl; in max_contaminant_is_contaminant()367 ret = max_tcpci_write8(chip, TCPC_ROLE_CTRL, role_ctrl_backup); in max_contaminant_is_contaminant()