Searched refs:in_req (Results 1 – 6 of 6) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/usb/gadget/function/ |
| H A D | f_loopback.c | 248 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 …]
|
| H A D | f_phonet.c | 50 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()
|
| /OK3568_Linux_fs/u-boot/drivers/usb/gadget/ |
| H A D | f_sdp.c | 115 struct usb_request *in_req; member 550 sdp->in_req = sdp_start_ep(sdp->in_ep); in sdp_set_alt() 551 sdp->in_req->context = sdp; in sdp_set_alt() 574 if (sdp->in_req) { in sdp_disable() 575 free(sdp->in_req); in sdp_disable() 576 sdp->in_req = NULL; in sdp_disable() 657 u8 *data = sdp_func->in_req->buf; in sdp_handle_in_ep() 668 sdp_func->in_req->length = 5; in sdp_handle_in_ep() 669 usb_ep_queue(sdp_func->in_ep, sdp_func->in_req, 0); in sdp_handle_in_ep() 678 sdp_func->in_req->length = 65; in sdp_handle_in_ep() [all …]
|
| H A D | f_thor.c | 570 unsigned char *ptr = dev->in_req->buf; in thor_tx_data() 576 dev->in_req->length = len; in thor_tx_data() 579 dev->in_req->length, sizeof(data)); in thor_tx_data() 581 status = usb_ep_queue(dev->in_ep, dev->in_req, 0); in thor_tx_data() 584 dev->in_ep->name, dev->in_req->length, status); in thor_tx_data() 677 debug("in_req:%p, out_req:%p\n", dev->in_req, dev->out_req); in thor_set_dma() 882 free_ep_req(dev->in_ep, dev->in_req); in thor_func_disable() 925 dev->in_req = req; in thor_eps_setup() 960 free_ep_req(dev->in_ep, dev->in_req); in thor_eps_setup() 961 dev->in_req = NULL; in thor_eps_setup()
|
| H A D | f_fastboot.c | 76 struct usb_request *in_req, *out_req; member 402 if (f_fb->in_req) { in fastboot_disable() 403 free(f_fb->in_req->buf); in fastboot_disable() 404 usb_ep_free_request(f_fb->in_ep, f_fb->in_req); in fastboot_disable() 405 f_fb->in_req = NULL; in fastboot_disable() 464 f_fb->in_req = fastboot_start_ep(f_fb->in_ep); in fastboot_set_alt() 465 if (!f_fb->in_req) { in fastboot_set_alt() 470 f_fb->in_req->complete = fastboot_complete; in fastboot_set_alt() 517 struct usb_request *in_req = fastboot_func->in_req; in fastboot_tx_write() local 520 memcpy(in_req->buf, buffer, buffer_size); in fastboot_tx_write() [all …]
|
| H A D | f_thor.h | 108 struct usb_request *in_req, *out_req; member
|