Home
last modified time | relevance | path

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

1234567

/openbmc/linux/include/linux/usb/
H A Dgadget.h99 struct usb_request { struct
116 struct usb_request *req); argument
141 struct usb_request *(*alloc_request) (struct usb_ep *ep, argument
271 struct usb_request *req) in usb_ep_free_request()
887 struct usb_request *req, int is_in);
889 struct usb_request *req, int is_in);
892 struct usb_request *req, int is_in);
894 struct usb_request *req, int is_in);
902 struct usb_request *req, int is_in) { } in usb_gadget_unmap_request_by_dev()
904 struct usb_request *req, int is_in) { } in usb_gadget_unmap_request()
[all …]
/openbmc/linux/drivers/usb/gadget/function/
H A Dtcm.h93 struct usb_request *req_in;
94 struct usb_request *req_out;
95 struct usb_request *req_status;
99 struct usb_request *req;
104 struct usb_request *req;
131 struct usb_request *bot_req_in;
132 struct usb_request *bot_req_out;
H A Duvc.h26 struct usb_request;
78 struct usb_request *req;
111 void (*encode) (struct usb_request *req, struct uvc_video *video,
151 struct usb_request *control_req;
H A Df_printer.c235 static struct usb_request *
238 struct usb_request *req; in printer_req_alloc()
403 struct usb_request, list); in setup_rx_reqs()
437 struct usb_request *req; in printer_read()
507 struct usb_request, list); in printer_read()
589 struct usb_request *req; in printer_write()
908 struct usb_request *req; in printer_soft_reset()
939 struct usb_request, list); in printer_soft_reset()
1087 struct usb_request *req; in printer_func_bind()
1432 struct usb_request *req; in printer_func_unbind()
[all …]
H A Du_serial.c93 struct usb_request *req;
165 struct usb_request *
168 struct usb_request *req; in gs_alloc_req()
247 struct usb_request *req; in gs_start_tx()
312 struct usb_request *req; in gs_start_rx()
373 struct usb_request *req; in gs_rx_push()
495 struct usb_request *req; in gs_free_requests()
511 struct usb_request *req; in gs_alloc_requests()
898 struct usb_request *req = cons->req; in __gs_console_push()
969 struct usb_request *req; in gs_console_connect()
[all …]
H A Du_serial.h53 struct usb_request *gs_alloc_req(struct usb_ep *ep, unsigned len, gfp_t flags);
54 void gs_free_req(struct usb_ep *, struct usb_request *req);
H A Du_ether.c140 static void rx_complete(struct usb_ep *ep, struct usb_request *req);
221 static void rx_complete(struct usb_ep *ep, struct usb_request *req) in rx_complete()
316 struct usb_request *req; in prealloc()
347 req = container_of(next, struct usb_request, list); in prealloc()
373 struct usb_request *req; in rx_fill()
379 req = list_first_entry(&dev->rx_reqs, struct usb_request, list); in rx_fill()
406 static void tx_complete(struct usb_ep *ep, struct usb_request *req) in tx_complete()
460 struct usb_request *req = NULL; in eth_start_xmit()
523 req = list_first_entry(&dev->tx_reqs, struct usb_request, list); in eth_start_xmit()
1195 struct usb_request *req; in gether_disconnect()
[all …]
H A Duvc_video.c90 uvc_video_encode_bulk(struct usb_request *req, struct uvc_video *video, in uvc_video_encode_bulk()
133 uvc_video_encode_isoc_sg(struct usb_request *req, struct uvc_video *video, in uvc_video_encode_isoc_sg()
200 uvc_video_encode_isoc(struct usb_request *req, struct uvc_video *video, in uvc_video_encode_isoc()
233 static int uvcg_video_ep_queue(struct uvc_video *video, struct usb_request *req) in uvcg_video_ep_queue()
254 uvc_video_complete(struct usb_ep *ep, struct usb_request *req) in uvc_video_complete()
390 struct usb_request *req = NULL; in uvcg_video_pump()
406 req = list_first_entry(&video->req_free, struct usb_request, in uvcg_video_pump()
/openbmc/u-boot/include/linux/usb/
H A Dgadget.h85 struct usb_request { struct
96 struct usb_request *req); argument
118 struct usb_request *(*alloc_request) (struct usb_ep *ep, argument
120 void (*free_request) (struct usb_ep *ep, struct usb_request *req);
122 int (*queue) (struct usb_ep *ep, struct usb_request *req,
124 int (*dequeue) (struct usb_ep *ep, struct usb_request *req);
263 struct usb_request *req) in usb_ep_free_request()
323 struct usb_request *req, gfp_t gfp_flags) in usb_ep_queue()
894 struct usb_request *req, int is_in);
897 struct usb_request *req, int is_in);
[all …]
/openbmc/u-boot/drivers/usb/musb-new/
H A 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);
/openbmc/u-boot/drivers/usb/gadget/
H A Df_dfu.c51 struct usb_request *);
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()
376 struct usb_request *req) in state_dfu_dnload_sync()
399 struct usb_request *req) in state_dfu_dnbusy()
419 struct usb_request *req) in state_dfu_dnload_idle()
453 struct usb_request *req) in state_dfu_manifest_sync()
480 struct usb_request *req) in state_dfu_manifest()
506 struct usb_request *req) in state_dfu_upload_idle()
[all …]
H A 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 …]
H A Df_rockusb.c137 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()
430 struct usb_request *in_req = rockusb_func->in_req; in tx_handler_ul_image()
615 static void cb_read_lba(struct usb_ep *ep, struct usb_request *req) in cb_read_lba()
657 static void cb_write_lba(struct usb_ep *ep, struct usb_request *req) in cb_write_lba()
698 static void cb_erase_lba(struct usb_ep *ep, struct usb_request *req) in cb_erase_lba()
749 static void compl_do_reset(struct usb_ep *ep, struct usb_request *req) in compl_do_reset()
757 static void cb_reboot(struct usb_ep *ep, struct usb_request *req) in cb_reboot()
[all …]
H A Df_sdp.c110 struct usb_request *req;
114 struct usb_request *in_req;
238 static void sdp_rx_command_complete(struct usb_ep *ep, struct usb_request *req) in sdp_rx_command_complete()
323 static void sdp_rx_data_complete(struct usb_ep *ep, struct usb_request *req) in sdp_rx_data_complete()
377 static void sdp_tx_complete(struct usb_ep *ep, struct usb_request *req) in sdp_tx_complete()
417 struct usb_request *req = f->config->cdev->req; in sdp_setup()
504 static struct usb_request *alloc_ep_req(struct usb_ep *ep, unsigned length) in alloc_ep_req()
506 struct usb_request *req; in alloc_ep_req()
523 static struct usb_request *sdp_start_ep(struct usb_ep *ep) in sdp_start_ep()
525 struct usb_request *req; in sdp_start_ep()
H A Df_thor.h103 struct usb_request *req; /* EP0 -> control responses */
107 struct usb_request *in_req, *out_req;
H A 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);
262 static struct usb_request *
287 static void ci_ep_free_request(struct usb_ep *ep, struct usb_request *req) in ci_ep_free_request()
362 struct usb_request *req = &ci_req->req; in ci_bounce()
407 struct usb_request *req = &ci_req->req; in ci_debounce()
531 static int ci_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) in ci_ep_dequeue()
556 struct usb_request *req, gfp_t gfp_flags) in ci_ep_queue()
[all …]
/openbmc/linux/drivers/usb/musb/
H A Dmusb_gadget.h54 struct usb_request request;
65 extern struct usb_request *
67 extern void musb_free_request(struct usb_ep *ep, struct usb_request *req);
112 extern void musb_g_giveback(struct musb_ep *, struct usb_request *, int);
/openbmc/linux/drivers/usb/gadget/
H A Du_f.h61 struct usb_request;
75 struct usb_request *alloc_ep_req(struct usb_ep *ep, size_t len);
78 static inline void free_ep_req(struct usb_ep *ep, struct usb_request *req) in free_ep_req()
H A Du_f.c14 struct usb_request *alloc_ep_req(struct usb_ep *ep, size_t len) in alloc_ep_req()
16 struct usb_request *req; in alloc_ep_req()
/openbmc/linux/drivers/usb/gadget/udc/
H A Dtrace.h219 TP_PROTO(struct usb_ep *ep, struct usb_request *req, int ret),
233 __field(struct usb_request *, req)
260 TP_PROTO(struct usb_ep *ep, struct usb_request *req, int ret),
265 TP_PROTO(struct usb_ep *ep, struct usb_request *req, int ret),
270 TP_PROTO(struct usb_ep *ep, struct usb_request *req, int ret),
275 TP_PROTO(struct usb_ep *ep, struct usb_request *req, int ret),
280 TP_PROTO(struct usb_ep *ep, struct usb_request *req, int ret),
/openbmc/linux/drivers/usb/mtu3/
H A Dmtu3.h297 struct usb_request request;
375 static inline struct mtu3_request *to_mtu3_request(struct usb_request *req) in to_mtu3_request()
418 struct usb_request *mtu3_alloc_request(struct usb_ep *ep, gfp_t gfp_flags);
419 void mtu3_free_request(struct usb_ep *ep, struct usb_request *req);
421 struct usb_request *req, int status);
/openbmc/u-boot/arch/arm/include/asm/arch-rockchip/
H A Df_rockusb.h78 void (*cb)(struct usb_ep *ep, struct usb_request *req);
118 struct usb_request *in_req, *out_req;
/openbmc/linux/drivers/usb/gadget/legacy/
H A Ddbgp.c28 struct usb_request *req;
92 static void dbgp_complete(struct usb_ep *ep, struct usb_request *req) in dbgp_complete()
131 struct usb_request *req; in dbgp_enable_ep_req()
331 struct usb_request *req) in dbgp_setup_complete()
340 struct usb_request *req = dbgp.req; in dbgp_setup()
/openbmc/linux/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-gadget.h599 struct usb_request request;
678 struct usb_request *pending_status_request;
696 struct usb_request *cdns2_gadget_ep_alloc_request(struct usb_ep *ep,
699 struct usb_request *request);
700 int cdns2_gadget_ep_dequeue(struct usb_ep *ep, struct usb_request *request);
/openbmc/linux/drivers/usb/cdns3/
H A Dcdns3-gadget.c73 struct usb_request *request,
77 struct usb_request *request);
80 struct usb_request *request);
387 struct usb_request *request; in cdns3_start_all_request()
443 struct usb_request *descmiss_req) in __cdns3_descmiss_copy_data()
479 struct usb_request *request) in cdns3_wa2_descmiss_copy_data()
514 struct usb_request *req; in cdns3_wa2_gadget_giveback()
649 struct usb_request *request; in cdns3_wa2_descmissing_packet()
1551 struct usb_request *request; in cdns3_transfer_completed()
2493 struct usb_request *request; in cdns3_gadget_ep_disable()
[all …]

1234567