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

/linux-4.4.14/drivers/usb/gadget/function/
H A Df_loopback.c252 struct usb_request *in_req = req->context; loopback_complete() local
254 in_req->zero = (req->actual < req->length); loopback_complete()
255 in_req->length = req->actual; loopback_complete()
257 req = in_req; loopback_complete()
319 struct usb_request *in_req, *out_req; alloc_requests() local
332 in_req = usb_ep_alloc_request(loop->in_ep, GFP_ATOMIC); alloc_requests()
333 if (!in_req) alloc_requests()
340 in_req->complete = loopback_complete; alloc_requests()
343 in_req->buf = out_req->buf; alloc_requests()
345 in_req->context = out_req; alloc_requests()
346 out_req->context = in_req; alloc_requests()
361 usb_ep_free_request(loop->in_ep, in_req); alloc_requests()
H A Df_phonet.c53 struct usb_request *in_req; member in struct:f_phonet
241 req = fp->in_req; pn_net_xmit()
562 fp->in_req = usb_ep_alloc_request(fp->in_ep, GFP_KERNEL); pn_bind()
563 if (!fp->in_req) pn_bind()
663 if (fp->in_req) pn_unbind()
664 usb_ep_free_request(fp->in_ep, fp->in_req); pn_unbind()

Completed in 63 milliseconds