Searched refs:max_tcpci_write8 (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/drivers/usb/typec/tcpm/ |
D | maxim_contaminant.c | 236 ret = max_tcpci_write8(chip, TCPC_ROLE_CTRL, role_ctrl); in max_contaminant_detect_contaminant() 271 max_tcpci_write8(chip, TCPC_ROLE_CTRL, role_ctrl_backup); in max_contaminant_detect_contaminant() 273 max_tcpci_write8(chip, TCPC_ROLE_CTRL, (TCPC_ROLE_CTRL_DRP | 0xA)); in max_contaminant_detect_contaminant() 277 max_tcpci_write8(chip, TCPC_ROLE_CTRL, role_ctrl_backup); in max_contaminant_detect_contaminant() 319 ret = max_tcpci_write8(chip, TCPC_COMMAND, TCPC_CMD_LOOK4CONNECTION); in max_contaminant_enable_dry_detection() 356 ret = max_tcpci_write8(chip, TCPC_ROLE_CTRL, role_ctrl); in max_contaminant_is_contaminant() 362 ret = max_tcpci_write8(chip, TCPC_ROLE_CTRL, role_ctrl_backup); in max_contaminant_is_contaminant()
|
D | tcpci_maxim_core.c | 82 ret = max_tcpci_write8(chip, TCPC_ALERT_EXTENDED, 0xff); in max_tcpci_init_regs() 89 ret = max_tcpci_write8(chip, TCPC_EXTENDED_STATUS_MASK, TCPC_EXTENDED_STATUS_VSAFE0V); in max_tcpci_init_regs() 109 ret = max_tcpci_write8(chip, TCPC_POWER_CTRL, 0); in max_tcpci_init_regs() 115 ret = max_tcpci_write8(chip, TCPC_ALERT_EXTENDED_MASK, TCPC_SINK_FAST_ROLE_SWAP); in max_tcpci_init_regs() 260 ret = max_tcpci_write8(chip, TCPC_VENDOR_USBSW_CTRL, capable ? in max_tcpci_set_partner_usb_comm_capable() 303 ret = max_tcpci_write8(chip, TCPC_ALERT_EXTENDED, reg_status); in _max_tcpci_irq()
|
D | tcpci_maxim.h | 82 static inline int max_tcpci_write8(struct max_tcpci_chip *chip, unsigned int reg, u8 val) in max_tcpci_write8() function
|