Lines Matching refs:in_req
246 struct usb_request *in_req = req->context; in loopback_complete() local
248 in_req->zero = (req->actual < req->length); in loopback_complete()
249 in_req->length = req->actual; in loopback_complete()
251 req = in_req; in loopback_complete()
311 struct usb_request *in_req, *out_req; in alloc_requests() local
324 in_req = usb_ep_alloc_request(loop->in_ep, GFP_ATOMIC); in alloc_requests()
325 if (!in_req) in alloc_requests()
332 in_req->complete = loopback_complete; in alloc_requests()
335 in_req->buf = out_req->buf; in alloc_requests()
337 in_req->context = out_req; in alloc_requests()
338 out_req->context = in_req; in alloc_requests()
353 usb_ep_free_request(loop->in_ep, in_req); in alloc_requests()