Home
last modified time | relevance | path

Searched refs:usbdev_req_s (Results 1 – 25 of 25) sorted by relevance

/third_party/NuttX/drivers/usbdev/gadget/
Df_dfu.c287 void get_flash_state(struct usbdev_req_s *req) in get_flash_state()
464 static void dfu_dnload_complete(struct usbdev_ep_s *ep, struct usbdev_req_s *req) in dfu_dnload_complete()
535 static int dfu_get_status_for_req(struct usbdev_req_s *ctrlreq) 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()
573 static int dfu_dnload(const struct usb_device_request *ctrl, struct usbdev_req_s *ctrlreq) in dfu_dnload()
600 static int dfu_upload(const struct usb_device_request *ctrl, struct usbdev_req_s *ctrlreq) 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()
651 static int dfu_app_detach_request(const struct usb_device_request *ctrl, struct usbdev_req_s *ctrlr… in dfu_app_detach_request()
676 static int dfu_idle_request(const struct usb_device_request *ctrl, struct usbdev_req_s *ctrlreq) in dfu_idle_request()
720 static int dfu_dnload_sync_request(const struct usb_device_request *ctrl, struct usbdev_req_s *ctrl… in dfu_dnload_sync_request()
[all …]
Drndis.c124 FAR struct usbdev_req_s *ctrlreq; /* Pointer to preallocated control request */
125 FAR struct usbdev_req_s *epintin_req; /* Pointer to preallocated interrupt in endpoint request */
126 FAR struct usbdev_req_s *rdreq; /* Pointer to Preallocated control endpoint read request */
139 …FAR struct usbdev_req_s *net_req; /* Pointer to request whose buffer is assigned to network */
140 FAR struct usbdev_req_s *rx_req; /* Pointer request container that holds RX buffer */
208 static FAR struct usbdev_req_s *usbclass_allocreq(FAR struct usbdev_ep_s *ep,
211 FAR struct usbdev_req_s *req);
613 static FAR struct usbdev_req_s *rndis_allocwrreq(FAR struct rndis_dev_s *priv) in rndis_allocwrreq()
615 struct usbdev_req_s *req; in rndis_allocwrreq()
664 FAR struct usbdev_req_s *req) in rndis_freewrreq()
[all …]
Dcdcacm.c79 struct usbdev_req_s *req; /* The contained request */
87 struct usbdev_req_s *req; /* The contained request */
112 struct usbdev_req_s *ctrlreq; /* Allocated control request */
181 static struct usbdev_req_s *cdcacm_allocreq(FAR struct usbdev_ep_s *ep,
184 FAR struct usbdev_req_s *req);
202 FAR struct usbdev_req_s *req);
204 FAR struct usbdev_req_s *req);
350 FAR struct usbdev_req_s *req; in cdcacm_sndpacket()
436 struct usbdev_req_s *req; in cdcacm_fill_rdrequest()
489 FAR struct usbdev_req_s *req; in cdcacm_recvpacket()
[all …]
Dusbdev.h253 struct usbdev_req_s struct
263 void (*callback)(struct usbdev_ep_s *ep, struct usbdev_req_s *req); argument
289 struct usbdev_req_s *(*allocreq)(FAR struct usbdev_ep_s *ep); argument
290 void (*freereq)(struct usbdev_ep_s *ep, struct usbdev_req_s *req);
299 int (*submit)(struct usbdev_ep_s *ep, struct usbdev_req_s *req);
300 int (*cancel)(struct usbdev_ep_s *ep, struct usbdev_req_s *req);
318 struct usbdev_req_s *handle_req;
Df_uac.c455 static void fuac_request_complete(struct usbdev_ep_s *ep, struct usbdev_req_s *req) in fuac_request_complete()
502 struct usbdev_req_s *req) in fuac_output_request_complete()
508 void fuac_input_req_complete(struct usbdev_ep_s *ep, struct usbdev_req_s *req) in fuac_input_req_complete()
512 struct usbdev_req_s *req_temp = &uac->inputreq; in fuac_input_req_complete()
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()
676 (void)memset_s(&(uac->outputreq), sizeof(struct usbdev_req_s), 0, sizeof(struct usbdev_req_s)); in usbclass_uac_bind()
691 (void)memset_s(&uac->inputreq, sizeof(struct usbdev_req_s), 0, sizeof(struct usbdev_req_s)); in usbclass_uac_bind()
762 struct usbdev_req_s *req; in usbclass_uac_setup()
Dcomposite.c120 void composite_request_complete(struct usbdev_ep_s *ep, struct usbdev_req_s *req) in composite_request_complete()
126 static struct usbdev_req_s *composite_allocreq(uint16_t len) in composite_allocreq()
129 struct usbdev_req_s *req = zalloc(sizeof(struct usbdev_req_s)); in composite_allocreq()
145 static void composite_freereq(struct usbdev_req_s *req) in composite_freereq()
255 static int modify_config_descriptor_byspeed(struct usbdev_s *dev, struct usbdev_req_s *req) in modify_config_descriptor_byspeed()
336 struct usbdev_req_s *req, unsigned len) in composite_get_config_descriptor()
444 struct usbdev_req_s *req) in composite_setup_complete()
459 struct usbdev_req_s *usb_req; in usb_composite_setup()
Df_uvc.c1406 static void fuvc_vs_req_complete(struct usbdev_ep_s *ep, struct usbdev_req_s *req);
1410 struct usbdev_req_s *req; in fuvc_transfer_initiate()
1476 struct usbdev_req_s *req, in fuvc_streaming_set()
1582 static void fuvc_request_complete(struct usbdev_ep_s *ep, struct usbdev_req_s *req) in fuvc_request_complete()
1611 static void fuvc_vc_request_complete(struct usbdev_ep_s *ep, struct usbdev_req_s *req) in fuvc_vc_request_complete()
1620 struct usbdev_req_s *req) in fuvc_vs_req_complete_sub()
1668 static void fuvc_vs_req_complete(struct usbdev_ep_s *ep, struct usbdev_req_s *req) in fuvc_vs_req_complete()
1708 static void fuvc_vs_req_complete(struct usbdev_ep_s *ep, struct usbdev_req_s *req) in fuvc_vs_req_complete()
1844 static void fuvc_control_unit_callback(struct usbdev_ep_s *ep, struct usbdev_req_s *req) in fuvc_control_unit_callback()
1861 struct usbdev_req_s *req, in fuvc_handle_camera_control()
[all …]
Df_hid.c327 static void fhid_output_request_complete(struct usbdev_ep_s *ep, struct usbdev_req_s *req) in fhid_output_request_complete()
368 static void fhid_input_req_complete(struct usbdev_ep_s *ep, struct usbdev_req_s *req) in fhid_input_req_complete()
462 (void)memset_s(&(hid->outputreq), sizeof(struct usbdev_req_s), 0, sizeof(struct usbdev_req_s)); in usbclass_hid_bind()
489 (void)memset_s(&hid->inputreq, sizeof(struct usbdev_req_s), 0, sizeof(struct usbdev_req_s)); in usbclass_hid_bind()
563 struct usbdev_req_s *req; in usbclass_hid_set_endpoint()
618 struct usbdev_req_s *req = dev->ep0->handle_req; in usbclass_hid_get_report()
639 struct usbdev_req_s *req; in usbclass_hid_setup()
Df_uac.h59 struct usbdev_req_s ctrlreq; /* control request */
60 struct usbdev_req_s outputreq; /* Audio Control request */
61 struct usbdev_req_s inputreq; /* Audio Streaming request */
Df_hid.h73 struct usbdev_req_s outputreq; /* interrupt output report */
74 struct usbdev_req_s inputreq; /* HID report request */
Df_dfu.h154 struct usbdev_req_s *ctrlreq);
160 void get_flash_state(struct usbdev_req_s *req);
Ddfu.c109 FAR struct usbdev_req_s *ctrlreq; /* Pointer to preallocated control request */
183 FAR struct usbdev_req_s *req) in usbclass_ep0incomplete()
241 FAR struct usbdev_req_s *ctrlreq = priv->ctrlreq; in usbclass_setup()
Df_mass_storage.h253 struct usbdev_req_s ctrlreq;
254 struct usbdev_req_s bulkreq;
Df_ether.h97 extern void eth_rx(struct los_eth_driver *sc, const struct usbdev_req_s *req);
Df_uvc.h712 struct usbdev_req_s ctrlreq; /* control request */
713 struct usbdev_req_s vc_ctrlreq; /* Video Control request */
714 struct usbdev_req_s streamreq; /* Video Streaming request */
Dcomposite.h134 struct usbdev_req_s *ctrlreq; /* Allocated control request */
Df_mass_storage.c312 struct usbdev_req_s *req) in fmass_handle_bulkin_callback()
327 struct usbdev_req_s *req) in fmass_handle_bulkout_callback()
342 struct usbdev_req_s *req) in fmass_bulkin_request()
350 struct usbdev_req_s *req) in fmass_bulkout_request()
1199 struct usbdev_req_s *req; in fmass_set_config()
1716 struct usbdev_req_s *req; in usbclass_mass_setup()
Dusbd_audio.c194 struct usbdev_req_s *req = &fuac->inputreq; in uac_send_data_sub()
Dusbd_hid.c187 struct usbdev_req_s *req; in hid_send_data_sub()
Df_ether.c225 void eth_rx(struct los_eth_driver *sc, const struct usbdev_req_s *req) in eth_rx()
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
Df_config.c54 struct usbdev_req_s *req, unsigned len);
101 struct usbdev_req_s *req) in fconfig_setup_complete()
110 static int fconfig_submit_ctrlreq(struct usbdev_s *dev, struct usbdev_req_s *usb_req) in fconfig_submit_ctrlreq()
382 struct usbdev_req_s *usb_req = usb_cdev->ctrlreq; in fconfig_composite_setup()
Dusbd_generic_epfile.c55 static void generic_epfile_req_sync_complete(struct usbdev_ep_s *ep, struct usbdev_req_s *req) in generic_epfile_req_sync_complete()
75 struct usbdev_req_s *req = epfile->ep->req; in generic_epfile_submit_sync()
128 static void generic_epfile_req_complete(struct usbdev_ep_s *ep, struct usbdev_req_s *req) in generic_epfile_req_complete()
166 struct usbdev_req_s *req; in generic_epfile_submit_request()
Dusbd_generic_ep0.c479 static void generic_ep0_req_sync_complete(struct usbdev_ep_s *ep, struct usbdev_req_s *req) in generic_ep0_req_sync_complete()
500 struct usbdev_req_s *req = dev->ctrlreq; in generic_ep0_submit_sync()
540 static void generic_ep0_complete(struct usbdev_ep_s *ep, struct usbdev_req_s *req) in generic_ep0_complete()
586 struct usbdev_req_s *req = dev->ctrlreq; in generic_ep0_submit_wait()
Df_generic.c437 struct usbdev_req_s *req = NULL; in generic_eps_alloc()
/third_party/NuttX/drivers/usbdev/gadget/fconfig/include/
Df_generic.h132 struct usbdev_req_s *req;
184 struct usbdev_req_s *ctrlreq;