Home
last modified time | relevance | path

Searched refs:in_ep (Results 1 – 5 of 5) sorted by relevance

/rk3399_rockchip-uboot/drivers/usb/gadget/
H A Df_sdp.c114 struct usb_ep *in_ep; member
491 sdp->in_ep = ep; /* Store IN EP for enabling @ setup */ in sdp_bind()
547 result = usb_ep_enable(sdp->in_ep, &in_desc); in sdp_set_alt()
550 sdp->in_req = sdp_start_ep(sdp->in_ep); in sdp_set_alt()
553 sdp->in_ep->driver_data = cdev; /* claim */ in sdp_set_alt()
572 usb_ep_disable(sdp->in_ep); in sdp_disable()
669 usb_ep_queue(sdp_func->in_ep, sdp_func->in_req, 0); in sdp_handle_in_ep()
679 usb_ep_queue(sdp_func->in_ep, sdp_func->in_req, 0); in sdp_handle_in_ep()
697 usb_ep_queue(sdp_func->in_ep, sdp_func->in_req, 0); in sdp_handle_in_ep()
H A Df_thor.c581 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()
585 usb_ep_set_halt(dev->in_ep); in thor_tx_data()
813 dev->in_ep = ep; /* Store IN EP for enabling @ setup */ in thor_func_bind()
880 if (dev->in_ep->driver_data) { in thor_func_disable()
881 usb_ep_disable(dev->in_ep); in thor_func_disable()
882 free_ep_req(dev->in_ep, dev->in_req); in thor_func_disable()
883 dev->in_ep->driver_data = NULL; in thor_func_disable()
908 ep = dev->in_ep; in thor_eps_setup()
960 free_ep_req(dev->in_ep, dev->in_req); in thor_eps_setup()
[all …]
H A Dether.c110 struct usb_ep *in_ep, *out_ep, *status_ep; member
954 dev->in_ep->driver_data = dev; in set_ether_config()
969 result = usb_ep_enable(dev->in_ep, dev->in); in set_ether_config()
972 dev->in_ep->name, result); in set_ether_config()
993 (void) usb_ep_disable(dev->in_ep); in set_ether_config()
1024 usb_ep_disable(dev->in_ep); in eth_reset_config()
1026 usb_ep_free_request(dev->in_ep, dev->tx_req); in eth_reset_config()
1365 usb_ep_disable(dev->in_ep); in eth_setup()
1376 usb_ep_enable(dev->in_ep, dev->in); in eth_setup()
1609 dev->tx_req = usb_ep_alloc_request(dev->in_ep, 0); in alloc_requests()
[all …]
H A Df_thor.h107 struct usb_ep *in_ep, *out_ep, *int_ep; member
H A Df_fastboot.c75 struct usb_ep *in_ep, *out_ep; member
350 f_fb->in_ep = usb_ep_autoconfig(gadget, &fs_ep_in); in fastboot_bind()
351 if (!f_fb->in_ep) in fastboot_bind()
353 f_fb->in_ep->driver_data = c->cdev; in fastboot_bind()
395 usb_ep_disable(f_fb->in_ep); in fastboot_disable()
404 usb_ep_free_request(f_fb->in_ep, f_fb->in_req); in fastboot_disable()
457 &ss_ep_in_comp_desc, f_fb->in_ep); in fastboot_set_alt()
458 ret = usb_ep_enable(f_fb->in_ep, d); in fastboot_set_alt()
464 f_fb->in_req = fastboot_start_ep(f_fb->in_ep); in fastboot_set_alt()
523 usb_ep_dequeue(fastboot_func->in_ep, in_req); in fastboot_tx_write()
[all …]