Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/usb_c/tcpc/
Dps8xxx.c602 enum tcpc_alert alert_type = tcpci_alert_reg_to_enum(alert_reg); in ps8xxx_alert_work_cb() local
604 if (alert_type == TCPC_ALERT_HARD_RESET_RECEIVED) { in ps8xxx_alert_work_cb()
608 } else if (alert_type == TCPC_ALERT_FAULT_STATUS) { in ps8xxx_alert_work_cb()
615 } else if (alert_type == TCPC_ALERT_EXTENDED_STATUS) { in ps8xxx_alert_work_cb()
623 } else if (alert_type == TCPC_ALERT_POWER_STATUS) { in ps8xxx_alert_work_cb()
630 } else if (alert_type == TCPC_ALERT_EXTENDED) { in ps8xxx_alert_work_cb()
637 } else if (alert_type == TCPC_ALERT_MSG_STATUS) { in ps8xxx_alert_work_cb()
639 } else if (alert_type == TCPC_ALERT_CC_STATUS) { in ps8xxx_alert_work_cb()
644 data->alert_handler(data->dev, data->alert_handler_data, alert_type); in ps8xxx_alert_work_cb()
647 clear_flags |= BIT(alert_type); in ps8xxx_alert_work_cb()
[all …]