Home
last modified time | relevance | path

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

/linux/drivers/usb/gadget/function/
H A Df_loopback.c246 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()
[all …]
H A Df_phonet.c50 struct usb_request *in_req; member
239 req = fp->in_req; in pn_net_xmit()
557 fp->in_req = usb_ep_alloc_request(fp->in_ep, GFP_KERNEL); in pn_bind()
558 if (!fp->in_req) in pn_bind()
658 if (fp->in_req) in pn_unbind()
659 usb_ep_free_request(fp->in_ep, fp->in_req); in pn_unbind()
/linux/net/9p/
H A Dtrans_usbg.c45 struct usb_request *in_req; member
95 struct usb_request *req = usb9pfs->in_req; in usb9pfs_queue_tx()
270 if (usb9pfs->in_req) { in disable_usb9pfs()
271 usb_ep_free_request(usb9pfs->in_ep, usb9pfs->in_req); in disable_usb9pfs()
272 usb9pfs->in_req = NULL; in disable_usb9pfs()
291 usb9pfs->in_req = usb_ep_alloc_request(usb9pfs->in_ep, GFP_ATOMIC); in alloc_requests()
292 if (!usb9pfs->in_req) { in alloc_requests()
303 usb9pfs->in_req->complete = usb9pfs_tx_complete; in alloc_requests()
307 usb9pfs->in_req->context = usb9pfs; in alloc_requests()
313 usb_ep_free_request(usb9pfs->in_ep, usb9pfs->in_req); in alloc_requests()
[all …]