Home
last modified time | relevance | path

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

/drivers/usb/typec/tcpm/
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()
120 static void process_rx(struct max_tcpci_chip *chip, u16 status) in process_rx()
186 struct max_tcpci_chip *chip = tdata_to_max_tcpci(tdata); in max_tcpci_set_vbus()
212 static void process_power_status(struct max_tcpci_chip *chip) in process_power_status()
239 static void process_tx(struct max_tcpci_chip *chip, u16 status) in process_tx()
257 struct max_tcpci_chip *chip = tdata_to_max_tcpci(data); in max_tcpci_set_partner_usb_comm_capable()
268 static irqreturn_t _max_tcpci_irq(struct max_tcpci_chip *chip, u16 status) in _max_tcpci_irq()
351 struct max_tcpci_chip *chip = dev_id; in max_tcpci_irq()
[all …]
Dtcpci_maxim.h58 struct max_tcpci_chip { struct
67 static inline int max_tcpci_read16(struct max_tcpci_chip *chip, unsigned int reg, u16 *val) in max_tcpci_read16() argument
72 static inline int max_tcpci_write16(struct max_tcpci_chip *chip, unsigned int reg, u16 val) in max_tcpci_write16()
77 static inline int max_tcpci_read8(struct max_tcpci_chip *chip, unsigned int reg, u8 *val) in max_tcpci_read8()
82 static inline int max_tcpci_write8(struct max_tcpci_chip *chip, unsigned int reg, u8 val) in max_tcpci_write8()
87 bool max_contaminant_is_contaminant(struct max_tcpci_chip *chip, bool disconnect_while_debounce);
Dmaxim_contaminant.c57 static int max_contaminant_adc_to_mv(struct max_tcpci_chip *chip, enum fladc_select channel, in max_contaminant_adc_to_mv()
75 static int max_contaminant_read_adc_mv(struct max_tcpci_chip *chip, enum fladc_select channel, in max_contaminant_read_adc_mv()
113 static int max_contaminant_read_resistance_kohm(struct max_tcpci_chip *chip, in max_contaminant_read_resistance_kohm()
176 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()
325 bool max_contaminant_is_contaminant(struct max_tcpci_chip *chip, bool disconnect_while_debounce) in max_contaminant_is_contaminant()