Searched refs:alert_type (Results 1 – 2 of 2) sorted by relevance
508 enum tcpc_alert alert_type = tcpci_alert_reg_to_enum(alert_reg); in ps8xxx_alert_work_cb() local510 if (alert_type == TCPC_ALERT_HARD_RESET_RECEIVED) { in ps8xxx_alert_work_cb()514 } else if (alert_type == TCPC_ALERT_FAULT_STATUS) { in ps8xxx_alert_work_cb()523 } else if (alert_type == TCPC_ALERT_EXTENDED_STATUS) { in ps8xxx_alert_work_cb()533 } else if (alert_type == TCPC_ALERT_POWER_STATUS) { in ps8xxx_alert_work_cb()540 } else if (alert_type == TCPC_ALERT_EXTENDED) { in ps8xxx_alert_work_cb()549 } else if (alert_type == TCPC_ALERT_MSG_STATUS) { in ps8xxx_alert_work_cb()551 } else if (alert_type == TCPC_ALERT_CC_STATUS) { in ps8xxx_alert_work_cb()556 data->alert_handler(dev, data->alert_handler_data, alert_type); in ps8xxx_alert_work_cb()559 clear_flags |= BIT(alert_type); in ps8xxx_alert_work_cb()[all …]
531 enum tcpc_alert alert_type = tcpci_alert_reg_to_enum(alert_reg); in rt1715_alert_work_cb() local533 if (alert_type == TCPC_ALERT_HARD_RESET_RECEIVED) { in rt1715_alert_work_cb()537 } else if (alert_type == TCPC_ALERT_FAULT_STATUS) { in rt1715_alert_work_cb()546 } else if (alert_type == TCPC_ALERT_POWER_STATUS) { in rt1715_alert_work_cb()553 } else if (alert_type == TCPC_ALERT_MSG_STATUS) { in rt1715_alert_work_cb()559 } else if (alert_type == TCPC_ALERT_CC_STATUS) { in rt1715_alert_work_cb()564 data->alert_handler(dev, data->alert_handler_data, alert_type); in rt1715_alert_work_cb()567 clear_flags |= BIT(alert_type); in rt1715_alert_work_cb()568 alert_reg &= ~BIT(alert_type); in rt1715_alert_work_cb()