Home
last modified time | relevance | path

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

123456

/drivers/usb/gadget/udc/
Dtrace.h140 TP_PROTO(struct usb_ep *ep, int ret),
174 TP_PROTO(struct usb_ep *ep, int ret),
179 TP_PROTO(struct usb_ep *ep, int ret),
184 TP_PROTO(struct usb_ep *ep, int ret),
189 TP_PROTO(struct usb_ep *ep, int ret),
194 TP_PROTO(struct usb_ep *ep, int ret),
199 TP_PROTO(struct usb_ep *ep, int ret),
204 TP_PROTO(struct usb_ep *ep, int ret),
209 TP_PROTO(struct usb_ep *ep, int ret),
214 TP_PROTO(struct usb_ep *ep, struct usb_request *req, int ret),
[all …]
Dtegra-xudc.c398 struct usb_ep usb_ep; member
608 static inline struct tegra_xudc_ep *to_xudc_ep(struct usb_ep *ep) in to_xudc_ep()
610 return container_of(ep, struct tegra_xudc_ep, usb_ep); in to_xudc_ep()
1047 usb_gadget_giveback_request(&ep->usb_ep, &req->usb_req); in tegra_xudc_req_done()
1284 ((req->usb_req.length % ep->usb_ep.maxpacket) == 0)) { in __tegra_xudc_ep_queue()
1300 tegra_xudc_ep_queue(struct usb_ep *usb_ep, struct usb_request *usb_req, in tegra_xudc_ep_queue() argument
1309 if (!usb_ep || !usb_req) in tegra_xudc_ep_queue()
1312 ep = to_xudc_ep(usb_ep); in tegra_xudc_ep_queue()
1510 tegra_xudc_ep_dequeue(struct usb_ep *usb_ep, struct usb_request *usb_req) in tegra_xudc_ep_dequeue() argument
1518 if (!usb_ep || !usb_req) in tegra_xudc_ep_dequeue()
[all …]
Dcore.c81 void usb_ep_set_maxpacket_limit(struct usb_ep *ep, in usb_ep_set_maxpacket_limit()
113 int usb_ep_enable(struct usb_ep *ep) in usb_ep_enable()
158 int usb_ep_disable(struct usb_ep *ep) in usb_ep_disable()
192 struct usb_request *usb_ep_alloc_request(struct usb_ep *ep, in usb_ep_alloc_request()
214 void usb_ep_free_request(struct usb_ep *ep, in usb_ep_free_request()
290 int usb_ep_queue(struct usb_ep *ep, in usb_ep_queue()
326 int usb_ep_dequeue(struct usb_ep *ep, struct usb_request *req) in usb_ep_dequeue()
360 int usb_ep_set_halt(struct usb_ep *ep) in usb_ep_set_halt()
386 int usb_ep_clear_halt(struct usb_ep *ep) in usb_ep_clear_halt()
409 int usb_ep_set_wedge(struct usb_ep *ep) in usb_ep_set_wedge()
[all …]
Dpxa27x_udc.c572 pxa_ep_alloc_request(struct usb_ep *_ep, gfp_t gfp_flags) in pxa_ep_alloc_request()
582 req->udc_usb_ep = container_of(_ep, struct udc_usb_ep, usb_ep); in pxa_ep_alloc_request()
594 static void pxa_ep_free_request(struct usb_ep *_ep, struct usb_request *_req) in pxa_ep_free_request()
679 usb_gadget_giveback_request(&req->udc_usb_ep->usb_ep, &req->req); in req_done()
1043 static int pxa_ep_queue(struct usb_ep *_ep, struct usb_request *_req, in pxa_ep_queue()
1057 udc_usb_ep = container_of(_ep, struct udc_usb_ep, usb_ep); in pxa_ep_queue()
1158 static int pxa_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) in pxa_ep_dequeue()
1168 udc_usb_ep = container_of(_ep, struct udc_usb_ep, usb_ep); in pxa_ep_dequeue()
1197 static int pxa_ep_set_halt(struct usb_ep *_ep, int value) in pxa_ep_set_halt()
1207 udc_usb_ep = container_of(_ep, struct udc_usb_ep, usb_ep); in pxa_ep_set_halt()
[all …]
Dfotg210-udc.c157 static int fotg210_ep_enable(struct usb_ep *_ep, in fotg210_ep_enable()
209 static int fotg210_ep_disable(struct usb_ep *_ep) in fotg210_ep_disable()
230 static struct usb_request *fotg210_ep_alloc_request(struct usb_ep *_ep, in fotg210_ep_alloc_request()
244 static void fotg210_ep_free_request(struct usb_ep *_ep, in fotg210_ep_free_request()
393 static int fotg210_ep_queue(struct usb_ep *_ep, struct usb_request *_req, in fotg210_ep_queue()
427 static int fotg210_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) in fotg210_ep_dequeue()
479 static int fotg210_set_halt_and_wedge(struct usb_ep *_ep, int value, int wedge) in fotg210_set_halt_and_wedge()
509 static int fotg210_ep_set_halt(struct usb_ep *_ep, int value) in fotg210_ep_set_halt()
514 static int fotg210_ep_set_wedge(struct usb_ep *_ep) in fotg210_ep_set_wedge()
519 static void fotg210_ep_fifo_flush(struct usb_ep *_ep) in fotg210_ep_fifo_flush()
[all …]
Ds3c-hsudc.c106 struct usb_ep ep;
166 static inline struct s3c_hsudc_ep *our_ep(struct usb_ep *ep) in our_ep()
448 static int s3c_hsudc_set_halt(struct usb_ep *_ep, int value) in s3c_hsudc_set_halt()
492 static int s3c_hsudc_set_wedge(struct usb_ep *_ep) in s3c_hsudc_set_wedge()
699 static int s3c_hsudc_ep_enable(struct usb_ep *_ep, in s3c_hsudc_ep_enable()
747 static int s3c_hsudc_ep_disable(struct usb_ep *_ep) in s3c_hsudc_ep_disable()
777 static struct usb_request *s3c_hsudc_alloc_request(struct usb_ep *_ep, in s3c_hsudc_alloc_request()
797 static void s3c_hsudc_free_request(struct usb_ep *ep, struct usb_request *_req) in s3c_hsudc_free_request()
814 static int s3c_hsudc_queue(struct usb_ep *_ep, struct usb_request *_req, in s3c_hsudc_queue()
876 static int s3c_hsudc_dequeue(struct usb_ep *_ep, struct usb_request *_req) in s3c_hsudc_dequeue()
/drivers/usb/gadget/
Depautoconf.c63 struct usb_ep *usb_ep_autoconfig_ss( in usb_ep_autoconfig_ss()
69 struct usb_ep *ep; in usb_ep_autoconfig_ss()
149 struct usb_ep *usb_ep_autoconfig( in usb_ep_autoconfig()
154 struct usb_ep *ep; in usb_ep_autoconfig()
187 void usb_ep_autoconfig_release(struct usb_ep *ep) in usb_ep_autoconfig_release()
205 struct usb_ep *ep; in usb_ep_autoconfig_reset()
Du_f.h60 struct usb_ep;
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()
/drivers/usb/gadget/function/
Dg_zero.h70 struct usb_ep *in, struct usb_ep *out,
71 struct usb_ep *iso_in, struct usb_ep *iso_out);
Du_serial.h40 struct usb_ep *in;
41 struct usb_ep *out;
53 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);
Dtcm.h121 struct usb_ep *ep_in;
122 struct usb_ep *ep_out;
125 struct usb_ep *ep_status;
126 struct usb_ep *ep_cmd;
Du_audio.h64 struct usb_ep *in_ep;
66 struct usb_ep *out_ep;
68 struct usb_ep *in_ep_fback;
Df_sourcesink.c37 struct usb_ep *in_ep;
38 struct usb_ep *out_ep;
39 struct usb_ep *iso_in_ep;
40 struct usb_ep *iso_out_ep;
290 static inline struct usb_request *ss_alloc_ep_req(struct usb_ep *ep, int len) in ss_alloc_ep_req()
295 static void disable_ep(struct usb_composite_dev *cdev, struct usb_ep *ep) in disable_ep()
305 struct usb_ep *in, struct usb_ep *out, in disable_endpoints()
306 struct usb_ep *iso_in, struct usb_ep *iso_out) in disable_endpoints()
502 static void reinit_write_data(struct usb_ep *ep, struct usb_request *req) in reinit_write_data()
522 static void source_sink_complete(struct usb_ep *ep, struct usb_request *req) in source_sink_complete()
[all …]
Du_serial.c165 gs_alloc_req(struct usb_ep *ep, unsigned len, gfp_t kmalloc_flags) in gs_alloc_req()
189 void gs_free_req(struct usb_ep *ep, struct usb_request *req) in gs_free_req()
236 struct usb_ep *in; in gs_start_tx()
308 struct usb_ep *out = port->port_usb->out; in gs_start_rx()
452 static void gs_read_complete(struct usb_ep *ep, struct usb_request *req) in gs_read_complete()
463 static void gs_write_complete(struct usb_ep *ep, struct usb_request *req) in gs_write_complete()
491 static void gs_free_requests(struct usb_ep *ep, struct list_head *head, in gs_free_requests()
505 static int gs_alloc_requests(struct usb_ep *ep, struct list_head *head, in gs_alloc_requests()
506 void (*fn)(struct usb_ep *, struct usb_request *), in gs_alloc_requests() argument
541 struct usb_ep *ep; in gs_start_io()
[all …]
Duvc.h25 struct usb_ep;
89 struct usb_ep *ep;
159 struct usb_ep *control_ep;
Df_loopback.c31 struct usb_ep *in_ep;
32 struct usb_ep *out_ep;
235 static void loopback_complete(struct usb_ep *ep, struct usb_request *req) in loopback_complete()
305 static inline struct usb_request *lb_alloc_ep_req(struct usb_ep *ep, int len) in lb_alloc_ep_req()
361 struct f_loopback *loop, struct usb_ep *ep) in enable_endpoint()
/drivers/usb/gadget/udc/bdc/
Dbdc_ep.c552 usb_gadget_giveback_request(&ep->usb_ep, &req->usb_req); in bdc_req_complete()
595 ep->usb_ep.desc = NULL; in bdc_ep_disable()
626 ep->usb_ep.maxpacket = usb_endpoint_maxp(ep->desc); in bdc_ep_enable()
627 ep->usb_ep.desc = ep->desc; in bdc_ep_enable()
628 ep->usb_ep.comp_desc = ep->comp_desc; in bdc_ep_enable()
714 if (!req || !ep->usb_ep.desc) in ep_queue()
760 ep, (void *)ep->usb_ep.desc); in ep_dequeue()
917 list_del(&ep->usb_ep.ep_list); in bdc_free_ep()
1379 static void ep0_set_sel_cmpl(struct usb_ep *_ep, struct usb_request *_req) in ep0_set_sel_cmpl()
1710 static int bdc_gadget_ep_queue(struct usb_ep *_ep, in bdc_gadget_ep_queue()
[all …]
/drivers/usb/gadget/legacy/
Ddbgp.c29 struct usb_ep *i_ep;
30 struct usb_ep *o_ep;
81 static void __disable_ep(struct usb_ep *ep) in __disable_ep()
92 static void dbgp_complete(struct usb_ep *ep, struct usb_request *req) in dbgp_complete()
128 static int dbgp_enable_ep_req(struct usb_ep *ep) in dbgp_enable_ep_req()
167 static int __enable_ep(struct usb_ep *ep, struct usb_endpoint_descriptor *desc) in __enable_ep()
330 static void dbgp_setup_complete(struct usb_ep *ep, in dbgp_setup_complete()
/drivers/usb/usbip/
Dvudc_dev.c229 static int vep_enable(struct usb_ep *_ep, in vep_enable()
260 static int vep_disable(struct usb_ep *_ep) in vep_disable()
279 static struct usb_request *vep_alloc_request(struct usb_ep *_ep, in vep_alloc_request()
296 static void vep_free_request(struct usb_ep *_ep, struct usb_request *_req) in vep_free_request()
308 static int vep_queue(struct usb_ep *_ep, struct usb_request *_req, in vep_queue()
333 static int vep_dequeue(struct usb_ep *_ep, struct usb_request *_req) in vep_dequeue()
370 vep_set_halt_and_wedge(struct usb_ep *_ep, int value, int wedged) in vep_set_halt_and_wedge()
402 vep_set_halt(struct usb_ep *_ep, int value) in vep_set_halt()
407 static int vep_set_wedge(struct usb_ep *_ep) in vep_set_wedge()
/drivers/usb/musb/
Dmusb_gadget.h66 musb_alloc_request(struct usb_ep *ep, gfp_t gfp_flags);
67 extern void musb_free_request(struct usb_ep *ep, struct usb_request *req);
75 struct usb_ep end_point;
/drivers/usb/dwc3/
Dgadget.h115 int __dwc3_gadget_ep0_set_halt(struct usb_ep *ep, int value);
116 int dwc3_gadget_ep0_set_halt(struct usb_ep *ep, int value);
117 int dwc3_gadget_ep0_queue(struct usb_ep *ep, struct usb_request *request,
/drivers/usb/renesas_usbhs/
Dmod_gadget.c30 struct usb_ep ep;
301 static void __usbhsg_recip_send_complete(struct usb_ep *ep, in __usbhsg_recip_send_complete()
579 static int usbhsg_ep_enable(struct usb_ep *ep, in usbhsg_ep_enable()
636 static int usbhsg_ep_disable(struct usb_ep *ep) in usbhsg_ep_disable()
659 static struct usb_request *usbhsg_ep_alloc_request(struct usb_ep *ep, in usbhsg_ep_alloc_request()
673 static void usbhsg_ep_free_request(struct usb_ep *ep, in usbhsg_ep_free_request()
682 static int usbhsg_ep_queue(struct usb_ep *ep, struct usb_request *req, in usbhsg_ep_queue()
701 static int usbhsg_ep_dequeue(struct usb_ep *ep, struct usb_request *req) in usbhsg_ep_dequeue()
723 static int __usbhsg_ep_set_halt_wedge(struct usb_ep *ep, int halt, int wedge) in __usbhsg_ep_set_halt_wedge()
768 static int usbhsg_ep_set_halt(struct usb_ep *ep, int value) in usbhsg_ep_set_halt()
[all …]
/drivers/usb/mtu3/
Dmtu3.h274 struct usb_ep ep;
379 static inline struct mtu3_ep *to_mtu3_ep(struct usb_ep *ep) in to_mtu3_ep()
417 struct usb_request *mtu3_alloc_request(struct usb_ep *ep, gfp_t gfp_flags);
418 void mtu3_free_request(struct usb_ep *ep, struct usb_request *req);
Dmtu3_gadget.c152 static int mtu3_gadget_ep_enable(struct usb_ep *ep, in mtu3_gadget_ep_enable()
207 static int mtu3_gadget_ep_disable(struct usb_ep *ep) in mtu3_gadget_ep_disable()
233 struct usb_request *mtu3_alloc_request(struct usb_ep *ep, gfp_t gfp_flags) in mtu3_alloc_request()
251 void mtu3_free_request(struct usb_ep *ep, struct usb_request *req) in mtu3_free_request()
259 static int mtu3_gadget_queue(struct usb_ep *ep, in mtu3_gadget_queue()
322 static int mtu3_gadget_dequeue(struct usb_ep *ep, struct usb_request *req) in mtu3_gadget_dequeue()
363 static int mtu3_gadget_ep_set_halt(struct usb_ep *ep, int value) in mtu3_gadget_ep_set_halt()
409 static int mtu3_gadget_ep_set_wedge(struct usb_ep *ep) in mtu3_gadget_ep_set_wedge()
/drivers/usb/gadget/udc/aspeed-vhub/
Depn.c328 static int ast_vhub_epn_queue(struct usb_ep* u_ep, struct usb_request *u_req, in ast_vhub_epn_queue()
465 static int ast_vhub_epn_dequeue(struct usb_ep* u_ep, struct usb_request *u_req) in ast_vhub_epn_dequeue()
514 static int ast_vhub_set_halt_and_wedge(struct usb_ep* u_ep, bool halt, in ast_vhub_set_halt_and_wedge()
546 static int ast_vhub_epn_set_halt(struct usb_ep *u_ep, int value) in ast_vhub_epn_set_halt()
551 static int ast_vhub_epn_set_wedge(struct usb_ep *u_ep) in ast_vhub_epn_set_wedge()
556 static int ast_vhub_epn_disable(struct usb_ep* u_ep) in ast_vhub_epn_disable()
593 static int ast_vhub_epn_enable(struct usb_ep* u_ep, in ast_vhub_epn_enable()
753 static void ast_vhub_epn_dispose(struct usb_ep *u_ep) in ast_vhub_epn_dispose()

123456