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