Lines Matching refs:_req
570 struct usb_request *_req)
580 if (!_ep || !_req)
583 req = container_of(_req, struct langwell_request, req);
586 if (_req)
778 static int langwell_ep_queue(struct usb_ep *_ep, struct usb_request *_req,
788 req = container_of(_req, struct langwell_request, req);
791 if (!_req || !_req->complete || !_req->buf
813 if (_req->dma == DMA_ADDR_INVALID) {
814 if (_req->length == 0) {
817 _req->length++;
820 _req->dma = dma_map_single(&dev->pdev->dev,
821 _req->buf, _req->length,
823 if (zlflag && (_req->length == 1)) {
826 _req->length = 0;
833 _req->dma, _req->length,
841 _req, _req->length, _req->buf, (unsigned long long)_req->dma);
843 _req->status = -EINPROGRESS;
844 _req->actual = 0;
874 static int langwell_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req)
887 if (!_ep || !ep->desc || !_req)
910 if (&req->req == _req)
914 if (&req->req != _req) {
922 _req->status = -ECONNRESET;