Searched refs:usb_cdev (Results 1 – 2 of 2) sorted by relevance
/third_party/NuttX/drivers/usbdev/gadget/ |
D | composite.c | 458 struct composite_dev_s *usb_cdev; in usb_composite_setup() local 468 usb_cdev = driv->dev; in usb_composite_setup() 469 if (usb_cdev == NULL) in usb_composite_setup() 478 usb_req = usb_cdev->ctrlreq; in usb_composite_setup() 497 composite_mkdevdesc(usb_cdev, usb_req->buf); in usb_composite_setup() 504 value = composite_mkcfgdesc(usb_cdev, usb_req->buf); in usb_composite_setup() 515 value = composite_mkstrdesc(usb_cdev, (w_value & 0xff), w_Index, usb_req->buf); in usb_composite_setup() 548 for (i = 0; i < usb_cdev->ndevices; i++) in usb_composite_setup() 550 ret = CLASS_SETUP(usb_cdev->device[i].dev, dev, ctrl, dataout, outlen); in usb_composite_setup() 564 usb_cdev->config = w_value; in usb_composite_setup() [all …]
|
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/ |
D | f_config.c | 381 struct composite_dev_s *usb_cdev = driv->dev; in fconfig_composite_setup() local 382 struct usbdev_req_s *usb_req = usb_cdev->ctrlreq; in fconfig_composite_setup() 390 fconfig_mkdevdesc(usb_cdev, usb_req->buf); in fconfig_composite_setup() 396 value = fconfig_mkcfgdesc(usb_cdev, usb_req->buf); in fconfig_composite_setup() 410 value = fconfig_mkstrdesc(usb_cdev, w_Index, strid, usb_req->buf); in fconfig_composite_setup()
|