Home | History | Annotate | Download | only in gadget

Lines Matching refs:in_req

43 	struct usb_request *in_req, *out_req;
211 if (f_fb->in_req) {
212 free(f_fb->in_req->buf);
213 usb_ep_free_request(f_fb->in_ep, f_fb->in_req);
214 f_fb->in_req = NULL;
271 f_fb->in_req = fastboot_start_ep(f_fb->in_ep);
272 if (!f_fb->in_req) {
277 f_fb->in_req->complete = fastboot_complete;
324 struct usb_request *in_req = fastboot_func->in_req;
327 memcpy(in_req->buf, buffer, buffer_size);
328 in_req->length = buffer_size;
330 usb_ep_dequeue(fastboot_func->in_ep, in_req);
332 ret = usb_ep_queue(fastboot_func->in_ep, in_req, 0);
446 fastboot_func->in_req->complete = do_bootm_on_complete;
450 fastboot_func->in_req->complete = do_exit_on_complete;
455 fastboot_func->in_req->complete = compl_do_reset;