Home
last modified time | relevance | path

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

12

/external/u-boot/include/linux/usb/
Dgadget.h84 struct usb_request { struct
95 struct usb_request *req); argument
117 struct usb_request *(*alloc_request) (struct usb_ep *ep, argument
119 void (*free_request) (struct usb_ep *ep, struct usb_request *req);
121 int (*queue) (struct usb_ep *ep, struct usb_request *req,
123 int (*dequeue) (struct usb_ep *ep, struct usb_request *req);
246 static inline struct usb_request *usb_ep_alloc_request(struct usb_ep *ep, in usb_ep_alloc_request()
262 struct usb_request *req) in usb_ep_free_request()
322 struct usb_request *req, gfp_t gfp_flags) in usb_ep_queue()
341 static inline int usb_ep_dequeue(struct usb_ep *ep, struct usb_request *req) in usb_ep_dequeue()
[all …]
Dcomposite.h322 struct usb_request *req;
/external/u-boot/drivers/usb/musb-new/
Dmusb_gadget.h28 struct usb_request request;
37 static inline struct musb_request *to_musb_request(struct usb_request *req) in to_musb_request()
42 extern struct usb_request *
44 extern void musb_free_request(struct usb_ep *ep, struct usb_request *req);
98 extern void musb_g_giveback(struct musb_ep *, struct usb_request *, int);
Dmusb_gadget_ep0.c177 static void musb_g_ep0_giveback(struct musb *musb, struct usb_request *req) in musb_g_ep0_giveback()
470 struct usb_request *req; in ep0_rxstate()
525 struct usb_request *request; in ep0_txstate()
909 musb_g_ep0_queue(struct usb_ep *e, struct usb_request *r, gfp_t gfp_flags) in musb_g_ep0_queue()
990 static int musb_g_ep0_dequeue(struct usb_ep *ep, struct usb_request *req) in musb_g_ep0_dequeue()
Dmusb_gadget.c173 struct usb_request *request, in musb_g_giveback()
318 struct usb_request *request; in txstate()
489 struct usb_request *request; in musb_g_tx()
637 struct usb_request *request = &req->request; in rxstate()
908 struct usb_request *request; in musb_g_rx()
1262 struct usb_request *musb_alloc_request(struct usb_ep *ep, gfp_t gfp_flags) in musb_alloc_request()
1285 void musb_free_request(struct usb_ep *ep, struct usb_request *req) in musb_free_request()
1315 static int musb_gadget_queue(struct usb_ep *ep, struct usb_request *req, in musb_gadget_queue()
1370 static int musb_gadget_dequeue(struct usb_ep *ep, struct usb_request *request) in musb_gadget_dequeue()
/external/u-boot/drivers/usb/gadget/
Df_dfu.c51 struct usb_request *);
155 static void dnload_request_complete(struct usb_ep *ep, struct usb_request *req) in dnload_request_complete()
168 static void dnload_request_flush(struct usb_ep *ep, struct usb_request *req) in dnload_request_flush()
180 static int handle_getstatus(struct usb_request *req) in handle_getstatus()
216 static int handle_getstate(struct usb_request *req) in handle_getstate()
239 static int handle_upload(struct usb_request *req, u16 len) in handle_upload()
250 struct usb_request *req = cdev->req; in handle_dnload()
266 struct usb_request *req) in state_app_idle()
293 struct usb_request *req) in state_app_detach()
316 struct usb_request *req) in state_dfu_idle()
[all …]
Df_fastboot.c43 struct usb_request *in_req, *out_req;
138 static void rx_handler_command(struct usb_ep *ep, struct usb_request *req);
140 static void fastboot_complete(struct usb_ep *ep, struct usb_request *req) in fastboot_complete()
218 static struct usb_request *fastboot_start_ep(struct usb_ep *ep) in fastboot_start_ep()
220 struct usb_request *req; in fastboot_start_ep()
324 struct usb_request *in_req = fastboot_func->in_req; in fastboot_tx_write()
343 static void compl_do_reset(struct usb_ep *ep, struct usb_request *req) in compl_do_reset()
372 static void rx_handler_dl_image(struct usb_ep *ep, struct usb_request *req) in rx_handler_dl_image()
408 static void do_exit_on_complete(struct usb_ep *ep, struct usb_request *req) in do_exit_on_complete()
413 static void do_bootm_on_complete(struct usb_ep *ep, struct usb_request *req) in do_bootm_on_complete()
[all …]
Df_rockusb.c99 static void rx_handler_command(struct usb_ep *ep, struct usb_request *req);
137 static void rockusb_complete(struct usb_ep *ep, struct usb_request *req) in rockusb_complete()
221 static struct usb_request *rockusb_start_ep(struct usb_ep *ep) in rockusb_start_ep()
223 struct usb_request *req; in rockusb_start_ep()
326 struct usb_request *in_req = rockusb_func->in_req; in rockusb_tx_write()
411 static void rx_handler_dl_image(struct usb_ep *ep, struct usb_request *req) in rx_handler_dl_image()
484 static void cb_test_unit_ready(struct usb_ep *ep, struct usb_request *req) in cb_test_unit_ready()
495 static void cb_read_storage_id(struct usb_ep *ep, struct usb_request *req) in cb_read_storage_id()
508 static void cb_write_lba(struct usb_ep *ep, struct usb_request *req) in cb_write_lba()
540 static void compl_do_reset(struct usb_ep *ep, struct usb_request *req) in compl_do_reset()
[all …]
Df_sdp.c109 struct usb_request *req;
113 struct usb_request *in_req;
237 static void sdp_rx_command_complete(struct usb_ep *ep, struct usb_request *req) in sdp_rx_command_complete()
321 static void sdp_rx_data_complete(struct usb_ep *ep, struct usb_request *req) in sdp_rx_data_complete()
372 static void sdp_tx_complete(struct usb_ep *ep, struct usb_request *req) in sdp_tx_complete()
412 struct usb_request *req = f->config->cdev->req; in sdp_setup()
499 static struct usb_request *alloc_ep_req(struct usb_ep *ep, unsigned length) in alloc_ep_req()
501 struct usb_request *req; in alloc_ep_req()
518 static struct usb_request *sdp_start_ep(struct usb_ep *ep) in sdp_start_ep()
520 struct usb_request *req; in sdp_start_ep()
Dci_udc.c88 struct usb_request *req, gfp_t gfp_flags);
89 static int ci_ep_dequeue(struct usb_ep *ep, struct usb_request *req);
90 static struct usb_request *
92 static void ci_ep_free_request(struct usb_ep *ep, struct usb_request *_req);
258 static struct usb_request *
283 static void ci_ep_free_request(struct usb_ep *ep, struct usb_request *req) in ci_ep_free_request()
358 struct usb_request *req = &ci_req->req; in ci_bounce()
403 struct usb_request *req = &ci_req->req; in ci_debounce()
527 static int ci_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) in ci_ep_dequeue()
552 struct usb_request *req, gfp_t gfp_flags) in ci_ep_queue()
[all …]
Dether.c106 struct usb_request *req; /* for control responses */
107 struct usb_request *stat_req; /* for cdc & rndis status */
117 struct usb_request *tx_req, *rx_req;
1130 static void eth_status_complete(struct usb_ep *ep, struct usb_request *req) in eth_status_complete()
1169 struct usb_request *req = dev->stat_req; in issue_start_status()
1210 static void eth_setup_complete(struct usb_ep *ep, struct usb_request *req) in eth_setup_complete()
1219 static void rndis_response_complete(struct usb_ep *ep, struct usb_request *req) in rndis_response_complete()
1228 static void rndis_command_complete(struct usb_ep *ep, struct usb_request *req) in rndis_command_complete()
1254 struct usb_request *req = dev->req; in eth_setup()
1513 static void rx_complete(struct usb_ep *ep, struct usb_request *req);
[all …]
Df_thor.h103 struct usb_request *req; /* EP0 -> control responses */
107 struct usb_request *in_req, *out_req;
Ddwc2_udc_otg.c87 static struct usb_request *dwc2_alloc_request(struct usb_ep *ep,
89 static void dwc2_free_request(struct usb_ep *ep, struct usb_request *);
91 static int dwc2_queue(struct usb_ep *ep, struct usb_request *, gfp_t gfp_flags);
92 static int dwc2_dequeue(struct usb_ep *ep, struct usb_request *);
635 static struct usb_request *dwc2_alloc_request(struct usb_ep *ep, in dwc2_alloc_request()
652 static void dwc2_free_request(struct usb_ep *ep, struct usb_request *_req) in dwc2_free_request()
664 static int dwc2_dequeue(struct usb_ep *_ep, struct usb_request *_req) in dwc2_dequeue()
Df_thor.c516 static struct usb_request *alloc_ep_req(struct usb_ep *ep, unsigned length) in alloc_ep_req()
518 struct usb_request *req; in alloc_ep_req()
594 static void thor_rx_tx_complete(struct usb_ep *ep, struct usb_request *req) in thor_rx_tx_complete()
623 static void thor_setup_complete(struct usb_ep *ep, struct usb_request *req) in thor_setup_complete()
634 struct usb_request *req = dev->req; in thor_func_setup()
739 static void free_ep_req(struct usb_ep *ep, struct usb_request *req) in free_ep_req()
903 struct usb_request *req; in thor_eps_setup()
Datmel_usba_udc.h272 struct usb_request req;
307 static inline struct usba_request *to_usba_req(struct usb_request *req) in to_usba_req()
Dfotg210.c43 struct usb_request req;
561 static struct usb_request *fotg210_ep_alloc_request( in fotg210_ep_alloc_request()
574 struct usb_ep *_ep, struct usb_request *_req) in fotg210_ep_free_request()
583 struct usb_ep *_ep, struct usb_request *_req, gfp_t gfp_flags) in fotg210_ep_queue()
642 static int fotg210_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) in fotg210_ep_dequeue()
Ddwc2_udc_otg_priv.h72 struct usb_request req;
Dstorage_common.c338 struct usb_request *inreq;
340 struct usb_request *outreq;
Dpxa25x_udc.h73 struct usb_request req;
Dat91_udc.h143 struct usb_request req;
Dci_udc.h81 struct usb_request req;
/external/u-boot/arch/arm/include/asm/arch-rockchip/
Df_rockusb.h76 void (*cb)(struct usb_ep *ep, struct usb_request *req);
116 struct usb_request *in_req, *out_req;
/external/u-boot/drivers/usb/gadget/udc/
Dudc-core.c49 struct usb_request *req, int is_in) in usb_gadget_map_request()
62 struct usb_request *req, int is_in) in usb_gadget_unmap_request()
82 struct usb_request *req) in usb_gadget_giveback_request()
/external/u-boot/drivers/usb/dwc3/
Dgadget.h86 int dwc3_gadget_ep0_queue(struct usb_ep *ep, struct usb_request *request,
Dep0.c212 int dwc3_gadget_ep0_queue(struct usb_ep *ep, struct usb_request *request, in dwc3_gadget_ep0_queue()
322 static void dwc3_ep0_status_cmpl(struct usb_ep *ep, struct usb_request *req) in dwc3_ep0_status_cmpl()
590 static void dwc3_ep0_set_sel_cmpl(struct usb_ep *ep, struct usb_request *req) in dwc3_ep0_set_sel_cmpl()
770 struct usb_request *ur; in dwc3_ep0_complete_data()

12