Lines Matching refs:usb_ep
20 struct usb_ep;
86 void (*complete)(struct usb_ep *ep,
105 int (*enable) (struct usb_ep *ep,
107 int (*disable) (struct usb_ep *ep);
109 struct usb_request *(*alloc_request) (struct usb_ep *ep,
111 void (*free_request) (struct usb_ep *ep, struct usb_request *req);
113 void *(*alloc_buffer) (struct usb_ep *ep, unsigned bytes,
115 void (*free_buffer) (struct usb_ep *ep, void *buf, dma_addr_t dma,
120 int (*queue) (struct usb_ep *ep, struct usb_request *req,
122 int (*dequeue) (struct usb_ep *ep, struct usb_request *req);
124 int (*set_halt) (struct usb_ep *ep, int value);
125 int (*fifo_status) (struct usb_ep *ep);
126 void (*fifo_flush) (struct usb_ep *ep);
144 struct usb_ep { struct
179 usb_ep_enable (struct usb_ep *ep, const struct usb_endpoint_descriptor *desc) in usb_ep_enable()
197 usb_ep_disable (struct usb_ep *ep) in usb_ep_disable()
217 usb_ep_alloc_request (struct usb_ep *ep, int gfp_flags) in usb_ep_alloc_request()
232 usb_ep_free_request (struct usb_ep *ep, struct usb_request *req) in usb_ep_free_request()
256 usb_ep_alloc_buffer (struct usb_ep *ep, unsigned len, dma_addr_t *dma, in usb_ep_alloc_buffer()
273 usb_ep_free_buffer (struct usb_ep *ep, void *buf, dma_addr_t dma, unsigned len) in usb_ep_free_buffer()
333 usb_ep_queue (struct usb_ep *ep, struct usb_request *req, int gfp_flags) in usb_ep_queue()
352 static inline int usb_ep_dequeue (struct usb_ep *ep, struct usb_request *req) in usb_ep_dequeue()
379 usb_ep_set_halt (struct usb_ep *ep) in usb_ep_set_halt()
398 usb_ep_clear_halt (struct usb_ep *ep) in usb_ep_clear_halt()
419 usb_ep_fifo_status (struct usb_ep *ep) in usb_ep_fifo_status()
437 usb_ep_fifo_flush (struct usb_ep *ep) in usb_ep_fifo_flush()
507 struct usb_ep *ep0;
889 extern struct usb_ep *usb_ep_autoconfig (struct usb_gadget *,