Searched refs:usbep (Results 1 – 2 of 2) sorted by relevance
/drivers/usb/gadget/udc/ |
D | pch_udc.c | 1718 static int pch_udc_pcd_ep_enable(struct usb_ep *usbep, in pch_udc_pcd_ep_enable() argument 1725 if (!usbep || (usbep->name == ep0_string) || !desc || in pch_udc_pcd_ep_enable() 1729 ep = container_of(usbep, struct pch_udc_ep, ep); in pch_udc_pcd_ep_enable() 1752 static int pch_udc_pcd_ep_disable(struct usb_ep *usbep) in pch_udc_pcd_ep_disable() argument 1757 if (!usbep) in pch_udc_pcd_ep_disable() 1760 ep = container_of(usbep, struct pch_udc_ep, ep); in pch_udc_pcd_ep_disable() 1761 if ((usbep->name == ep0_string) || !ep->ep.desc) in pch_udc_pcd_ep_disable() 1785 static struct usb_request *pch_udc_alloc_request(struct usb_ep *usbep, in pch_udc_alloc_request() argument 1792 if (!usbep) in pch_udc_alloc_request() 1794 ep = container_of(usbep, struct pch_udc_ep, ep); in pch_udc_alloc_request() [all …]
|
D | snps_udc_core.c | 42 static void udc_free_request(struct usb_ep *usbep, struct usb_request *usbreq); 319 udc_ep_enable(struct usb_ep *usbep, const struct usb_endpoint_descriptor *desc) in udc_ep_enable() argument 328 if (!usbep in udc_ep_enable() 329 || usbep->name == ep0_string in udc_ep_enable() 334 ep = container_of(usbep, struct udc_ep, ep); in udc_ep_enable() 440 DBG(dev, "%s enabled\n", usbep->name); in udc_ep_enable() 489 static int udc_ep_disable(struct usb_ep *usbep) in udc_ep_disable() argument 494 if (!usbep) in udc_ep_disable() 497 ep = container_of(usbep, struct udc_ep, ep); in udc_ep_disable() 498 if (usbep->name == ep0_string || !ep->ep.desc) in udc_ep_disable() [all …]
|