Lines Matching defs:ep
29 void ast_vhub_done(struct ast_vhub_ep *ep, struct ast_vhub_req *req,
33 struct ast_vhub *vhub = ep->vhub;
35 EPVDBG(ep, "completing request @%p, status %d\n", req, status);
43 if (!WARN_ON(!ep->dev))
45 &req->req, ep->epn.is_in);
54 spin_unlock(&ep->vhub->lock);
55 usb_gadget_giveback_request(&ep->ep, &req->req);
56 spin_lock(&ep->vhub->lock);
60 void ast_vhub_nuke(struct ast_vhub_ep *ep, int status)
66 while (!list_empty(&ep->queue)) {
67 req = list_first_entry(&ep->queue, struct ast_vhub_req, queue);
68 ast_vhub_done(ep, req, status);
72 EPDBG(ep, "Nuked %d request(s)\n", count);