Searched refs:in_req (Results 1 – 8 of 8) sorted by relevance
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | f_fastboot.c | 43 struct usb_request *in_req, *out_req; member 211 if (f_fb->in_req) { in fastboot_disable() 212 free(f_fb->in_req->buf); in fastboot_disable() 214 f_fb->in_req = NULL; in fastboot_disable() 271 f_fb->in_req = fastboot_start_ep(f_fb->in_ep); in fastboot_set_alt() 272 if (!f_fb->in_req) { in fastboot_set_alt() 277 f_fb->in_req->complete = fastboot_complete; in fastboot_set_alt() 324 struct usb_request *in_req = fastboot_func->in_req; in fastboot_tx_write() local 327 memcpy(in_req->buf, buffer, buffer_size); in fastboot_tx_write() 328 in_req->length = buffer_size; in fastboot_tx_write() [all …]
|
H A D | f_rockusb.c | 209 if (f_rkusb->in_req) { in rockusb_disable() 210 free(f_rkusb->in_req->buf); in rockusb_disable() 212 f_rkusb->in_req = NULL; in rockusb_disable() 275 if (!f_rkusb->in_req) { in rockusb_set_alt() 326 struct usb_request *in_req = rockusb_func->in_req; in rockusb_tx_write() local 330 in_req->length = buffer_size; in rockusb_tx_write() 430 struct usb_request *in_req = rockusb_func->in_req; in tx_handler_ul_image() local 440 in_req->length = 0; in tx_handler_ul_image() 441 in_req->complete = rockusb_complete; in tx_handler_ul_image() 475 in_req->length = transfer_size; in tx_handler_ul_image() [all …]
|
H A D | f_sdp.c | 114 struct usb_request *in_req; member 549 sdp->in_req = sdp_start_ep(sdp->in_ep); in sdp_set_alt() 550 sdp->in_req->context = sdp; in sdp_set_alt() 573 if (sdp->in_req) { in sdp_disable() 574 free(sdp->in_req); in sdp_disable() 575 sdp->in_req = NULL; in sdp_disable() 643 u8 *data = sdp_func->in_req->buf; in sdp_handle_in_ep() 654 sdp_func->in_req->length = 5; in sdp_handle_in_ep() 655 usb_ep_queue(sdp_func->in_ep, sdp_func->in_req, 0); in sdp_handle_in_ep() 664 sdp_func->in_req->length = 65; in sdp_handle_in_ep() [all …]
|
H A D | f_thor.c | 569 unsigned char *ptr = dev->in_req->buf; in thor_tx_data() 575 dev->in_req->length = len; in thor_tx_data() 578 dev->in_req->length, sizeof(data)); in thor_tx_data() 580 status = usb_ep_queue(dev->in_ep, dev->in_req, 0); in thor_tx_data() 583 dev->in_ep->name, dev->in_req->length, status); in thor_tx_data() 676 debug("in_req:%p, out_req:%p\n", dev->in_req, dev->out_req); in thor_set_dma() 881 free_ep_req(dev->in_ep, dev->in_req); in thor_func_disable() 924 dev->in_req = req; in thor_eps_setup() 952 free_ep_req(dev->in_ep, dev->in_req); in thor_eps_setup() 953 dev->in_req = NULL; in thor_eps_setup()
|
H A D | f_thor.h | 107 struct usb_request *in_req, *out_req; member
|
/openbmc/linux/drivers/usb/gadget/function/ |
H A D | f_loopback.c | 246 struct usb_request *in_req = req->context; in loopback_complete() local 248 in_req->zero = (req->actual < req->length); in loopback_complete() 249 in_req->length = req->actual; in loopback_complete() 251 req = in_req; in loopback_complete() 311 struct usb_request *in_req, *out_req; in alloc_requests() local 325 if (!in_req) in alloc_requests() 332 in_req->complete = loopback_complete; in alloc_requests() 335 in_req->buf = out_req->buf; in alloc_requests() 337 in_req->context = out_req; in alloc_requests() 338 out_req->context = in_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() 557 fp->in_req = usb_ep_alloc_request(fp->in_ep, GFP_KERNEL); in pn_bind() 558 if (!fp->in_req) in pn_bind() 658 if (fp->in_req) in pn_unbind() 659 usb_ep_free_request(fp->in_ep, fp->in_req); in pn_unbind()
|
/openbmc/u-boot/arch/arm/include/asm/arch-rockchip/ |
H A D | f_rockusb.h | 118 struct usb_request *in_req, *out_req; member
|