Lines Matching refs:_ep

229 static int vep_enable(struct usb_ep *_ep,  in vep_enable()  argument
237 ep = to_vep(_ep); in vep_enable()
240 if (!_ep || !desc || ep->desc || _ep->caps.type_control in vep_enable()
250 _ep->maxpacket = maxp; in vep_enable()
260 static int vep_disable(struct usb_ep *_ep) in vep_disable() argument
266 ep = to_vep(_ep); in vep_disable()
268 if (!_ep || !ep->desc || _ep->caps.type_control) in vep_disable()
279 static struct usb_request *vep_alloc_request(struct usb_ep *_ep, in vep_alloc_request() argument
284 if (!_ep) in vep_alloc_request()
296 static void vep_free_request(struct usb_ep *_ep, struct usb_request *_req) in vep_free_request() argument
308 static int vep_queue(struct usb_ep *_ep, struct usb_request *_req, in vep_queue() argument
316 if (!_ep || !_req) in vep_queue()
319 ep = to_vep(_ep); in vep_queue()
333 static int vep_dequeue(struct usb_ep *_ep, struct usb_request *_req) in vep_dequeue() argument
342 if (!_ep || !_req) in vep_dequeue()
345 ep = to_vep(_ep); in vep_dequeue()
364 usb_gadget_giveback_request(_ep, _req); in vep_dequeue()
370 vep_set_halt_and_wedge(struct usb_ep *_ep, int value, int wedged) in vep_set_halt_and_wedge() argument
377 ep = to_vep(_ep); in vep_set_halt_and_wedge()
378 if (!_ep) in vep_set_halt_and_wedge()
402 vep_set_halt(struct usb_ep *_ep, int value) in vep_set_halt() argument
404 return vep_set_halt_and_wedge(_ep, value, 0); in vep_set_halt()
407 static int vep_set_wedge(struct usb_ep *_ep) in vep_set_wedge() argument
409 return vep_set_halt_and_wedge(_ep, 1, 1); in vep_set_wedge()