Searched refs:ep0req (Results 1 – 3 of 3) sorted by relevance
152 * at a time. As a consequence protects ep0req and company.173 struct usb_request *ep0req; /* P: mutex */ member
313 struct usb_request *req = ffs->ep0req; in __ffs_ep0_queue_wait() 2286 ffs->ep0req = usb_ep_alloc_request(cdev->gadget->ep0, GFP_KERNEL); in functionfs_bind() 2287 if (!ffs->ep0req) in functionfs_bind() 2289 ffs->ep0req->complete = ffs_ep0_complete; in functionfs_bind() 2290 ffs->ep0req->context = ffs; in functionfs_bind() 2310 /* dequeue before freeing ep0req */ in functionfs_unbind() 2311 usb_ep_dequeue(ffs->gadget->ep0, ffs->ep0req); in functionfs_unbind() 2313 usb_ep_free_request(ffs->gadget->ep0, ffs->ep0req); in functionfs_unbind() 2314 ffs->ep0req = NULL; in functionfs_unbind()
176 struct max3420_req ep0req; member 1236 udc->ep0req.ep = &udc->ep[0]; in max3420_probe() 1237 udc->ep0req.usb_req.buf = udc->ep0buf; in max3420_probe() 1238 INIT_LIST_HEAD(&udc->ep0req.queue); in max3420_probe()