Home
last modified time | relevance | path

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

12

/external/u-boot/include/linux/usb/
Dgadget.h25 struct usb_ep;
94 void (*complete)(struct usb_ep *ep,
113 int (*enable) (struct usb_ep *ep,
115 int (*disable) (struct usb_ep *ep);
117 struct usb_request *(*alloc_request) (struct usb_ep *ep,
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);
125 int (*set_halt) (struct usb_ep *ep, int value);
126 int (*set_wedge)(struct usb_ep *ep);
[all …]
/external/u-boot/drivers/usb/gadget/
Ddwc2_udc_otg.c84 static int dwc2_ep_enable(struct usb_ep *ep,
86 static int dwc2_ep_disable(struct usb_ep *ep);
87 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 *);
93 static int dwc2_fifo_status(struct usb_ep *ep);
94 static void dwc2_fifo_flush(struct usb_ep *ep);
108 static int dwc2_udc_set_halt(struct usb_ep *_ep, int value);
541 static int dwc2_ep_enable(struct usb_ep *_ep, in dwc2_ep_enable()
[all …]
Depautoconf.c48 struct usb_ep *ep, in ep_matches()
173 static struct usb_ep *
176 struct usb_ep *ep; in find_ep()
215 struct usb_ep *usb_ep_autoconfig( in usb_ep_autoconfig()
220 struct usb_ep *ep = NULL; in usb_ep_autoconfig()
306 struct usb_ep *ep; in usb_ep_autoconfig_reset()
Df_fastboot.c42 struct usb_ep *in_ep, *out_ep;
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()
343 static void compl_do_reset(struct usb_ep *ep, struct usb_request *req) in compl_do_reset()
348 static unsigned int rx_bytes_expected(struct usb_ep *ep) in rx_bytes_expected()
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()
419 static void rx_handler_command(struct usb_ep *ep, struct usb_request *req) in rx_handler_command()
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()
391 static unsigned int rx_bytes_expected(struct usb_ep *ep) in rx_bytes_expected()
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()
548 static void cb_reboot(struct usb_ep *ep, struct usb_request *req) in cb_reboot()
[all …]
Dci_udc.c84 static int ci_ep_enable(struct usb_ep *ep,
86 static int ci_ep_disable(struct usb_ep *ep);
87 static int ci_ep_queue(struct usb_ep *ep,
89 static int ci_ep_dequeue(struct usb_ep *ep, struct usb_request *req);
91 ci_ep_alloc_request(struct usb_ep *ep, unsigned int gfp_flags);
92 static void ci_ep_free_request(struct usb_ep *ep, struct usb_request *_req);
108 static const struct usb_ep ci_ep_init[5] = {
259 ci_ep_alloc_request(struct usb_ep *ep, unsigned int gfp_flags) in ci_ep_alloc_request()
283 static void ci_ep_free_request(struct usb_ep *ep, struct usb_request *req) in ci_ep_free_request()
323 static int ci_ep_enable(struct usb_ep *ep, in ci_ep_enable()
[all …]
Df_sdp.c112 struct usb_ep *in_ep;
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()
476 struct usb_ep *ep; in sdp_bind()
499 static struct usb_request *alloc_ep_req(struct usb_ep *ep, unsigned length) in alloc_ep_req()
518 static struct usb_request *sdp_start_ep(struct usb_ep *ep) in sdp_start_ep()
Dfotg210.c31 struct usb_ep ep;
501 struct usb_ep *_ep, const struct usb_endpoint_descriptor *desc) in fotg210_ep_enable()
545 static int fotg210_ep_disable(struct usb_ep *_ep) in fotg210_ep_disable()
562 struct usb_ep *_ep, gfp_t gfp_flags) 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()
668 static int fotg210_ep_halt(struct usb_ep *_ep, int halt) in fotg210_ep_halt()
Datmel_usba_udc.c169 usba_ep_enable(struct usb_ep *_ep, const struct usb_endpoint_descriptor *desc) in usba_ep_enable()
271 static int usba_ep_disable(struct usb_ep *_ep) in usba_ep_disable()
310 usba_ep_alloc_request(struct usb_ep *_ep, gfp_t gfp_flags) in usba_ep_alloc_request()
326 usba_ep_free_request(struct usb_ep *_ep, struct usb_request *_req) in usba_ep_free_request()
336 usba_ep_queue(struct usb_ep *_ep, struct usb_request *_req, gfp_t gfp_flags) in usba_ep_queue()
378 static int usba_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) in usba_ep_dequeue()
400 static int usba_ep_set_halt(struct usb_ep *_ep, int value) in usba_ep_set_halt()
445 static int usba_ep_fifo_status(struct usb_ep *_ep) in usba_ep_fifo_status()
452 static void usba_ep_fifo_flush(struct usb_ep *_ep) in usba_ep_fifo_flush()
Df_thor.c516 static struct usb_request *alloc_ep_req(struct usb_ep *ep, unsigned length) 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()
739 static void free_ep_req(struct usb_ep *ep, struct usb_request *req) in free_ep_req()
751 struct usb_ep *ep; in thor_func_bind()
904 struct usb_ep *ep; in thor_eps_setup()
Dpxa25x_udc.c206 static void pxa25x_ep_fifo_flush(struct usb_ep *ep);
294 static int pxa25x_ep_enable(struct usb_ep *_ep, in pxa25x_ep_enable()
347 static int pxa25x_ep_disable(struct usb_ep *_ep) in pxa25x_ep_disable()
385 pxa25x_ep_alloc_request(struct usb_ep *_ep, gfp_t gfp_flags) in pxa25x_ep_alloc_request()
402 pxa25x_ep_free_request(struct usb_ep *_ep, struct usb_request *_req) in pxa25x_ep_free_request()
724 pxa25x_ep_queue(struct usb_ep *_ep, struct usb_request *_req, gfp_t gfp_flags) in pxa25x_ep_queue()
857 static int pxa25x_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) in pxa25x_ep_dequeue()
887 static int pxa25x_ep_set_halt(struct usb_ep *_ep, int value) in pxa25x_ep_set_halt()
943 static int pxa25x_ep_fifo_status(struct usb_ep *_ep) in pxa25x_ep_fifo_status()
962 static void pxa25x_ep_fifo_flush(struct usb_ep *_ep) in pxa25x_ep_fifo_flush()
Datmel_usba_udc.h255 struct usb_ep ep;
302 static inline struct usba_ep *to_usba_ep(struct usb_ep *ep) in to_usba_ep()
Dether.c113 struct usb_ep *in_ep, *out_ep, *status_ep;
1130 static void eth_status_complete(struct usb_ep *ep, struct usb_request *req) in eth_status_complete()
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()
1513 static void rx_complete(struct usb_ep *ep, struct usb_request *req);
1562 static void rx_complete(struct usb_ep *ep, struct usb_request *req) in rx_complete()
1631 static void tx_complete(struct usb_ep *ep, struct usb_request *req) in tx_complete()
1838 static void rndis_control_ack_complete(struct usb_ep *ep, in rndis_control_ack_complete()
2014 struct usb_ep *in_ep, *out_ep, *status_ep = NULL; in eth_bind()
Df_mass_storage.c295 struct usb_ep *ep0; /* Copy of gadget->ep0 */
382 struct usb_ep *bulk_in;
383 struct usb_ep *bulk_out;
432 static int fsg_set_halt(struct fsg_dev *fsg, struct usb_ep *ep) in fsg_set_halt()
489 static void bulk_in_complete(struct usb_ep *ep, struct usb_request *req) in bulk_in_complete()
506 static void bulk_out_complete(struct usb_ep *ep, struct usb_request *req) in bulk_out_complete()
583 static void start_transfer(struct fsg_dev *fsg, struct usb_ep *ep, in start_transfer()
2147 static int enable_endpoint(struct fsg_common *common, struct usb_ep *ep, in enable_endpoint()
2159 static int alloc_request(struct fsg_common *common, struct usb_ep *ep, in alloc_request()
2653 struct usb_ep *ep; in fsg_bind()
Ddwc2_udc_otg_priv.h54 struct usb_ep ep;
Dat91_udc.c283 static int at91_ep_enable(struct usb_ep *_ep, in at91_ep_enable()
361 static int at91_ep_disable (struct usb_ep * _ep) in at91_ep_disable()
395 at91_ep_alloc_request(struct usb_ep *_ep, gfp_t gfp_flags) in at91_ep_alloc_request()
407 static void at91_ep_free_request(struct usb_ep *_ep, struct usb_request *_req) in at91_ep_free_request()
416 static int at91_ep_queue(struct usb_ep *_ep, in at91_ep_queue()
516 static int at91_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) in at91_ep_dequeue()
543 static int at91_ep_set_halt(struct usb_ep *_ep, int value) in at91_ep_set_halt()
Df_thor.h106 struct usb_ep *in_ep, *out_ep, *int_ep;
Dpxa25x_udc.h49 struct usb_ep ep;
/external/u-boot/drivers/usb/musb-new/
Dmusb_gadget.h43 musb_alloc_request(struct usb_ep *ep, gfp_t gfp_flags);
44 extern void musb_free_request(struct usb_ep *ep, struct usb_request *req);
52 struct usb_ep end_point;
76 static inline struct musb_ep *to_musb_ep(struct usb_ep *ep) in to_musb_ep()
Dmusb_gadget_ep0.c896 musb_g_ep0_enable(struct usb_ep *ep, const struct usb_endpoint_descriptor *desc) in musb_g_ep0_enable()
902 static int musb_g_ep0_disable(struct usb_ep *e) in musb_g_ep0_disable()
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()
996 static int musb_g_ep0_halt(struct usb_ep *e, int value) in musb_g_ep0_halt()
Dmusb_gadget.c1026 static int musb_gadget_enable(struct usb_ep *ep, in musb_gadget_enable()
1211 static int musb_gadget_disable(struct usb_ep *ep) in musb_gadget_disable()
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()
1427 static int musb_gadget_set_halt(struct usb_ep *ep, int value) in musb_gadget_set_halt()
1513 static int musb_gadget_set_wedge(struct usb_ep *ep) in musb_gadget_set_wedge()
1526 static int musb_gadget_fifo_status(struct usb_ep *ep) in musb_gadget_fifo_status()
1549 static void musb_gadget_fifo_flush(struct usb_ep *ep) in musb_gadget_fifo_flush()
/external/u-boot/drivers/usb/dwc3/
Dgadget.h84 int __dwc3_gadget_ep0_set_halt(struct usb_ep *ep, int value);
85 int dwc3_gadget_ep0_set_halt(struct usb_ep *ep, int value);
86 int dwc3_gadget_ep0_queue(struct usb_ep *ep, struct usb_request *request,
Dgadget.c579 static int dwc3_gadget_ep0_enable(struct usb_ep *ep, in dwc3_gadget_ep0_enable()
585 static int dwc3_gadget_ep0_disable(struct usb_ep *ep) in dwc3_gadget_ep0_disable()
592 static int dwc3_gadget_ep_enable(struct usb_ep *ep, in dwc3_gadget_ep_enable()
641 static int dwc3_gadget_ep_disable(struct usb_ep *ep) in dwc3_gadget_ep_disable()
671 static struct usb_request *dwc3_gadget_ep_alloc_request(struct usb_ep *ep, in dwc3_gadget_ep_alloc_request()
687 static void dwc3_gadget_ep_free_request(struct usb_ep *ep, in dwc3_gadget_ep_free_request()
1060 static int dwc3_gadget_ep_queue(struct usb_ep *ep, struct usb_request *request, in dwc3_gadget_ep_queue()
1096 static int dwc3_gadget_ep_dequeue(struct usb_ep *ep, in dwc3_gadget_ep_dequeue()
1183 static int dwc3_gadget_ep_set_halt(struct usb_ep *ep, int value) in dwc3_gadget_ep_set_halt()
1198 static int dwc3_gadget_ep_set_wedge(struct usb_ep *ep) in dwc3_gadget_ep_set_wedge()
Dep0.c212 int dwc3_gadget_ep0_queue(struct usb_ep *ep, struct usb_request *request, in dwc3_gadget_ep0_queue()
274 int __dwc3_gadget_ep0_set_halt(struct usb_ep *ep, int value) in __dwc3_gadget_ep0_set_halt()
284 int dwc3_gadget_ep0_set_halt(struct usb_ep *ep, int value) in dwc3_gadget_ep0_set_halt()
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()
/external/u-boot/arch/arm/include/asm/arch-rockchip/
Df_rockusb.h76 void (*cb)(struct usb_ep *ep, struct usb_request *req);
115 struct usb_ep *in_ep, *out_ep;

12