Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/drivers/usb/gadget/
H A Df_sdp.c115 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 Df_thor.c570 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 Df_fastboot.c76 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 Df_thor.h108 struct usb_request *in_req, *out_req; member