#ifndef TCPCI_MAXIM_H_
#define TCPCI_MAXIM_H_
#define VENDOR_CC_STATUS2 …
#define CC1_VUFP_RD0P5 …
#define CC2_VUFP_RD0P5 …
#define TCPC_VENDOR_FLADC_STATUS …
#define TCPC_VENDOR_CC_CTRL1 …
#define CCCONNDRY …
#define CCCOMPEN …
#define TCPC_VENDOR_CC_CTRL2 …
#define SBUOVPDIS …
#define CCOVPDIS …
#define SBURPCTRL …
#define CCLPMODESEL_MASK …
#define ULTRA_LOW_POWER_MODE …
#define CCRPCTRL_MASK …
#define UA_1_SRC …
#define UA_80_SRC …
#define TCPC_VENDOR_CC_CTRL3 …
#define CCWTRDEB_MASK …
#define CCWTRDEB_SHIFT …
#define CCWTRDEB_1MS …
#define CCWTRSEL_MASK …
#define CCWTRSEL_SHIFT …
#define CCWTRSEL_1V …
#define CCLADDERDIS …
#define WTRCYCLE_MASK …
#define WTRCYCLE_SHIFT …
#define WTRCYCLE_2_4_S …
#define WTRCYCLE_4_8_S …
#define TCPC_VENDOR_ADC_CTRL1 …
#define ADCINSEL_MASK …
#define ADC_CHANNEL_OFFSET …
#define ADCEN …
enum contamiant_state { … };
struct max_tcpci_chip { … };
static inline int max_tcpci_read16(struct max_tcpci_chip *chip, unsigned int reg, u16 *val)
{ … }
static inline int max_tcpci_write16(struct max_tcpci_chip *chip, unsigned int reg, u16 val)
{ … }
static inline int max_tcpci_read8(struct max_tcpci_chip *chip, unsigned int reg, u8 *val)
{ … }
static inline int max_tcpci_write8(struct max_tcpci_chip *chip, unsigned int reg, u8 val)
{ … }
bool max_contaminant_is_contaminant(struct max_tcpci_chip *chip, bool disconnect_while_debounce);
#endif