Searched refs:ctrlreq (Results 1 – 14 of 14) sorted by relevance
/third_party/NuttX/drivers/usbdev/gadget/ |
D | f_dfu.c | 535 static int dfu_get_status_for_req(struct usbdev_req_s *ctrlreq) in dfu_get_status_for_req() argument 537 struct dfu_getstatus_response_s *status = (struct dfu_getstatus_response_s *)ctrlreq->buf; in dfu_get_status_for_req() 564 static int dfu_get_state_for_req(struct usbdev_req_s *ctrlreq) in dfu_get_state_for_req() argument 566 uint8_t *state = ctrlreq->buf; in dfu_get_state_for_req() 573 static int dfu_dnload(const struct usb_device_request *ctrl, struct usbdev_req_s *ctrlreq) in dfu_dnload() argument 595 ctrlreq->callback = dfu_dnload_complete; in dfu_dnload() 600 static int dfu_upload(const struct usb_device_request *ctrl, struct usbdev_req_s *ctrlreq) in dfu_upload() argument 616 return usb_dfu_read(usb_dfu_get_entity(0), ctrlreq->buf, (int)ctrlreq->len, dev->seq_num); in dfu_upload() 619 static int dfu_app_idle_request(const struct usb_device_request *ctrl, struct usbdev_req_s *ctrlreq) in dfu_app_idle_request() argument 633 ret = dfu_get_status_for_req(ctrlreq); in dfu_app_idle_request() [all …]
|
D | dfu.c | 109 FAR struct usbdev_req_s *ctrlreq; /* Pointer to preallocated control request */ member 241 FAR struct usbdev_req_s *ctrlreq = priv->ctrlreq; in usbclass_setup() local 270 *(FAR uint8_t *)ctrlreq->buf = 0; in usbclass_setup() 276 ret = usbdev_dfu_class_requests(dev, ctrl, ctrlreq); in usbclass_setup() 285 ctrlreq->len = (len < ret) ? len : (uint32_t)ret; in usbclass_setup() 286 ctrlreq->flags = USBDEV_REQFLAGS_NULLPKT; in usbclass_setup() 287 ret = EP_SUBMIT(dev->ep0, ctrlreq); in usbclass_setup() 291 ctrlreq->result = OK; in usbclass_setup() 304 priv->ctrlreq = cdev->ctrlreq; in usbclass_bind() 305 if (priv->ctrlreq == NULL) in usbclass_bind() [all …]
|
D | rndis.c | 124 FAR struct usbdev_req_s *ctrlreq; /* Pointer to preallocated control request */ member 1208 static void rndis_handle_control_message(struct usbdev_ep_s *ep, struct usbdev_req_s *ctrlreq) in rndis_handle_control_message() argument 1210 FAR struct rndis_dev_s *priv = (struct rndis_dev_s *)ctrlreq->priv; in rndis_handle_control_message() 1212 (FAR struct rndis_command_header *)ctrlreq->buf; in rndis_handle_control_message() 1258 …ret = memcpy_s(&req, sizeof(struct rndis_query_msg), ctrlreq->buf, sizeof(struct rndis_query_msg)); in rndis_handle_control_message() 1371 (void)memcpy_s(req, USB_DWC_MAX_PACKET_SIZE, ctrlreq->buf, USB_DWC_MAX_PACKET_SIZE); in rndis_handle_control_message() 1697 priv->ctrlreq = cdev->ctrlreq; in usbclass_bind() 1698 if (priv->ctrlreq == NULL) in usbclass_bind() 1872 if (priv->ctrlreq != NULL) in usbclass_unbind() 1874 priv->ctrlreq = NULL; in usbclass_unbind() [all …]
|
D | composite.c | 192 composite_freereq(cdev->ctrlreq); in usb_composite_unbind() 193 cdev->ctrlreq = NULL; in usb_composite_unbind() 224 cdev->ctrlreq = composite_allocreq(USB_COMP_EP0_BUFSIZ); in usb_composite_bind() 225 if (cdev->ctrlreq == NULL) in usb_composite_bind() 230 dev->ep0->handle_req = cdev->ctrlreq; in usb_composite_bind() 231 cdev->ctrlreq->callback = composite_request_complete; in usb_composite_bind() 478 usb_req = usb_cdev->ctrlreq; in usb_composite_setup()
|
D | f_dfu.h | 154 struct usbdev_req_s *ctrlreq);
|
D | composite.h | 134 struct usbdev_req_s *ctrlreq; /* Allocated control request */ member
|
D | cdcacm.c | 112 struct usbdev_req_s *ctrlreq; /* Allocated control request */ member 1084 priv->ctrlreq = cdev->ctrlreq; in cdcacm_bind() 1085 if (priv->ctrlreq == NULL) in cdcacm_bind() 1398 req = priv->ctrlreq; in cdcacm_setup()
|
D | f_mass_storage.h | 253 struct usbdev_req_s ctrlreq; member
|
D | f_uac.h | 59 struct usbdev_req_s ctrlreq; /* control request */ member
|
D | f_uvc.h | 712 struct usbdev_req_s ctrlreq; /* control request */ member
|
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/ |
D | f_generic.c | 536 priv->ctrlreq = cdev->ctrlreq; in usbclass_generic_bind() 537 if (priv->ctrlreq == NULL) in usbclass_generic_bind()
|
D | usbd_generic_ep0.c | 500 struct usbdev_req_s *req = dev->ctrlreq; in generic_ep0_submit_sync() 586 struct usbdev_req_s *req = dev->ctrlreq; in generic_ep0_submit_wait() 999 ret = EP_CANCEL(dev->usbdev->ep0, dev->ctrlreq); in generic_ep0_handle_ioctl()
|
D | f_config.c | 382 struct usbdev_req_s *usb_req = usb_cdev->ctrlreq; in fconfig_composite_setup()
|
/third_party/NuttX/drivers/usbdev/gadget/fconfig/include/ |
D | f_generic.h | 184 struct usbdev_req_s *ctrlreq; member
|