/drivers/usb/gadget/ |
D | imx_udc.c | 668 static int imx_ep_enable(struct usb_ep *usb_ep, in imx_ep_enable() argument 671 struct imx_ep_struct *imx_ep = container_of(usb_ep, in imx_ep_enable() 676 if (!usb_ep in imx_ep_enable() 688 "<%s> %s type mismatch\n", __func__, usb_ep->name); in imx_ep_enable() 694 "<%s> bad %s maxpacket\n", __func__, usb_ep->name); in imx_ep_enable() 711 D_EPX(imx_usb->dev, "<%s> ENABLED %s\n", __func__, usb_ep->name); in imx_ep_enable() 715 static int imx_ep_disable(struct usb_ep *usb_ep) in imx_ep_disable() argument 717 struct imx_ep_struct *imx_ep = container_of(usb_ep, in imx_ep_disable() 721 if (!usb_ep || !EP_NO(imx_ep) || !list_empty(&imx_ep->queue)) { in imx_ep_disable() 723 __func__, usb_ep ? imx_ep->ep.name : NULL); in imx_ep_disable() [all …]
|
D | g_zero.h | 16 struct usb_request *alloc_ep_req(struct usb_ep *ep); 17 void free_ep_req(struct usb_ep *ep, struct usb_request *req); 19 struct usb_ep *in, struct usb_ep *out);
|
D | epautoconf.c | 55 struct usb_ep *ep, in ep_matches() 204 static struct usb_ep * 207 struct usb_ep *ep; in find_ep() 260 struct usb_ep *usb_ep_autoconfig_ss( in usb_ep_autoconfig_ss() 266 struct usb_ep *ep; in usb_ep_autoconfig_ss() 363 struct usb_ep *usb_ep_autoconfig( in usb_ep_autoconfig() 383 struct usb_ep *ep; in usb_ep_autoconfig_reset()
|
D | u_serial.h | 36 struct usb_ep *in; 37 struct usb_ep *out; 49 struct usb_request *gs_alloc_req(struct usb_ep *ep, unsigned len, gfp_t flags); 50 void gs_free_req(struct usb_ep *, struct usb_request *req);
|
D | zero.c | 173 struct usb_request *alloc_ep_req(struct usb_ep *ep) in alloc_ep_req() 189 void free_ep_req(struct usb_ep *ep, struct usb_request *req) in free_ep_req() 195 static void disable_ep(struct usb_composite_dev *cdev, struct usb_ep *ep) in disable_ep() 209 struct usb_ep *in, struct usb_ep *out) in disable_endpoints()
|
D | dbgp.c | 33 struct usb_ep *i_ep; 34 struct usb_ep *o_ep; 85 static void __disable_ep(struct usb_ep *ep) in __disable_ep() 99 static void dbgp_complete(struct usb_ep *ep, struct usb_request *req) in dbgp_complete() 135 static int dbgp_enable_ep_req(struct usb_ep *ep) in dbgp_enable_ep_req() 174 static int __enable_ep(struct usb_ep *ep, struct usb_endpoint_descriptor *desc) in __enable_ep() 341 static void dbgp_setup_complete(struct usb_ep *ep, in dbgp_setup_complete()
|
D | f_adb.c | 42 struct usb_ep *ep_in; 43 struct usb_ep *ep_out; 126 static struct usb_request *adb_request_new(struct usb_ep *ep, int buffer_size) in adb_request_new() 142 static void adb_request_free(struct usb_request *req, struct usb_ep *ep) in adb_request_free() 193 static void adb_complete_in(struct usb_ep *ep, struct usb_request *req) in adb_complete_in() 205 static void adb_complete_out(struct usb_ep *ep, struct usb_request *req) in adb_complete_out() 222 struct usb_ep *ep; in adb_create_bulk_endpoints()
|
D | f_sourcesink.c | 52 struct usb_ep *in_ep; 53 struct usb_ep *out_ep; 282 static void reinit_write_data(struct usb_ep *ep, struct usb_request *req) in reinit_write_data() 298 static void source_sink_complete(struct usb_ep *ep, struct usb_request *req) in source_sink_complete() 349 struct usb_ep *ep; in source_sink_start_ep() 391 struct usb_ep *ep; in enable_source_sink()
|
D | pxa27x_udc.c | 655 pxa_ep_alloc_request(struct usb_ep *_ep, gfp_t gfp_flags) in pxa_ep_alloc_request() 665 req->udc_usb_ep = container_of(_ep, struct udc_usb_ep, usb_ep); in pxa_ep_alloc_request() 677 static void pxa_ep_free_request(struct usb_ep *_ep, struct usb_request *_req) in pxa_ep_free_request() 762 req->req.complete(&req->udc_usb_ep->usb_ep, &req->req); in req_done() 1128 static int pxa_ep_queue(struct usb_ep *_ep, struct usb_request *_req, in pxa_ep_queue() 1142 udc_usb_ep = container_of(_ep, struct udc_usb_ep, usb_ep); in pxa_ep_queue() 1244 static int pxa_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) in pxa_ep_dequeue() 1254 udc_usb_ep = container_of(_ep, struct udc_usb_ep, usb_ep); in pxa_ep_dequeue() 1282 static int pxa_ep_set_halt(struct usb_ep *_ep, int value) in pxa_ep_set_halt() 1292 udc_usb_ep = container_of(_ep, struct udc_usb_ep, usb_ep); in pxa_ep_set_halt() [all …]
|
D | u_serial.c | 294 gs_alloc_req(struct usb_ep *ep, unsigned len, gfp_t kmalloc_flags) in gs_alloc_req() 317 void gs_free_req(struct usb_ep *ep, struct usb_request *req) in gs_free_req() 363 struct usb_ep *in = port->port_usb->in; in gs_start_tx() 430 struct usb_ep *out = port->port_usb->out; in gs_start_rx() 585 static void gs_read_complete(struct usb_ep *ep, struct usb_request *req) in gs_read_complete() 596 static void gs_write_complete(struct usb_ep *ep, struct usb_request *req) in gs_write_complete() 624 static void gs_free_requests(struct usb_ep *ep, struct list_head *head, in gs_free_requests() 638 static int gs_alloc_requests(struct usb_ep *ep, struct list_head *head, in gs_alloc_requests() 639 void (*fn)(struct usb_ep *, struct usb_request *), in gs_alloc_requests() argument 674 struct usb_ep *ep = port->port_usb->out; in gs_start_io()
|
D | u_ether.h | 43 struct usb_ep *in_ep; 44 struct usb_ep *out_ep;
|
D | f_loopback.c | 38 struct usb_ep *in_ep; 39 struct usb_ep *out_ep; 234 static void loopback_complete(struct usb_ep *ep, struct usb_request *req) in loopback_complete() 297 struct usb_ep *ep; in enable_loopback()
|
D | f_accessory.c | 73 struct usb_ep *ep_in; 74 struct usb_ep *ep_out; 202 static struct usb_request *acc_request_new(struct usb_ep *ep, int buffer_size) in acc_request_new() 218 static void acc_request_free(struct usb_request *req, struct usb_ep *ep) in acc_request_free() 260 static void acc_complete_in(struct usb_ep *ep, struct usb_request *req) in acc_complete_in() 274 static void acc_complete_out(struct usb_ep *ep, struct usb_request *req) in acc_complete_out() 287 static void acc_complete_set_string(struct usb_ep *ep, struct usb_request *req) in acc_complete_set_string() 335 static void acc_complete_set_hid_report_desc(struct usb_ep *ep, in acc_complete_set_hid_report_desc() 358 static void acc_complete_send_hid_event(struct usb_ep *ep, in acc_complete_send_hid_event() 495 struct usb_ep *ep; in create_bulk_endpoints()
|
D | f_midi.c | 72 struct usb_ep *in_ep, *out_ep; 195 static struct usb_request *alloc_ep_req(struct usb_ep *ep, unsigned length) in alloc_ep_req() 211 static void free_ep_req(struct usb_ep *ep, struct usb_request *req) in free_ep_req() 224 static void f_midi_read_data(struct usb_ep *ep, int cable, in f_midi_read_data() 240 static void f_midi_handle_out_data(struct usb_ep *ep, struct usb_request *req) in f_midi_handle_out_data() 254 f_midi_complete(struct usb_ep *ep, struct usb_request *req) in f_midi_complete() 307 struct usb_ep *ep) in f_midi_start_ep() 544 struct usb_ep *ep = midi->in_ep; in f_midi_transmit()
|
D | uvc.h | 113 struct usb_ep *ep; 162 struct usb_ep *control_ep;
|
D | s3c-hsudc.c | 110 struct usb_ep ep; 173 static inline struct s3c_hsudc_ep *our_ep(struct usb_ep *ep) in our_ep() 504 static int s3c_hsudc_set_halt(struct usb_ep *_ep, int value) in s3c_hsudc_set_halt() 548 static int s3c_hsudc_set_wedge(struct usb_ep *_ep) in s3c_hsudc_set_wedge() 755 static int s3c_hsudc_ep_enable(struct usb_ep *_ep, in s3c_hsudc_ep_enable() 803 static int s3c_hsudc_ep_disable(struct usb_ep *_ep) in s3c_hsudc_ep_disable() 834 static struct usb_request *s3c_hsudc_alloc_request(struct usb_ep *_ep, in s3c_hsudc_alloc_request() 854 static void s3c_hsudc_free_request(struct usb_ep *ep, struct usb_request *_req) in s3c_hsudc_free_request() 871 static int s3c_hsudc_queue(struct usb_ep *_ep, struct usb_request *_req, in s3c_hsudc_queue() 933 static int s3c_hsudc_dequeue(struct usb_ep *_ep, struct usb_request *_req) in s3c_hsudc_dequeue()
|
D | f_uac1.c | 258 struct usb_ep *out_ep; 298 static int f_audio_out_ep_complete(struct usb_ep *ep, struct usb_request *req) in f_audio_out_ep_complete() 329 static void f_audio_complete(struct usb_ep *ep, struct usb_request *req) in f_audio_complete() 334 struct usb_ep *out_ep = audio->out_ep; in f_audio_complete() 546 struct usb_ep *out_ep = audio->out_ep; in f_audio_set_alt() 633 struct usb_ep *ep; in f_audio_bind()
|
D | f_audio_source.c | 245 struct usb_ep *in_ep; 271 static struct usb_request *audio_request_new(struct usb_ep *ep, int buffer_size) in audio_request_new() 286 static void audio_request_free(struct usb_request *req, struct usb_ep *ep) in audio_request_free() 400 static void audio_control_complete(struct usb_ep *ep, struct usb_request *req) in audio_control_complete() 405 static void audio_data_complete(struct usb_ep *ep, struct usb_request *req) in audio_data_complete() 571 struct usb_ep *ep; in audio_bind()
|
D | f_mtp.c | 77 struct usb_ep *ep_in; 78 struct usb_ep *ep_out; 79 struct usb_ep *ep_intr; 280 static struct usb_request *mtp_request_new(struct usb_ep *ep, int buffer_size) in mtp_request_new() 296 static void mtp_request_free(struct usb_request *req, struct usb_ep *ep) in mtp_request_free() 348 static void mtp_complete_in(struct usb_ep *ep, struct usb_request *req) in mtp_complete_in() 360 static void mtp_complete_out(struct usb_ep *ep, struct usb_request *req) in mtp_complete_out() 371 static void mtp_complete_intr(struct usb_ep *ep, struct usb_request *req) in mtp_complete_intr() 390 struct usb_ep *ep; in mtp_create_bulk_endpoints()
|
D | fusb300_udc.c | 235 static int fusb300_enable(struct usb_ep *_ep, in fusb300_enable() 251 static int fusb300_disable(struct usb_ep *_ep) in fusb300_disable() 271 static struct usb_request *fusb300_alloc_request(struct usb_ep *_ep, in fusb300_alloc_request() 284 static void fusb300_free_request(struct usb_ep *_ep, struct usb_request *_req) in fusb300_free_request() 422 static int fusb300_queue(struct usb_ep *_ep, struct usb_request *_req, in fusb300_queue() 456 static int fusb300_dequeue(struct usb_ep *_ep, struct usb_request *_req) in fusb300_dequeue() 473 static int fusb300_set_halt_and_wedge(struct usb_ep *_ep, int value, int wedge) in fusb300_set_halt_and_wedge() 507 static int fusb300_set_halt(struct usb_ep *_ep, int value) in fusb300_set_halt() 512 static int fusb300_set_wedge(struct usb_ep *_ep) in fusb300_set_wedge() 517 static void fusb300_fifo_flush(struct usb_ep *_ep) in fusb300_fifo_flush()
|
D | u_ether.c | 196 static void rx_complete(struct usb_ep *ep, struct usb_request *req); 204 struct usb_ep *out; in rx_submit() 270 static void rx_complete(struct usb_ep *ep, struct usb_request *req) in rx_complete() 362 static int prealloc(struct list_head *list, struct usb_ep *ep, unsigned n) in prealloc() 456 static void tx_complete(struct usb_ep *ep, struct usb_request *req) in tx_complete() 497 struct usb_ep *in; in eth_start_xmit()
|
D | f_acm.c | 55 struct usb_ep *notify; 308 static void acm_complete_set_line_coding(struct usb_ep *ep, in acm_complete_set_line_coding() 494 struct usb_ep *ep = acm->notify; in acm_cdc_notify() 551 static void acm_cdc_notify_complete(struct usb_ep *ep, struct usb_request *req) in acm_cdc_notify_complete() 610 struct usb_ep *ep; in acm_bind()
|
/drivers/usb/musb/ |
D | musb_gadget.h | 62 musb_alloc_request(struct usb_ep *ep, gfp_t gfp_flags); 63 extern void musb_free_request(struct usb_ep *ep, struct usb_request *req); 71 struct usb_ep end_point; 95 static inline struct musb_ep *to_musb_ep(struct usb_ep *ep) in to_musb_ep()
|
D | musb_gadget_ep0.c | 915 musb_g_ep0_enable(struct usb_ep *ep, const struct usb_endpoint_descriptor *desc) in musb_g_ep0_enable() 921 static int musb_g_ep0_disable(struct usb_ep *e) in musb_g_ep0_disable() 928 musb_g_ep0_queue(struct usb_ep *e, struct usb_request *r, gfp_t gfp_flags) in musb_g_ep0_queue() 1009 static int musb_g_ep0_dequeue(struct usb_ep *ep, struct usb_request *req) in musb_g_ep0_dequeue() 1015 static int musb_g_ep0_halt(struct usb_ep *e, int value) in musb_g_ep0_halt()
|
/drivers/usb/renesas_usbhs/ |
D | mod_gadget.c | 37 struct usb_ep ep; 283 static void __usbhsg_recip_send_complete(struct usb_ep *ep, in __usbhsg_recip_send_complete() 558 static int usbhsg_ep_enable(struct usb_ep *ep, in usbhsg_ep_enable() 605 static int usbhsg_ep_disable(struct usb_ep *ep) in usbhsg_ep_disable() 612 static struct usb_request *usbhsg_ep_alloc_request(struct usb_ep *ep, in usbhsg_ep_alloc_request() 626 static void usbhsg_ep_free_request(struct usb_ep *ep, in usbhsg_ep_free_request() 635 static int usbhsg_ep_queue(struct usb_ep *ep, struct usb_request *req, in usbhsg_ep_queue() 654 static int usbhsg_ep_dequeue(struct usb_ep *ep, struct usb_request *req) in usbhsg_ep_dequeue() 666 static int __usbhsg_ep_set_halt_wedge(struct usb_ep *ep, int halt, int wedge) in __usbhsg_ep_set_halt_wedge() 699 static int usbhsg_ep_set_halt(struct usb_ep *ep, int value) in usbhsg_ep_set_halt() [all …]
|