/external/u-boot/include/linux/usb/ |
D | gadget.h | 26 struct usb_ep; 95 void (*complete)(struct usb_ep *ep, 114 int (*enable) (struct usb_ep *ep, 116 int (*disable) (struct usb_ep *ep); 118 struct usb_request *(*alloc_request) (struct usb_ep *ep, 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); 126 int (*set_halt) (struct usb_ep *ep, int value); 127 int (*set_wedge)(struct usb_ep *ep); [all …]
|
/external/u-boot/drivers/usb/gadget/ |
D | epautoconf.c | 48 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() 309 struct usb_ep *ep; in usb_ep_autoconfig_reset()
|
D | f_fastboot.c | 43 struct usb_ep *in_ep, *out_ep; 139 static void rx_handler_command(struct usb_ep *ep, struct usb_request *req); 141 static void fastboot_complete(struct usb_ep *ep, struct usb_request *req) in fastboot_complete() 219 static struct usb_request *fastboot_start_ep(struct usb_ep *ep) in fastboot_start_ep() 344 static void compl_do_reset(struct usb_ep *ep, struct usb_request *req) in compl_do_reset() 349 static unsigned int rx_bytes_expected(struct usb_ep *ep) in rx_bytes_expected() 373 static void rx_handler_dl_image(struct usb_ep *ep, struct usb_request *req) in rx_handler_dl_image() 409 static void do_exit_on_complete(struct usb_ep *ep, struct usb_request *req) in do_exit_on_complete() 414 static void do_bootm_on_complete(struct usb_ep *ep, struct usb_request *req) in do_bootm_on_complete() 420 static void rx_handler_command(struct usb_ep *ep, struct usb_request *req) in rx_handler_command()
|
D | f_rockusb.c | 100 static void rx_handler_command(struct usb_ep *ep, struct usb_request *req); 138 static void rockusb_complete(struct usb_ep *ep, struct usb_request *req) in rockusb_complete() 222 static struct usb_request *rockusb_start_ep(struct usb_ep *ep) in rockusb_start_ep() 393 static void tx_handler_send_csw(struct usb_ep *ep, struct usb_request *req) in tx_handler_send_csw() 407 static unsigned int rx_bytes_expected(struct usb_ep *ep) in rx_bytes_expected() 427 static void tx_handler_ul_image(struct usb_ep *ep, struct usb_request *req) in tx_handler_ul_image() 486 static void rx_handler_dl_image(struct usb_ep *ep, struct usb_request *req) in rx_handler_dl_image() 546 static void cb_test_unit_ready(struct usb_ep *ep, struct usb_request *req) in cb_test_unit_ready() 557 static void cb_read_storage_id(struct usb_ep *ep, struct usb_request *req) in cb_read_storage_id() 579 static void cb_get_chip_version(struct usb_ep *ep, struct usb_request *req) in cb_get_chip_version() [all …]
|
D | dwc2_udc_otg.c | 91 static int dwc2_ep_enable(struct usb_ep *ep, 93 static int dwc2_ep_disable(struct usb_ep *ep); 94 static struct usb_request *dwc2_alloc_request(struct usb_ep *ep, 96 static void dwc2_free_request(struct usb_ep *ep, struct usb_request *); 98 static int dwc2_queue(struct usb_ep *ep, struct usb_request *, gfp_t gfp_flags); 99 static int dwc2_dequeue(struct usb_ep *ep, struct usb_request *); 100 static int dwc2_fifo_status(struct usb_ep *ep); 101 static void dwc2_fifo_flush(struct usb_ep *ep); 115 static int dwc2_udc_set_halt(struct usb_ep *_ep, int value); 611 static int dwc2_ep_enable(struct usb_ep *_ep, in dwc2_ep_enable() [all …]
|
D | ci_udc.c | 85 static int ci_ep_enable(struct usb_ep *ep, 87 static int ci_ep_disable(struct usb_ep *ep); 88 static int ci_ep_queue(struct usb_ep *ep, 90 static int ci_ep_dequeue(struct usb_ep *ep, struct usb_request *req); 92 ci_ep_alloc_request(struct usb_ep *ep, unsigned int gfp_flags); 93 static void ci_ep_free_request(struct usb_ep *ep, struct usb_request *_req); 113 static const struct usb_ep ci_ep_init[5] = { 264 ci_ep_alloc_request(struct usb_ep *ep, unsigned int gfp_flags) in ci_ep_alloc_request() 288 static void ci_ep_free_request(struct usb_ep *ep, struct usb_request *req) in ci_ep_free_request() 328 static int ci_ep_enable(struct usb_ep *ep, in ci_ep_enable() [all …]
|
D | f_sdp.c | 114 struct usb_ep *in_ep; 239 static void sdp_rx_command_complete(struct usb_ep *ep, struct usb_request *req) in sdp_rx_command_complete() 324 static void sdp_rx_data_complete(struct usb_ep *ep, struct usb_request *req) in sdp_rx_data_complete() 378 static void sdp_tx_complete(struct usb_ep *ep, struct usb_request *req) in sdp_tx_complete() 482 struct usb_ep *ep; in sdp_bind() 505 static struct usb_request *alloc_ep_req(struct usb_ep *ep, unsigned length) in alloc_ep_req() 524 static struct usb_request *sdp_start_ep(struct usb_ep *ep) in sdp_start_ep()
|
D | fotg210.c | 32 struct usb_ep ep; 502 struct usb_ep *_ep, const struct usb_endpoint_descriptor *desc) in fotg210_ep_enable() 546 static int fotg210_ep_disable(struct usb_ep *_ep) in fotg210_ep_disable() 563 struct usb_ep *_ep, gfp_t gfp_flags) in fotg210_ep_alloc_request() 575 struct usb_ep *_ep, struct usb_request *_req) in fotg210_ep_free_request() 584 struct usb_ep *_ep, struct usb_request *_req, gfp_t gfp_flags) in fotg210_ep_queue() 643 static int fotg210_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) in fotg210_ep_dequeue() 669 static int fotg210_ep_halt(struct usb_ep *_ep, int halt) in fotg210_ep_halt()
|
D | atmel_usba_udc.c | 168 usba_ep_enable(struct usb_ep *_ep, const struct usb_endpoint_descriptor *desc) in usba_ep_enable() 270 static int usba_ep_disable(struct usb_ep *_ep) in usba_ep_disable() 309 usba_ep_alloc_request(struct usb_ep *_ep, gfp_t gfp_flags) in usba_ep_alloc_request() 325 usba_ep_free_request(struct usb_ep *_ep, struct usb_request *_req) in usba_ep_free_request() 335 usba_ep_queue(struct usb_ep *_ep, struct usb_request *_req, gfp_t gfp_flags) in usba_ep_queue() 377 static int usba_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) in usba_ep_dequeue() 399 static int usba_ep_set_halt(struct usb_ep *_ep, int value) in usba_ep_set_halt() 444 static int usba_ep_fifo_status(struct usb_ep *_ep) in usba_ep_fifo_status() 451 static void usba_ep_fifo_flush(struct usb_ep *_ep) in usba_ep_fifo_flush()
|
D | f_thor.c | 517 static struct usb_request *alloc_ep_req(struct usb_ep *ep, unsigned length) in alloc_ep_req() 595 static void thor_rx_tx_complete(struct usb_ep *ep, struct usb_request *req) in thor_rx_tx_complete() 624 static void thor_setup_complete(struct usb_ep *ep, struct usb_request *req) in thor_setup_complete() 740 static void free_ep_req(struct usb_ep *ep, struct usb_request *req) in free_ep_req() 752 struct usb_ep *ep; in thor_func_bind() 905 struct usb_ep *ep; in thor_eps_setup()
|
D | atmel_usba_udc.h | 255 struct usb_ep ep; 302 static inline struct usba_ep *to_usba_ep(struct usb_ep *ep) in to_usba_ep()
|
D | pxa25x_udc.c | 205 static void pxa25x_ep_fifo_flush(struct usb_ep *ep); 293 static int pxa25x_ep_enable(struct usb_ep *_ep, in pxa25x_ep_enable() 346 static int pxa25x_ep_disable(struct usb_ep *_ep) in pxa25x_ep_disable() 384 pxa25x_ep_alloc_request(struct usb_ep *_ep, gfp_t gfp_flags) in pxa25x_ep_alloc_request() 401 pxa25x_ep_free_request(struct usb_ep *_ep, struct usb_request *_req) in pxa25x_ep_free_request() 723 pxa25x_ep_queue(struct usb_ep *_ep, struct usb_request *_req, gfp_t gfp_flags) in pxa25x_ep_queue() 856 static int pxa25x_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) in pxa25x_ep_dequeue() 886 static int pxa25x_ep_set_halt(struct usb_ep *_ep, int value) in pxa25x_ep_set_halt() 942 static int pxa25x_ep_fifo_status(struct usb_ep *_ep) in pxa25x_ep_fifo_status() 961 static void pxa25x_ep_fifo_flush(struct usb_ep *_ep) in pxa25x_ep_fifo_flush()
|
D | dwc2_udc_otg_priv.h | 52 struct usb_ep ep;
|
D | ether.c | 105 struct usb_ep *in_ep, *out_ep, *status_ep; 1122 static void eth_status_complete(struct usb_ep *ep, struct usb_request *req) in eth_status_complete() 1202 static void eth_setup_complete(struct usb_ep *ep, struct usb_request *req) in eth_setup_complete() 1211 static void rndis_response_complete(struct usb_ep *ep, struct usb_request *req) in rndis_response_complete() 1220 static void rndis_command_complete(struct usb_ep *ep, struct usb_request *req) in rndis_command_complete() 1505 static void rx_complete(struct usb_ep *ep, struct usb_request *req); 1554 static void rx_complete(struct usb_ep *ep, struct usb_request *req) in rx_complete() 1623 static void tx_complete(struct usb_ep *ep, struct usb_request *req) in tx_complete() 1830 static void rndis_control_ack_complete(struct usb_ep *ep, in rndis_control_ack_complete() 2006 struct usb_ep *in_ep, *out_ep, *status_ep = NULL; in eth_bind()
|
D | f_thor.h | 106 struct usb_ep *in_ep, *out_ep, *int_ep;
|
D | pxa25x_udc.h | 49 struct usb_ep ep;
|
D | f_mass_storage.c | 295 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()
|
/external/u-boot/drivers/usb/musb-new/ |
D | musb_gadget.h | 43 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()
|
D | musb_gadget_ep0.c | 896 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()
|
/external/u-boot/drivers/usb/dwc3/ |
D | gadget.h | 84 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,
|
D | gadget.c | 580 static int dwc3_gadget_ep0_enable(struct usb_ep *ep, in dwc3_gadget_ep0_enable() 586 static int dwc3_gadget_ep0_disable(struct usb_ep *ep) in dwc3_gadget_ep0_disable() 593 static int dwc3_gadget_ep_enable(struct usb_ep *ep, in dwc3_gadget_ep_enable() 642 static int dwc3_gadget_ep_disable(struct usb_ep *ep) in dwc3_gadget_ep_disable() 672 static struct usb_request *dwc3_gadget_ep_alloc_request(struct usb_ep *ep, in dwc3_gadget_ep_alloc_request() 688 static void dwc3_gadget_ep_free_request(struct usb_ep *ep, in dwc3_gadget_ep_free_request() 1061 static int dwc3_gadget_ep_queue(struct usb_ep *ep, struct usb_request *request, in dwc3_gadget_ep_queue() 1097 static int dwc3_gadget_ep_dequeue(struct usb_ep *ep, in dwc3_gadget_ep_dequeue() 1184 static int dwc3_gadget_ep_set_halt(struct usb_ep *ep, int value) in dwc3_gadget_ep_set_halt() 1199 static int dwc3_gadget_ep_set_wedge(struct usb_ep *ep) in dwc3_gadget_ep_set_wedge()
|
/external/u-boot/arch/arm/include/asm/arch-rockchip/ |
D | f_rockusb.h | 78 void (*cb)(struct usb_ep *ep, struct usb_request *req); 117 struct usb_ep *in_ep, *out_ep;
|
/external/u-boot/drivers/usb/cdns3/ |
D | gadget.h | 1119 struct usb_ep endpoint; 1318 int cdns3_gadget_ep_set_wedge(struct usb_ep *ep); 1319 int cdns3_gadget_ep_set_halt(struct usb_ep *ep, int value); 1322 struct usb_request *cdns3_gadget_ep_alloc_request(struct usb_ep *ep, 1324 void cdns3_gadget_ep_free_request(struct usb_ep *ep, 1326 int cdns3_gadget_ep_dequeue(struct usb_ep *ep, struct usb_request *request);
|
D | ep0.c | 680 static int cdns3_gadget_ep0_enable(struct usb_ep *ep, in cdns3_gadget_ep0_enable() 691 static int cdns3_gadget_ep0_disable(struct usb_ep *ep) in cdns3_gadget_ep0_disable() 703 static int cdns3_gadget_ep0_set_halt(struct usb_ep *ep, int value) in cdns3_gadget_ep0_set_halt() 717 static int cdns3_gadget_ep0_queue(struct usb_ep *ep, in cdns3_gadget_ep0_queue() 801 int cdns3_gadget_ep_set_wedge(struct usb_ep *ep) in cdns3_gadget_ep_set_wedge()
|
D | gadget.c | 76 static int __cdns3_gadget_ep_queue(struct usb_ep *ep, 1009 struct usb_ep *ep; in cdns3_set_hw_configuration() 1649 struct usb_ep *ep; in cdns3_find_available_ep() 1688 usb_ep *cdns3_gadget_match_ep(struct usb_gadget *gadget, in cdns3_gadget_match_ep() 1722 struct usb_request *cdns3_gadget_ep_alloc_request(struct usb_ep *ep, in cdns3_gadget_ep_alloc_request() 1743 void cdns3_gadget_ep_free_request(struct usb_ep *ep, in cdns3_gadget_ep_free_request() 1762 static int cdns3_gadget_ep_enable(struct usb_ep *ep, in cdns3_gadget_ep_enable() 1874 static int cdns3_gadget_ep_disable(struct usb_ep *ep) in cdns3_gadget_ep_disable() 1964 static int __cdns3_gadget_ep_queue(struct usb_ep *ep, in __cdns3_gadget_ep_queue() 2009 static int cdns3_gadget_ep_queue(struct usb_ep *ep, struct usb_request *request, in cdns3_gadget_ep_queue() [all …]
|