Home
last modified time | relevance | path

Searched refs:max_tcpci_chip (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/usb/typec/tcpm/
H A Dtcpci_maxim.h54 struct max_tcpci_chip { struct
64 static inline int max_tcpci_read16(struct max_tcpci_chip *chip, unsigned int reg, u16 *val) in max_tcpci_read16() argument
69 static inline int max_tcpci_write16(struct max_tcpci_chip *chip, unsigned int reg, u16 val) in max_tcpci_write16()
74 static inline int max_tcpci_read8(struct max_tcpci_chip *chip, unsigned int reg, u8 *val) in max_tcpci_read8()
79 static inline int max_tcpci_write8(struct max_tcpci_chip *chip, unsigned int reg, u8 val) in max_tcpci_write8()
97 bool max_contaminant_is_contaminant(struct max_tcpci_chip *chip, bool disconnect_while_debounce,
H A Dtcpci_maxim_core.c60 static struct max_tcpci_chip *tdata_to_max_tcpci(struct tcpci_data *tdata) in tdata_to_max_tcpci()
62 return container_of(tdata, struct max_tcpci_chip, data); in tdata_to_max_tcpci()
65 static void max_tcpci_init_regs(struct max_tcpci_chip *chip) in max_tcpci_init_regs()
127 static void process_rx(struct max_tcpci_chip *chip, u16 status) in process_rx()
206 struct max_tcpci_chip *chip = tdata_to_max_tcpci(tdata); in max_tcpci_set_vbus()
232 static void process_power_status(struct max_tcpci_chip *chip) in process_power_status()
259 static void process_tx(struct max_tcpci_chip *chip, u16 status) in process_tx()
277 struct max_tcpci_chip *chip = tdata_to_max_tcpci(data); in max_tcpci_set_partner_usb_comm_capable()
288 static irqreturn_t _max_tcpci_irq(struct max_tcpci_chip *chip, u16 status) in _max_tcpci_irq()
387 struct max_tcpci_chip *chip = dev_id; in max_tcpci_irq()
[all …]
H A Dmaxim_contaminant.c53 static int max_contaminant_adc_to_mv(struct max_tcpci_chip *chip, enum fladc_select channel, in max_contaminant_adc_to_mv()
71 static int max_contaminant_read_adc_mv(struct max_tcpci_chip *chip, enum fladc_select channel, in max_contaminant_read_adc_mv()
110 static int max_contaminant_read_resistance_kohm(struct max_tcpci_chip *chip, in max_contaminant_read_resistance_kohm()
174 static int max_contaminant_read_comparators(struct max_tcpci_chip *chip, u8 *vendor_cc_status2_cc1, in max_contaminant_read_comparators()
223 static int max_contaminant_detect_contaminant(struct max_tcpci_chip *chip) in max_contaminant_detect_contaminant()
281 static int max_contaminant_enable_dry_detection(struct max_tcpci_chip *chip) in max_contaminant_enable_dry_detection()
327 bool max_contaminant_is_contaminant(struct max_tcpci_chip *chip, bool disconnect_while_debounce, in max_contaminant_is_contaminant()