Lines Matching refs:in_req
213 if (f_rkusb->in_req) { in rockusb_disable()
214 free(f_rkusb->in_req->buf); in rockusb_disable()
215 usb_ep_free_request(f_rkusb->in_ep, f_rkusb->in_req); in rockusb_disable()
216 f_rkusb->in_req = NULL; in rockusb_disable()
278 f_rkusb->in_req = rockusb_start_ep(f_rkusb->in_ep); in rockusb_set_alt()
279 if (!f_rkusb->in_req) { in rockusb_set_alt()
284 f_rkusb->in_req->complete = rockusb_complete; in rockusb_set_alt()
331 struct usb_request *in_req = rockusb_func->in_req; in rockusb_tx_write() local
334 memcpy(in_req->buf, buffer, buffer_size); in rockusb_tx_write()
335 in_req->length = buffer_size; in rockusb_tx_write()
337 usb_ep_dequeue(rockusb_func->in_ep, in_req); in rockusb_tx_write()
338 ret = usb_ep_queue(rockusb_func->in_ep, in_req, 0); in rockusb_tx_write()
435 struct usb_request *in_req = rockusb_func->in_req; in tx_handler_ul_image() local
445 in_req->length = 0; in tx_handler_ul_image()
446 in_req->complete = rockusb_complete; in tx_handler_ul_image()
479 memcpy(in_req->buf, rbuffer, transfer_size); in tx_handler_ul_image()
480 in_req->length = transfer_size; in tx_handler_ul_image()
481 in_req->complete = tx_handler_ul_image; in tx_handler_ul_image()
483 usb_ep_dequeue(rockusb_func->in_ep, in_req); in tx_handler_ul_image()
484 ret = usb_ep_queue(rockusb_func->in_ep, in_req, 0); in tx_handler_ul_image()
573 f_rkusb->in_req->complete = tx_handler_send_csw; in cb_read_storage_id()
615 f_rkusb->in_req->complete = tx_handler_send_csw; in cb_get_chip_version()
770 rockusb_func->in_req->complete = compl_do_reset; in cb_reboot()