Home
last modified time | relevance | path

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

/Zephyr-Core-3.4.0/subsys/usb/host/
Dusbh_core.c20 static struct usbh_class_data *class_data; variable
37 if (class_data && class_data->request) { in event_ep_request()
38 return class_data->request(ctx, event->xfer, event->status); in event_ep_request()
64 if (class_data && class_data->connected) { in usbh_event_handler()
65 ret = class_data->connected(ctx); in usbh_event_handler()
70 if (class_data && class_data->removed) { in usbh_event_handler()
71 ret = class_data->removed(ctx); in usbh_event_handler()
77 if (class_data && class_data->removed) { in usbh_event_handler()
78 ret = class_data->removed(ctx); in usbh_event_handler()
83 if (class_data && class_data->suspended) { in usbh_event_handler()
[all …]
/Zephyr-Core-3.4.0/include/zephyr/usb/
Dusbd.h408 #define USBD_DEFINE_CLASS(class_name, class_api, class_data) \ argument
412 .data = class_data, \