Home
last modified time | relevance | path

Searched refs:devobj (Results 1 – 9 of 9) sorted by relevance

/third_party/FreeBSD/sys/dev/usb/implementation/
Dusb_init.c225 struct HdfDeviceObject *devobj = HdfRegisterUsbDevice(usb_fn_dev, "usbfn_cdcacm", "usbfn_cdcacm"); in composite_add() local
226 if (devobj == NULL) { in composite_add()
230 devobj = HdfRegisterUsbDevice(usb_fn_dev, "usbfn_cdcecm", "usbfn_cdcecm"); in composite_add()
231 if (devobj == NULL) { in composite_add()
/third_party/NuttX/drivers/usbdev/gadget/
Dusbd_audio.c52 struct composite_devobj_s *devobj; in get_uac() local
75 devobj = usbclass_devobj_get(&cdev->dev, DEV_UAC); in get_uac()
76 if (devobj == NULL) in get_uac()
81 drvr = devobj->dev; in get_uac()
Df_hid.c425 struct composite_devobj_s *devobj; in usbclass_hid_bind() local
447 devobj = usbclass_devobj_get(cdev, DEV_HID); in usbclass_hid_bind()
448 if (devobj == NULL) in usbclass_hid_bind()
452 devinfo = &devobj->compdesc.devinfo; in usbclass_hid_bind()
515 struct composite_devobj_s *devobj; in usbclass_hid_unbind() local
550 devobj = usbclass_devobj_get(cdev, DEV_HID); in usbclass_hid_unbind()
551 if (devobj == NULL) in usbclass_hid_unbind()
555 devinfo = &devobj->compdesc.devinfo; in usbclass_hid_unbind()
Df_uac.c637 struct composite_devobj_s *devobj; in usbclass_uac_bind() local
660 devobj = usbclass_devobj_get(cdev, DEV_UAC); in usbclass_uac_bind()
661 if (devobj == NULL) in usbclass_uac_bind()
665 devinfo = &devobj->compdesc.devinfo; in usbclass_uac_bind()
710 struct composite_devobj_s *devobj; in usbclass_uac_unbind() local
726 devobj = usbclass_devobj_get(cdev, DEV_UAC); in usbclass_uac_unbind()
727 if (devobj == NULL) in usbclass_uac_unbind()
731 devinfo = &devobj->compdesc.devinfo; in usbclass_uac_unbind()
Dcomposite.c397 struct composite_devobj_s *devobj; in composite_classsetup() local
428 devobj = &priv->device[i]; in composite_classsetup()
429 devinfo = &devobj->compdesc.devinfo; in composite_classsetup()
434 ret = CLASS_SETUP(devobj->dev, dev, ctrl, dataout, outlen); in composite_classsetup()
Df_uvc.c2239 struct composite_devobj_s *devobj; in usbclass_uvc_bind() local
2259 devobj = usbclass_devobj_get(cdev, DEV_UVC); in usbclass_uvc_bind()
2260 if (devobj == NULL) in usbclass_uvc_bind()
2264 devinfo = &devobj->compdesc.devinfo; in usbclass_uvc_bind()
2354 struct composite_devobj_s *devobj; in usbclass_uvc_unbind() local
2394 devobj = usbclass_devobj_get(cdev, DEV_UVC); in usbclass_uvc_unbind()
2395 if (devobj == NULL) in usbclass_uvc_unbind()
2400 devinfo = &devobj->compdesc.devinfo; in usbclass_uvc_unbind()
Dcdcacm.c1041 FAR struct composite_devobj_s *devobj; in cdcacm_bind() local
1091 devobj = usbclass_devobj_get(cdev, DEV_SERIAL); in cdcacm_bind()
1092 if (devobj == NULL) in cdcacm_bind()
1097 devinfo = &devobj->compdesc.devinfo; in cdcacm_bind()
Drndis.c1671 struct composite_devobj_s *devobj; in usbclass_bind() local
1688 devobj = usbclass_devobj_get(cdev, DEV_ETHERNET); in usbclass_bind()
1689 if (devobj == NULL) in usbclass_bind()
1693 devinfo = &devobj->compdesc.devinfo; in usbclass_bind()
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
Df_generic.c505 struct composite_devobj_s *devobj = NULL; in usbclass_generic_bind() local
527 devobj = usbclass_devobj_get(cdev, priv->minor); in usbclass_generic_bind()
528 if (devobj == NULL) in usbclass_generic_bind()
533 priv->devinfo = &devobj->compdesc.devinfo; in usbclass_generic_bind()