Home
last modified time | relevance | path

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

12

/u-boot/include/linux/usb/
A Dgadget.h26 struct usb_ep;
95 void (*complete)(struct usb_ep *ep,
114 int (*enable) (struct usb_ep *ep,
116 int (*disable) (struct usb_ep *ep);
126 int (*set_halt) (struct usb_ep *ep, int value);
127 int (*set_wedge)(struct usb_ep *ep);
128 int (*fifo_status) (struct usb_ep *ep);
129 void (*fifo_flush) (struct usb_ep *ep);
176 struct usb_ep { struct
480 struct usb_ep *,
[all …]
/u-boot/drivers/usb/musb-new/
A 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()
A Dmusb_gadget_ep0.c900 musb_g_ep0_enable(struct usb_ep *ep, const struct usb_endpoint_descriptor *desc) in musb_g_ep0_enable()
906 static int musb_g_ep0_disable(struct usb_ep *e) in musb_g_ep0_disable()
913 musb_g_ep0_queue(struct usb_ep *e, struct usb_request *r, gfp_t gfp_flags) in musb_g_ep0_queue()
994 static int musb_g_ep0_dequeue(struct usb_ep *ep, struct usb_request *req) in musb_g_ep0_dequeue()
1000 static int musb_g_ep0_halt(struct usb_ep *e, int value) in musb_g_ep0_halt()
/u-boot/drivers/usb/gadget/
A Depautoconf.c48 struct usb_ep *ep, in ep_matches()
177 static struct usb_ep *
180 struct usb_ep *ep; in find_ep()
219 struct usb_ep *usb_ep_autoconfig( in usb_ep_autoconfig()
224 struct usb_ep *ep = NULL; in usb_ep_autoconfig()
315 struct usb_ep *ep; in usb_ep_autoconfig_reset()
A Df_fastboot.c45 struct usb_ep *in_ep, *out_ep;
195 static void rx_handler_command(struct usb_ep *ep, struct usb_request *req);
197 static void fastboot_complete(struct usb_ep *ep, struct usb_request *req) in fastboot_complete()
296 static struct usb_request *fastboot_start_ep(struct usb_ep *ep) in fastboot_start_ep()
421 static void compl_do_reset(struct usb_ep *ep, struct usb_request *req) in compl_do_reset()
426 static unsigned int rx_bytes_expected(struct usb_ep *ep) in rx_bytes_expected()
450 static void rx_handler_dl_image(struct usb_ep *ep, struct usb_request *req) in rx_handler_dl_image()
486 static void do_exit_on_complete(struct usb_ep *ep, struct usb_request *req) in do_exit_on_complete()
491 static void do_bootm_on_complete(struct usb_ep *ep, struct usb_request *req) in do_bootm_on_complete()
498 static void do_acmd_complete(struct usb_ep *ep, struct usb_request *req) in do_acmd_complete()
[all …]
A Df_rockusb.c103 static void rx_handler_command(struct usb_ep *ep, struct usb_request *req);
141 static void rockusb_complete(struct usb_ep *ep, struct usb_request *req) in rockusb_complete()
225 static struct usb_request *rockusb_start_ep(struct usb_ep *ep) in rockusb_start_ep()
411 static unsigned int rx_bytes_expected(struct usb_ep *ep) in rx_bytes_expected()
620 static void cb_read_lba(struct usb_ep *ep, struct usb_request *req) in cb_read_lba()
662 static void cb_write_lba(struct usb_ep *ep, struct usb_request *req) in cb_write_lba()
703 static void cb_erase_lba(struct usb_ep *ep, struct usb_request *req) in cb_erase_lba()
754 static void compl_do_reset(struct usb_ep *ep, struct usb_request *req) in compl_do_reset()
762 static void cb_reboot(struct usb_ep *ep, struct usb_request *req) in cb_reboot()
775 static void cb_not_support(struct usb_ep *ep, struct usb_request *req) in cb_not_support()
[all …]
A Ddwc2_udc_otg.c97 static int dwc2_ep_enable(struct usb_ep *ep,
99 static int dwc2_ep_disable(struct usb_ep *ep);
100 static struct usb_request *dwc2_alloc_request(struct usb_ep *ep,
105 static int dwc2_dequeue(struct usb_ep *ep, struct usb_request *);
106 static int dwc2_fifo_status(struct usb_ep *ep);
107 static void dwc2_fifo_flush(struct usb_ep *ep);
121 static int dwc2_udc_set_halt(struct usb_ep *_ep, int value);
613 static int dwc2_ep_enable(struct usb_ep *_ep, in dwc2_ep_enable()
679 static int dwc2_ep_disable(struct usb_ep *_ep) in dwc2_ep_disable()
769 static int dwc2_fifo_status(struct usb_ep *_ep) in dwc2_fifo_status()
[all …]
A Dci_udc.c87 static int ci_ep_enable(struct usb_ep *ep,
89 static int ci_ep_disable(struct usb_ep *ep);
90 static int ci_ep_queue(struct usb_ep *ep,
92 static int ci_ep_dequeue(struct usb_ep *ep, struct usb_request *req);
94 ci_ep_alloc_request(struct usb_ep *ep, unsigned int gfp_flags);
115 static const struct usb_ep ci_ep_init[5] = {
267 ci_ep_alloc_request(struct usb_ep *ep, unsigned int gfp_flags) in ci_ep_alloc_request()
331 static int ci_ep_enable(struct usb_ep *ep, in ci_ep_enable()
357 static int ci_ep_disable(struct usb_ep *ep) in ci_ep_disable()
537 static int ci_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) in ci_ep_dequeue()
[all …]
A Df_sdp.c121 struct usb_ep *in_ep;
124 struct usb_ep *out_ep;
289 static void sdp_rx_command_complete(struct usb_ep *ep, struct usb_request *req) in sdp_rx_command_complete()
374 static void sdp_rx_data_complete(struct usb_ep *ep, struct usb_request *req) in sdp_rx_data_complete()
430 static void sdp_tx_complete(struct usb_ep *ep, struct usb_request *req) in sdp_tx_complete()
536 struct usb_ep *ep_in, *ep_out; in sdp_bind()
572 static struct usb_request *alloc_ep_req(struct usb_ep *ep, unsigned length) in alloc_ep_req()
591 static struct usb_request *sdp_start_ep(struct usb_ep *ep, bool in) in sdp_start_ep()
A Ddwc2_udc_otg_priv.h52 struct usb_ep ep;
A Dfotg210.c34 struct usb_ep ep;
504 struct usb_ep *_ep, const struct usb_endpoint_descriptor *desc) in fotg210_ep_enable()
548 static int fotg210_ep_disable(struct usb_ep *_ep) in fotg210_ep_disable()
565 struct usb_ep *_ep, gfp_t gfp_flags) in fotg210_ep_alloc_request()
577 struct usb_ep *_ep, struct usb_request *_req) in fotg210_ep_free_request()
586 struct usb_ep *_ep, struct usb_request *_req, gfp_t gfp_flags) in fotg210_ep_queue()
645 static int fotg210_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) in fotg210_ep_dequeue()
671 static int fotg210_ep_halt(struct usb_ep *_ep, int halt) in fotg210_ep_halt()
A Dmax3420_udc.c125 struct usb_ep ep_usb;
250 max3420_ep_enable(struct usb_ep *_ep, in max3420_ep_enable()
290 static int max3420_ep_disable(struct usb_ep *_ep) in max3420_ep_disable()
302 max3420_ep_alloc_request(struct usb_ep *_ep, gfp_t gfp_flags) in max3420_ep_alloc_request()
317 max3420_ep_free_request(struct usb_ep *_ep, struct usb_request *_req) in max3420_ep_free_request()
323 max3420_ep_queue(struct usb_ep *_ep, struct usb_request *_req, gfp_t gfp_flags) in max3420_ep_queue()
335 static int max3420_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) in max3420_ep_dequeue()
345 static int max3420_ep_set_halt(struct usb_ep *_ep, int halt) in max3420_ep_set_halt()
A Df_thor.h106 struct usb_ep *in_ep, *out_ep, *int_ep;
A Dpxa25x_udc.h49 struct usb_ep ep;
A 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()
A 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()
A Dat91_udc.h91 struct usb_ep ep;
A Df_thor.c521 static struct usb_request *alloc_ep_req(struct usb_ep *ep, unsigned length) in alloc_ep_req()
599 static void thor_rx_tx_complete(struct usb_ep *ep, struct usb_request *req) in thor_rx_tx_complete()
628 static void thor_setup_complete(struct usb_ep *ep, struct usb_request *req) in thor_setup_complete()
746 static void free_ep_req(struct usb_ep *ep, struct usb_request *req) in free_ep_req()
758 struct usb_ep *ep; in thor_func_bind()
911 struct usb_ep *ep; in thor_eps_setup()
/u-boot/drivers/usb/dwc3/
A 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,
/u-boot/arch/arm/include/asm/arch-rockchip/
A Df_rockusb.h78 void (*cb)(struct usb_ep *ep, struct usb_request *req);
117 struct usb_ep *in_ep, *out_ep;
/u-boot/drivers/usb/mtu3/
A Dmtu3.h252 struct usb_ep ep;
359 static inline struct mtu3_ep *to_mtu3_ep(struct usb_ep *ep) in to_mtu3_ep()
399 struct usb_request *mtu3_alloc_request(struct usb_ep *ep, gfp_t gfp_flags);
400 void mtu3_free_request(struct usb_ep *ep, struct usb_request *req);
A Dmtu3_gadget.c143 static int mtu3_gadget_ep_enable(struct usb_ep *ep, in mtu3_gadget_ep_enable()
196 static int mtu3_gadget_ep_disable(struct usb_ep *ep) in mtu3_gadget_ep_disable()
221 struct usb_request *mtu3_alloc_request(struct usb_ep *ep, gfp_t gfp_flags) in mtu3_alloc_request()
237 void mtu3_free_request(struct usb_ep *ep, struct usb_request *req) in mtu3_free_request()
244 static int mtu3_gadget_queue(struct usb_ep *ep, in mtu3_gadget_queue()
304 static int mtu3_gadget_dequeue(struct usb_ep *ep, struct usb_request *req) in mtu3_gadget_dequeue()
344 static int mtu3_gadget_ep_set_halt(struct usb_ep *ep, int value) in mtu3_gadget_ep_set_halt()
389 static int mtu3_gadget_ep_set_wedge(struct usb_ep *ep) in mtu3_gadget_ep_set_wedge()
A Dmtu3_gadget_ep0.c189 static void ep0_dummy_complete(struct usb_ep *ep, struct usb_request *req) in ep0_dummy_complete()
192 static void ep0_set_sel_complete(struct usb_ep *ep, struct usb_request *req) in ep0_set_sel_complete()
799 static int mtu3_ep0_enable(struct usb_ep *ep, in mtu3_ep0_enable()
806 static int mtu3_ep0_disable(struct usb_ep *ep) in mtu3_ep0_disable()
853 static int mtu3_ep0_queue(struct usb_ep *ep, in mtu3_ep0_queue()
875 static int mtu3_ep0_dequeue(struct usb_ep *ep, struct usb_request *req) in mtu3_ep0_dequeue()
881 static int mtu3_ep0_halt(struct usb_ep *ep, int value) in mtu3_ep0_halt()
/u-boot/drivers/usb/cdns3/
A Dgadget.h1120 struct usb_ep endpoint;
1319 int cdns3_gadget_ep_set_wedge(struct usb_ep *ep);
1320 int cdns3_gadget_ep_set_halt(struct usb_ep *ep, int value);
1323 struct usb_request *cdns3_gadget_ep_alloc_request(struct usb_ep *ep,
1325 void cdns3_gadget_ep_free_request(struct usb_ep *ep,
1327 int cdns3_gadget_ep_dequeue(struct usb_ep *ep, struct usb_request *request);
A Dep0.c689 static int cdns3_gadget_ep0_enable(struct usb_ep *ep, in cdns3_gadget_ep0_enable()
700 static int cdns3_gadget_ep0_disable(struct usb_ep *ep) in cdns3_gadget_ep0_disable()
712 static int cdns3_gadget_ep0_set_halt(struct usb_ep *ep, int value) in cdns3_gadget_ep0_set_halt()
726 static int cdns3_gadget_ep0_queue(struct usb_ep *ep, in cdns3_gadget_ep0_queue()
810 int cdns3_gadget_ep_set_wedge(struct usb_ep *ep) in cdns3_gadget_ep_set_wedge()

Completed in 46 milliseconds

12