Home
last modified time | relevance | path

Searched refs:in_req (Results 1 – 2 of 2) sorted by relevance

/drivers/usb/gadget/function/
Df_loopback.c248 struct usb_request *in_req = req->context; in loopback_complete() local
250 in_req->zero = (req->actual < req->length); in loopback_complete()
251 in_req->length = req->actual; in loopback_complete()
253 req = in_req; in loopback_complete()
313 struct usb_request *in_req, *out_req; in alloc_requests() local
326 in_req = usb_ep_alloc_request(loop->in_ep, GFP_ATOMIC); in alloc_requests()
327 if (!in_req) in alloc_requests()
334 in_req->complete = loopback_complete; in alloc_requests()
337 in_req->buf = out_req->buf; in alloc_requests()
339 in_req->context = out_req; in alloc_requests()
[all …]
Df_phonet.c50 struct usb_request *in_req; member
239 req = fp->in_req; in pn_net_xmit()
554 fp->in_req = usb_ep_alloc_request(fp->in_ep, GFP_KERNEL); in pn_bind()
555 if (!fp->in_req) in pn_bind()
655 if (fp->in_req) in pn_unbind()
656 usb_ep_free_request(fp->in_ep, fp->in_req); in pn_unbind()