Home
last modified time | relevance | path

Searched refs:usbdev_s (Results 1 – 15 of 15) sorted by relevance

/third_party/NuttX/drivers/usbdev/gadget/
Dusbdev.h333 struct usbdev_s;
338 …struct usbdev_ep_s *(*allocep)(struct usbdev_s *dev, uint8_t eplog, usb_endpoint_descriptor_t *des…
339 void (*freeep)(struct usbdev_s *dev, struct usbdev_ep_s *ep);
343 int (*getframe)(struct usbdev_s *dev);
347 int (*wakeup)(struct usbdev_s *dev);
348 int (*selfpowered)(struct usbdev_s *dev, bool selfpowered);
349 int (*pullup)(struct usbdev_s *dev, bool enable);
353 int (*ioctl)(struct usbdev_s *dev, unsigned code, unsigned long param);
356 struct usbdev_s struct
368 int (*bind)(struct usbdevclass_driver_s *driver, struct usbdev_s *dev); argument
[all …]
Ddfu.c119 FAR struct usbdev_s *dev,
123 FAR struct usbdev_s *dev);
125 FAR struct usbdev_s *dev);
127 FAR struct usbdev_s *dev);
236 FAR struct usbdev_s *dev, in usbclass_setup()
299 FAR struct usbdev_s *dev) in usbclass_bind()
317 FAR struct usbdev_s *dev) in usbclass_unbind()
339 FAR struct usbdev_s *dev) in usbclass_disconnect()
Dcomposite.c97 void usbd_configep_byspeed(struct usbdev_s *dev, struct usb_endpoint_descriptor *ep_desc) in usbd_configep_byspeed()
158 static int usb_composite_unbind(struct usbdevclass_driver_s *driver, struct usbdev_s *dev) in usb_composite_unbind()
201 static int usb_composite_bind(struct usbdevclass_driver_s *driver, struct usbdev_s *dev) in usb_composite_bind()
255 static int modify_config_descriptor_byspeed(struct usbdev_s *dev, struct usbdev_req_s *req) in modify_config_descriptor_byspeed()
335 int composite_get_config_descriptor(struct usbdev_s *dev, in composite_get_config_descriptor()
371 void modify_device_descriptor_byspeed(struct usbdev_s *dev, uint8_t *buf) in modify_device_descriptor_byspeed()
393 struct usbdev_s *dev, in composite_classsetup()
450 int usb_composite_setup(struct usbdevclass_driver_s *driver, struct usbdev_s *dev, in usb_composite_setup()
639 static void usb_composite_disconnect(struct usbdevclass_driver_s *driver, struct usbdev_s *dev) in usb_composite_disconnect()
658 static void usb_composite_suspend(struct usbdevclass_driver_s *driver, struct usbdev_s *dev) in usb_composite_suspend()
[all …]
Df_uac.c64 static int usbclass_uac_bind(struct usbdevclass_driver_s *driver, struct usbdev_s *dev);
65 static int usbclass_uac_unbind(struct usbdevclass_driver_s *driver, struct usbdev_s *dev);
66 static int usbclass_uac_setup(struct usbdevclass_driver_s *driver, struct usbdev_s *dev,
68 static void usbclass_uac_disconnect(struct usbdevclass_driver_s *driver, struct usbdev_s *dev);
554 static int audio_set_endpoint_req(struct usbdev_s *dev, struct usbdev_req_s *req, in audio_set_endpoint_req()
581 static int audio_get_endpoint_req(struct usbdev_s *dev, struct usbdev_req_s *req, in audio_get_endpoint_req()
615 static void fuac_source_free(struct usbdevclass_driver_s *driver, struct usbdev_s *dev) in fuac_source_free()
631 static int usbclass_uac_bind(struct usbdevclass_driver_s *driver, struct usbdev_s *dev) in usbclass_uac_bind()
707 static int usbclass_uac_unbind(struct usbdevclass_driver_s *driver, struct usbdev_s *dev) in usbclass_uac_unbind()
756 static int usbclass_uac_setup(struct usbdevclass_driver_s *driver, struct usbdev_s *dev, in usbclass_uac_setup()
[all …]
Df_hid.c67 static int usbclass_hid_bind(struct usbdevclass_driver_s *driver, struct usbdev_s *dev);
68 static int usbclass_hid_unbind(struct usbdevclass_driver_s *driver, struct usbdev_s *dev);
69 static int usbclass_hid_setup(struct usbdevclass_driver_s *driver, struct usbdev_s *dev,
71 static void usbclass_hid_disconnect(struct usbdevclass_driver_s *driver, struct usbdev_s *dev);
410 static void fhid_source_free(struct hid_dev_s *hid, struct usbdev_s *dev) in fhid_source_free()
419 static int usbclass_hid_bind(struct usbdevclass_driver_s *driver, struct usbdev_s *dev) in usbclass_hid_bind()
512 static int usbclass_hid_unbind(struct usbdevclass_driver_s *driver, struct usbdev_s *dev) in usbclass_hid_unbind()
561 static void usbclass_hid_set_endpoint(struct usbdevclass_driver_s *driver, struct usbdev_s *dev) in usbclass_hid_set_endpoint()
616 static void usbclass_hid_get_report(struct usbdev_s *dev, uint32_t len) in usbclass_hid_get_report()
632 static int usbclass_hid_setup(struct usbdevclass_driver_s *driver, struct usbdev_s *dev, in usbclass_hid_setup()
[all …]
Dcdcacm.c96 struct usbdev_s *usbdev; /* Usb device pointer */
193 FAR struct usbdev_s *dev,
197 FAR struct usbdev_s *dev);
209 FAR struct usbdev_s *dev);
211 FAR struct usbdev_s *dev);
213 FAR struct usbdev_s *dev,
219 FAR struct usbdev_s *dev);
755 FAR struct usbdev_s *dev, in cdcacm_epconfigure()
775 struct usbdev_s *dev) in cdcacm_setconfig()
1038 FAR struct usbdev_s *dev) in cdcacm_bind()
[all …]
Dcomposite.h132 struct usbdev_s *usbdev; /* usbdev driver pointer */
173 extern void usbd_configep_byspeed(struct usbdev_s *dev, struct usb_endpoint_descriptor *ep_desc);
Df_mass_storage.c77 static int usbclass_mass_bind(struct usbdevclass_driver_s *driver, struct usbdev_s *dev);
78 static int usbclass_mass_unbind(struct usbdevclass_driver_s *driver, struct usbdev_s *dev);
79 static int usbclass_mass_setup(struct usbdevclass_driver_s *driver, struct usbdev_s *dev,
81 static void usbclass_mass_disconnect(struct usbdevclass_driver_s *driver, struct usbdev_s *dev);
95 static int fmass_thread_init(struct mass_dev_s *fmass, struct usbdev_s *dev);
1196 void fmass_set_config(struct mass_dev_s *fmass, struct usbdev_s *dev) in fmass_set_config()
1309 struct usbdev_s *dev = (struct usbdev_s *)para1; in fmass_main_thread()
1421 static int fmass_thread_init(struct mass_dev_s *fmass, struct usbdev_s *dev) in fmass_thread_init()
1588 static int usbclass_mass_bind(struct usbdevclass_driver_s *driver, struct usbdev_s *dev) in usbclass_mass_bind()
1649 static int usbclass_mass_unbind(struct usbdevclass_driver_s *driver, struct usbdev_s *dev) in usbclass_mass_unbind()
[all …]
Drndis.c120 FAR struct usbdev_s *usbdev; /* usbdev driver pointer */
197 FAR struct usbdev_s *dev,
201 FAR struct usbdev_s *dev);
203 FAR struct usbdev_s *dev);
205 FAR struct usbdev_s *dev);
1668 FAR struct usbdev_s *dev) in usbclass_bind()
1819 FAR struct usbdev_s *dev) in usbclass_unbind()
1923 FAR struct usbdev_s *dev, in usbclass_setup()
2068 FAR struct usbdev_s *dev) in usbclass_disconnect()
2204 struct usbdev_s *dev; in usbclass_setconfig()
Df_uvc.c88 static int usbclass_uvc_bind(struct usbdevclass_driver_s *driver, struct usbdev_s *dev);
89 static int usbclass_uvc_unbind(struct usbdevclass_driver_s *driver, struct usbdev_s *dev);
90 static int usbclass_uvc_setup(struct usbdevclass_driver_s *driver, struct usbdev_s *dev,
93 struct usbdev_s *dev);
2210 static void fuvc_source_free(struct usbdevclass_driver_s *driver, struct usbdev_s *dev) in fuvc_source_free()
2232 static int usbclass_uvc_bind(struct usbdevclass_driver_s *driver, struct usbdev_s *dev) in usbclass_uvc_bind()
2351 static int usbclass_uvc_unbind(struct usbdevclass_driver_s *driver, struct usbdev_s *dev) in usbclass_uvc_unbind()
2444 static int usbclass_uvc_set_alt(struct uvc_dev_s *fuvc, struct usbdev_s *dev, in usbclass_uvc_set_alt()
2515 static int usbclass_uvc_set_alt(struct uvc_dev_s *fuvc, struct usbdev_s *dev) in usbclass_uvc_set_alt()
2578 static int usbclass_uvc_setup(struct usbdevclass_driver_s *driver, struct usbdev_s *dev, in usbclass_uvc_setup()
[all …]
Df_dfu.h152 int usbdev_dfu_class_requests(const struct usbdev_s *dev,
Df_dfu.c950 int usbdev_dfu_class_requests(const struct usbdev_s *dev, in usbdev_dfu_class_requests()
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
Df_generic.c59 static int usbclass_generic_bind(struct usbdevclass_driver_s *driver, struct usbdev_s *dev);
60 static int usbclass_generic_unbind(struct usbdevclass_driver_s *driver, struct usbdev_s *dev);
61 static int usbclass_generic_setup(struct usbdevclass_driver_s *driver, struct usbdev_s *dev,
64 static void usbclass_generic_disconnect(struct usbdevclass_driver_s *driver, struct usbdev_s *dev);
500 struct usbdev_s *dev) in usbclass_generic_bind()
559 struct usbdev_s *dev) in usbclass_generic_unbind()
660 struct usbdev_s *dev, in usbclass_generic_setup()
754 struct usbdev_s *dev) in usbclass_generic_disconnect()
Df_config.c53 extern int composite_get_config_descriptor(struct usbdev_s *dev,
55 extern void modify_device_descriptor_byspeed(struct usbdev_s *dev, uint8_t *buf);
56 extern int usb_composite_setup(struct usbdevclass_driver_s *driver, struct usbdev_s *dev,
110 static int fconfig_submit_ctrlreq(struct usbdev_s *dev, struct usbdev_req_s *usb_req) in fconfig_submit_ctrlreq()
364 static int fconfig_composite_setup(struct usbdevclass_driver_s *driver, struct usbdev_s *dev, in fconfig_composite_setup()
/third_party/NuttX/drivers/usbdev/gadget/fconfig/include/
Df_generic.h159 struct usbdev_s *usbdev;