Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/usb_c/tcpc/
Dps8xxx.c38 tcpc_alert_handler_cb_t alert_handler; member
534 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()
Ducpd_numaker.c834 tcpc_alert_handler_cb_t alert_handler = data->tcpc_alert.handler; in numaker_utcpd_notify_tcpc_alert() local
837 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() argument
2164 data->tcpc_alert.handler = alert_handler; in numaker_tcpc_set_alert_handler_cb()
/Zephyr-latest/subsys/usb/usb_c/
Dusbc_prl.c365 static void alert_handler(const struct device *tcpc, void *port_dev, enum tcpc_alert alert) in alert_handler() function
545 tcpc_set_alert_handler_cb(data->tcpc, alert_handler, (void *)dev); in prl_init()