Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/usb_c/tcpc/
Dps8xxx.c592 uint16_t alert_reg = 0; in ps8xxx_alert_work_cb() local
599 tcpci_read_reg16(&cfg->bus, TCPC_REG_ALERT, &alert_reg); in ps8xxx_alert_work_cb()
601 while (alert_reg != 0) { in ps8xxx_alert_work_cb()
602 enum tcpc_alert alert_type = tcpci_alert_reg_to_enum(alert_reg); in ps8xxx_alert_work_cb()
648 alert_reg &= ~BIT(alert_type); in ps8xxx_alert_work_cb()
653 tcpci_read_reg16(&cfg->bus, TCPC_REG_ALERT, &alert_reg); in ps8xxx_alert_work_cb()
654 if (alert_reg != 0) { in ps8xxx_alert_work_cb()