Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/typec/tcpm/
H A Dtcpci.c65 static int tcpci_write16(struct tcpci *tcpci, unsigned int reg, u16 val) in tcpci_write16() function
380 return tcpci_write16(tcpci, TCPC_VBUS_SINK_DISCONNECT_THRESH, threshold); in tcpci_set_auto_vbus_discharge_threshold()
389 ret = tcpci_write16(tcpci, TCPC_VBUS_SINK_DISCONNECT_THRESH, enable ? 0 : 0x8c); in tcpci_enable_frs()
566 ret = tcpci_write16(tcpci, TCPC_TX_HDR, header); in tcpci_pd_transmit()
605 ret = tcpci_write16(tcpci, TCPC_FAULT_STATUS, TCPC_FAULT_STATUS_ALL_REG_RST_TO_DEFAULT); in tcpci_init()
617 ret = tcpci_write16(tcpci, TCPC_ALERT, 0xffff); in tcpci_init()
651 return tcpci_write16(tcpci, TCPC_ALERT_MASK, reg); in tcpci_init()
667 tcpci_write16(tcpci, TCPC_ALERT, in tcpci_irq()
713 tcpci_write16(tcpci, TCPC_ALERT, TCPC_ALERT_RX_STATUS); in tcpci_irq()
876 err = tcpci_write16(chip->tcpci, TCPC_ALERT_MASK, 0); in tcpci_remove()