Searched refs:tcpci_write16 (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/usb/typec/tcpm/ |
H A D | tcpci.c | 66 static int tcpci_write16(struct tcpci *tcpci, unsigned int reg, u16 val) in tcpci_write16() function 409 return tcpci_write16(tcpci, TCPC_VBUS_SINK_DISCONNECT_THRESH, threshold); in tcpci_set_auto_vbus_discharge_threshold() 418 ret = tcpci_write16(tcpci, TCPC_VBUS_SINK_DISCONNECT_THRESH, enable ? 0 : 0x8c); in tcpci_enable_frs() 598 ret = tcpci_write16(tcpci, TCPC_TX_HDR, header); in tcpci_pd_transmit() 657 ret = tcpci_write16(tcpci, TCPC_FAULT_STATUS, TCPC_FAULT_STATUS_ALL_REG_RST_TO_DEFAULT); in tcpci_init() 669 ret = tcpci_write16(tcpci, TCPC_ALERT, 0xffff); in tcpci_init() 703 return tcpci_write16(tcpci, TCPC_ALERT_MASK, reg); in tcpci_init() 722 tcpci_write16(tcpci, TCPC_ALERT, in tcpci_irq() 768 tcpci_write16(tcpci, TCPC_ALERT, TCPC_ALERT_RX_STATUS); in tcpci_irq() 950 err = tcpci_write16(chip->tcpci, TCPC_ALERT_MASK, 0); in tcpci_remove()
|