Searched refs:vendor_cc_status2_cc1 (Results 1 – 1 of 1) sorted by relevance
174 static int max_contaminant_read_comparators(struct max_tcpci_chip *chip, u8 *vendor_cc_status2_cc1, in max_contaminant_read_comparators() argument198 ret = max_tcpci_read8(chip, VENDOR_CC_STATUS2, vendor_cc_status2_cc1); in max_contaminant_read_comparators()226 u8 vendor_cc_status2_cc1 = 0xff, vendor_cc_status2_cc2 = 0xff; in max_contaminant_detect_contaminant() local256 ret = max_contaminant_read_comparators(chip, &vendor_cc_status2_cc1, in max_contaminant_detect_contaminant()262 if ((!(CC1_VUFP_RD0P5 & vendor_cc_status2_cc1) || in max_contaminant_detect_contaminant()264 !(CC1_VUFP_RD0P5 & vendor_cc_status2_cc1 && CC2_VUFP_RD0P5 & vendor_cc_status2_cc2)) in max_contaminant_detect_contaminant()