Searched refs:alert_handler (Results 1 – 3 of 3) sorted by relevance
38 tcpc_alert_handler_cb_t alert_handler; member534 if (data->alert_handler == handler && data->alert_handler_data == handler_data) { in ps8xxx_tcpc_set_alert_handler_cb()538 data->alert_handler = handler; in ps8xxx_tcpc_set_alert_handler_cb()643 if (data->alert_handler != NULL) { in ps8xxx_alert_work_cb()644 data->alert_handler(data->dev, data->alert_handler_data, alert_type); in ps8xxx_alert_work_cb()
834 tcpc_alert_handler_cb_t alert_handler = data->tcpc_alert.handler; in numaker_utcpd_notify_tcpc_alert() local837 if (alert_handler) { in numaker_utcpd_notify_tcpc_alert()838 alert_handler(dev, alert_data, alert); in numaker_utcpd_notify_tcpc_alert()2159 tcpc_alert_handler_cb_t alert_handler, in numaker_tcpc_set_alert_handler_cb() argument2164 data->tcpc_alert.handler = alert_handler; in numaker_tcpc_set_alert_handler_cb()
365 static void alert_handler(const struct device *tcpc, void *port_dev, enum tcpc_alert alert) in alert_handler() function545 tcpc_set_alert_handler_cb(data->tcpc, alert_handler, (void *)dev); in prl_init()