Searched refs:max_tcpci_read8 (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/usb/typec/tcpm/ |
H A D | maxim_contaminant.c | 90 ret = max_tcpci_read8(chip, TCPC_VENDOR_FLADC_STATUS, &fladc); in max_contaminant_read_adc_mv() 198 ret = max_tcpci_read8(chip, VENDOR_CC_STATUS2, vendor_cc_status2_cc1); in max_contaminant_read_comparators() 207 ret = max_tcpci_read8(chip, VENDOR_CC_STATUS2, vendor_cc_status2_cc2); in max_contaminant_read_comparators() 230 ret = max_tcpci_read8(chip, TCPC_ROLE_CTRL, &role_ctrl); in max_contaminant_detect_contaminant() 302 ret = max_tcpci_read8(chip, TCPC_VENDOR_CC_CTRL1, &temp); in max_contaminant_enable_dry_detection() 311 ret = max_tcpci_read8(chip, TCPC_VENDOR_CC_CTRL2, &temp); in max_contaminant_enable_dry_detection() 335 ret = max_tcpci_read8(chip, TCPC_CC_STATUS, &cc_status); in max_contaminant_is_contaminant() 339 ret = max_tcpci_read8(chip, TCPC_POWER_CTRL, &pwr_cntl); in max_contaminant_is_contaminant() 347 ret = max_tcpci_read8(chip, TCPC_CC_STATUS, &cc_status); in max_contaminant_is_contaminant() 354 ret = max_tcpci_read8(chip, TCPC_ROLE_CTRL, &role_ctrl); in max_contaminant_is_contaminant()
|
H A D | tcpci_maxim_core.c | 237 ret = max_tcpci_read8(chip, TCPC_POWER_STATUS, &pwr_status); in process_power_status() 318 ret = max_tcpci_read8(chip, TCPC_FAULT_STATUS, ®_status); in _max_tcpci_irq() 333 ret = max_tcpci_read8(chip, TCPC_ALERT_EXTENDED, ®_status); in _max_tcpci_irq() 348 ret = max_tcpci_read8(chip, TCPC_EXTENDED_STATUS, (u8 *)®_status); in _max_tcpci_irq() 502 ret = max_tcpci_read8(chip, TCPC_POWER_STATUS, &power_status); in max_tcpci_probe()
|
H A D | tcpci_maxim.h | 74 static inline int max_tcpci_read8(struct max_tcpci_chip *chip, unsigned int reg, u8 *val) in max_tcpci_read8() function
|