Home
last modified time | relevance | path

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

123456

/linux-6.1.9/include/linux/usb/
Dgadget.h30 struct usb_ep;
114 void (*complete)(struct usb_ep *ep,
135 int (*enable) (struct usb_ep *ep,
137 int (*disable) (struct usb_ep *ep);
138 void (*dispose) (struct usb_ep *ep);
140 struct usb_request *(*alloc_request) (struct usb_ep *ep,
142 void (*free_request) (struct usb_ep *ep, struct usb_request *req);
144 int (*queue) (struct usb_ep *ep, struct usb_request *req,
146 int (*dequeue) (struct usb_ep *ep, struct usb_request *req);
148 int (*set_halt) (struct usb_ep *ep, int value);
[all …]
/linux-6.1.9/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.c69 void usb_ep_set_maxpacket_limit(struct usb_ep *ep, in usb_ep_set_maxpacket_limit()
101 int usb_ep_enable(struct usb_ep *ep) in usb_ep_enable()
146 int usb_ep_disable(struct usb_ep *ep) in usb_ep_disable()
180 struct usb_request *usb_ep_alloc_request(struct usb_ep *ep, in usb_ep_alloc_request()
202 void usb_ep_free_request(struct usb_ep *ep, in usb_ep_free_request()
278 int usb_ep_queue(struct usb_ep *ep, in usb_ep_queue()
314 int usb_ep_dequeue(struct usb_ep *ep, struct usb_request *req) in usb_ep_dequeue()
348 int usb_ep_set_halt(struct usb_ep *ep) in usb_ep_set_halt()
374 int usb_ep_clear_halt(struct usb_ep *ep) in usb_ep_clear_halt()
397 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 …]
/linux-6.1.9/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()
/linux-6.1.9/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;
Duvc.h25 struct usb_ep;
88 struct usb_ep *ep;
149 struct usb_ep *control_ep;
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.c162 gs_alloc_req(struct usb_ep *ep, unsigned len, gfp_t kmalloc_flags) in gs_alloc_req()
186 void gs_free_req(struct usb_ep *ep, struct usb_request *req) in gs_free_req()
233 struct usb_ep *in; in gs_start_tx()
305 struct usb_ep *out = port->port_usb->out; in gs_start_rx()
449 static void gs_read_complete(struct usb_ep *ep, struct usb_request *req) in gs_read_complete()
460 static void gs_write_complete(struct usb_ep *ep, struct usb_request *req) in gs_write_complete()
488 static void gs_free_requests(struct usb_ep *ep, struct list_head *head, in gs_free_requests()
502 static int gs_alloc_requests(struct usb_ep *ep, struct list_head *head, in gs_alloc_requests()
503 void (*fn)(struct usb_ep *, struct usb_request *), in gs_alloc_requests() argument
538 struct usb_ep *ep = port->port_usb->out; in gs_start_io()
[all …]
Du_ether.h59 struct usb_ep *in_ep;
60 struct usb_ep *out_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()
/linux-6.1.9/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 …]
/linux-6.1.9/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()
/linux-6.1.9/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;
/linux-6.1.9/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()
Dvudc.h26 struct usb_ep ep;
122 static inline struct vep *to_vep(struct usb_ep *_ep) in to_vep()
/linux-6.1.9/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,
/linux-6.1.9/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()
/linux-6.1.9/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 …]

123456