Home
last modified time | relevance | path

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

/u-boot/drivers/usb/gadget/
A Df_fastboot.c46 struct usb_request *in_req, *out_req; member
289 if (f_fb->in_req) { in fastboot_disable()
290 free(f_fb->in_req->buf); in fastboot_disable()
292 f_fb->in_req = NULL; in fastboot_disable()
349 f_fb->in_req = fastboot_start_ep(f_fb->in_ep); in fastboot_set_alt()
350 if (!f_fb->in_req) { in fastboot_set_alt()
355 f_fb->in_req->complete = fastboot_complete; in fastboot_set_alt()
402 struct usb_request *in_req = fastboot_func->in_req; in fastboot_tx_write() local
405 memcpy(in_req->buf, buffer, buffer_size); in fastboot_tx_write()
406 in_req->length = buffer_size; in fastboot_tx_write()
[all …]
A Df_rockusb.c213 if (f_rkusb->in_req) { in rockusb_disable()
214 free(f_rkusb->in_req->buf); in rockusb_disable()
216 f_rkusb->in_req = NULL; in rockusb_disable()
279 if (!f_rkusb->in_req) { in rockusb_set_alt()
331 struct usb_request *in_req = rockusb_func->in_req; in rockusb_tx_write() local
335 in_req->length = buffer_size; 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()
480 in_req->length = transfer_size; in tx_handler_ul_image()
[all …]
A Df_sdp.c122 struct usb_request *in_req; member
636 sdp->in_req = sdp_start_ep(sdp->in_ep, true); in sdp_set_alt()
637 sdp->in_req->context = sdp; in sdp_set_alt()
665 if (sdp->in_req) { in sdp_disable()
666 free(sdp->in_req->buf); in sdp_disable()
667 usb_ep_free_request(sdp->in_ep, sdp->in_req); in sdp_disable()
668 sdp->in_req = NULL; in sdp_disable()
778 u8 *data = sdp_func->in_req->buf; in sdp_handle_in_ep()
789 sdp_func->in_req->length = 5; in sdp_handle_in_ep()
799 sdp_func->in_req->length = 65; in sdp_handle_in_ep()
[all …]
A Df_thor.c574 unsigned char *ptr = dev->in_req->buf; in thor_tx_data()
580 dev->in_req->length = len; in thor_tx_data()
583 dev->in_req->length, sizeof(data)); in thor_tx_data()
585 status = usb_ep_queue(dev->in_ep, dev->in_req, 0); in thor_tx_data()
588 dev->in_ep->name, dev->in_req->length, status); in thor_tx_data()
681 debug("in_req:%p, out_req:%p\n", dev->in_req, dev->out_req); in thor_set_dma()
888 free_ep_req(dev->in_ep, dev->in_req); in thor_func_disable()
931 dev->in_req = req; in thor_eps_setup()
966 free_ep_req(dev->in_ep, dev->in_req); in thor_eps_setup()
967 dev->in_req = NULL; in thor_eps_setup()
A Df_thor.h107 struct usb_request *in_req, *out_req; member
/u-boot/arch/arm/include/asm/arch-rockchip/
A Df_rockusb.h118 struct usb_request *in_req, *out_req; member

Completed in 11 milliseconds