Searched refs:class_data (Results 1 – 2 of 2) sorted by relevance
20 static struct usbh_class_data *class_data; variable37 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 …]
408 #define USBD_DEFINE_CLASS(class_name, class_api, class_data) \ argument412 .data = class_data, \