Searched refs:tcpc_alert (Results 1 – 7 of 7) sorted by relevance
104 enum tcpc_alert tcpci_alert_reg_to_enum(uint16_t reg);
41 enum tcpc_alert { enum126 enum tcpc_alert alert);146 void (*alert_handler_cb)(const struct device *dev, void *data, enum tcpc_alert alert);
247 } tcpc_alert; member831 static void numaker_utcpd_notify_tcpc_alert(const struct device *dev, enum tcpc_alert alert) in numaker_utcpd_notify_tcpc_alert()834 tcpc_alert_handler_cb_t alert_handler = data->tcpc_alert.handler; in numaker_utcpd_notify_tcpc_alert()835 void *alert_data = data->tcpc_alert.data; in numaker_utcpd_notify_tcpc_alert()2164 data->tcpc_alert.handler = alert_handler; in numaker_tcpc_set_alert_handler_cb()2165 data->tcpc_alert.data = alert_data; in numaker_tcpc_set_alert_handler_cb()
310 enum tcpc_alert tcpci_alert_reg_to_enum(uint16_t reg) in tcpci_alert_reg_to_enum()
421 void ps8xxx_tcpc_alert_handler_cb(const struct device *dev, void *data, enum tcpc_alert alert) in ps8xxx_tcpc_alert_handler_cb()602 enum tcpc_alert alert_type = tcpci_alert_reg_to_enum(alert_reg); in ps8xxx_alert_work_cb()
667 static void ucpd_notify_handler(struct alert_info *info, enum tcpc_alert alert) in ucpd_notify_handler()774 enum tcpc_alert status; in ucpd_manage_tx()
365 static void alert_handler(const struct device *tcpc, void *port_dev, enum tcpc_alert alert) in alert_handler()