Home
last modified time | relevance | path

Searched refs:drvr (Results 1 – 20 of 20) sorted by relevance

/third_party/NuttX/drivers/usbdev/gadget/
Dusbdev.h166 #define CLASS_BIND(drvr, dev) (drvr)->ops->bind(drvr, dev) argument
170 #define CLASS_UNBIND(drvr, dev) (drvr)->ops->unbind(drvr, dev) argument
174 #define CLASS_DISCONNECT(drvr, dev) (drvr)->ops->disconnect(drvr, dev) argument
178 #define CLASS_SETUP(drvr, dev, ctrl, dataout, outlen) \ argument
179 (drvr)->ops->setup(drvr, dev, ctrl, dataout, outlen)
183 #define CLASS_SUSPEND(drvr, dev) \ argument
184 do { if ((drvr)->ops->suspend) (drvr)->ops->suspend(drvr, dev); } while (0)
188 #define CLASS_RESUME(drvr, dev) \ argument
189 do { if ((drvr)->ops->resume) (drvr)->ops->resume(drvr, dev); } while (0)
Df_hid.c422 struct hid_driver_s *drvr; in usbclass_hid_bind() local
435 drvr = (struct hid_driver_s *)driver; in usbclass_hid_bind()
436 hid = drvr->dev; in usbclass_hid_bind()
517 struct hid_driver_s *drvr; in usbclass_hid_unbind() local
525 drvr = (struct hid_driver_s *)driver; in usbclass_hid_unbind()
526 hid = drvr->dev; in usbclass_hid_unbind()
564 struct hid_driver_s *drvr; in usbclass_hid_set_endpoint() local
568 drvr = (struct hid_driver_s *)driver; in usbclass_hid_set_endpoint()
569 hid = drvr->dev; in usbclass_hid_set_endpoint()
638 struct hid_driver_s *drvr; in usbclass_hid_setup() local
[all …]
Df_uac.c617 struct uac_driver_s *drvr; in fuac_source_free() local
620 drvr = (struct uac_driver_s *)driver; in fuac_source_free()
621 uac = drvr->dev; in fuac_source_free()
634 struct uac_driver_s *drvr; in usbclass_uac_bind() local
646 drvr = (struct uac_driver_s *)driver; in usbclass_uac_bind()
647 uac = drvr->dev; in usbclass_uac_bind()
761 struct uac_driver_s *drvr; in usbclass_uac_setup() local
772 drvr = (struct uac_driver_s *)driver; in usbclass_uac_setup()
773 uac = drvr->dev; in usbclass_uac_setup()
959 struct uac_driver_s *drvr; in uac_classobject() local
[all …]
Dcomposite.c742 usb_cdev->drvr.dev = &usb_cdev->dev; in composite_attach()
746 ret = usbd_gadget_attach_driver(parnet_conext, &usb_cdev->drvr.drvr); in composite_attach()
775 ret = usbd_gadget_detach_driver(parnet_conext, &usb_cdev->drvr.drvr); in composite_detach()
815 struct composite_driver_s *drvr; in composite_initialize() local
822 drvr = &softc->drvr; in composite_initialize()
850 drvr->drvr.speed = USB_SPEED_HIGH; in composite_initialize()
851 drvr->drvr.ops = &g_composite_driverops; in composite_initialize()
852 drvr->dev = priv; in composite_initialize()
Dusbd_audio.c53 struct usbdevclass_driver_s *drvr; in get_uac() local
81 drvr = devobj->dev; in get_uac()
82 if (drvr == NULL) in get_uac()
87 driver = (struct uac_driver_s *)drvr; in get_uac()
89 return container_of(driver, struct uac_softc, drvr); in get_uac()
Dcdcacm.c133 struct usbdevclass_driver_s drvr; member
142 struct cdcacm_driver_s drvr; member
1797 FAR struct cdcacm_driver_s *drvr; in cdcacm_classobject() local
1813 drvr = &alloc->drvr; in cdcacm_classobject()
1829 drvr->drvr.speed = USB_SPEED_HIGH; in cdcacm_classobject()
1830 drvr->drvr.ops = &g_driver_ops; in cdcacm_classobject()
1831 drvr->dev = priv; in cdcacm_classobject()
1832 *classdev = &drvr->drvr; in cdcacm_classobject()
1862 FAR struct cdcacm_driver_s *drvr = (struct cdcacm_driver_s *)devclass_drvr; in cdcacm_uninitialize() local
1865 if (drvr == NULL) in cdcacm_uninitialize()
[all …]
Drndis.c162 struct usbdevclass_driver_s drvr; member
171 struct rndis_driver_s drvr; member
2352 FAR struct rndis_driver_s *drvr; in rndis_classobject() local
2368 drvr = &alloc->drvr; in rndis_classobject()
2381 drvr->drvr.speed = USB_SPEED_HIGH; in rndis_classobject()
2382 drvr->drvr.ops = &g_eth_driverops; in rndis_classobject()
2383 drvr->dev = priv; in rndis_classobject()
2384 *devclass_drvr = &drvr->drvr; in rndis_classobject()
2391 struct rndis_driver_s *drvr = (struct rndis_driver_s *)devclass_drvr; in rndis_uninitialize() local
2395 if (drvr == NULL) in rndis_uninitialize()
[all …]
Df_uvc.c2212 struct uvc_driver_s *drvr = (struct uvc_driver_s *)driver; in fuvc_source_free() local
2213 struct uvc_dev_s *fuvc = drvr->dev; in fuvc_source_free()
2356 struct uvc_driver_s *drvr; in usbclass_uvc_unbind() local
2366 drvr = (struct uvc_driver_s *)driver; in usbclass_uvc_unbind()
2367 fuvc = drvr->dev; in usbclass_uvc_unbind()
2586 struct uvc_driver_s *drvr; in usbclass_uvc_setup() local
2599 drvr = (struct uvc_driver_s *)driver; in usbclass_uvc_setup()
2600 fuvc = drvr->dev; in usbclass_uvc_setup()
2685 struct uvc_driver_s *drvr; in usbclass_uvc_disconnect() local
2693 drvr = (struct uvc_driver_s *)driver; in usbclass_uvc_disconnect()
[all …]
Df_mass_storage.c1712 struct mass_driver_s *drvr; in usbclass_mass_setup() local
1728 drvr = (struct mass_driver_s *)driver; in usbclass_mass_setup()
1729 mass = drvr->dev; in usbclass_mass_setup()
1782 struct mass_driver_s *drvr; in usbclass_mass_disconnect() local
1790 drvr = (struct mass_driver_s *)driver; in usbclass_mass_disconnect()
1791 mass = drvr->dev; in usbclass_mass_disconnect()
1927 struct mass_driver_s *drvr; in mass_classobject() local
1944 drvr = &mass_s->drvr; in mass_classobject()
1953 drvr->drvr.speed = USB_SPEED_HIGH; in mass_classobject()
1954 drvr->drvr.ops = &g_mass_driverops; in mass_classobject()
[all …]
Ddfu.c108 struct usbdevclass_driver_s drvr; member
374 *classdev = &alloc->drvr; in usbclass_classobject()
376 alloc->drvr.speed = USB_SPEED_FULL; in usbclass_classobject()
377 alloc->drvr.ops = &g_dfu_driverops; in usbclass_classobject()
Df_hid.h90 struct usbdevclass_driver_s drvr; member
97 struct hid_driver_s drvr; member
Dcomposite.h146 struct usbdevclass_driver_s drvr; member
155 struct composite_driver_s drvr; member
Df_mass_storage.h261 struct usbdevclass_driver_s drvr; member
268 struct mass_driver_s drvr; member
Df_uac.h77 struct usbdevclass_driver_s drvr; member
86 struct uac_driver_s drvr; member
Df_uvc.h740 struct usbdevclass_driver_s drvr; member
749 struct uvc_driver_s drvr; member
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
Df_generic.c502 struct generic_driver_s *drvr = (struct generic_driver_s *)driver; in usbclass_generic_bind() local
508 if (drvr == NULL || dev == NULL) in usbclass_generic_bind()
515 priv = drvr->dev; in usbclass_generic_bind()
561 struct generic_driver_s *drvr = NULL; in usbclass_generic_unbind() local
570 drvr = (struct generic_driver_s *)driver; in usbclass_generic_unbind()
571 priv = drvr->dev; in usbclass_generic_unbind()
667 struct generic_driver_s *drvr = NULL; in usbclass_generic_setup() local
677 drvr = (struct generic_driver_s *)driver; in usbclass_generic_setup()
678 priv = drvr->dev; in usbclass_generic_setup()
789 struct generic_driver_s *drvr = (struct generic_driver_s *)device->dev; in generic_mkcfgdesc() local
[all …]
Df_config.c323 struct generic_driver_s *drvr = (struct generic_driver_s *)priv->device[i].dev; in fconfig_mkcfgdesc() local
324 struct generic_dev_s *dev = drvr->dev; in fconfig_mkcfgdesc()
332 dprintf("%s,%d, speed = %d\n", __func__, __LINE__, drvr->drvr.speed); in fconfig_mkcfgdesc()
334 if (drvr->drvr.speed == USB_SPEED_HIGH) in fconfig_mkcfgdesc()
339 else if (drvr->drvr.speed == USB_SPEED_SUPER) in fconfig_mkcfgdesc()
431 struct composite_driver_s *drvr = &softc->drvr; in fconfig_do_composite_initialize() local
440 drvr->drvr.ops->setup = fconfig_composite_setup; in fconfig_do_composite_initialize()
Dusbd_config.c819 ret = usbd_gadget_attach_driver(com_s->parnet_conext, &com_s->drvr.drvr); in fconfig_enable_udc()
/third_party/NuttX/drivers/usbdev/gadget/fconfig/include/
Df_generic.h160 struct generic_driver_s *drvr; member
223 struct usbdevclass_driver_s drvr; member
230 struct generic_driver_s drvr; member
/third_party/NuttX/
DReleaseNotes1747 + int (*wait)(FAR struct usbhost_driver_s *drvr, bool connected);
1749 + int (*enumerate)(FAR struct usbhost_driver_s *drvr);