Searched refs:usbep (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/drivers/usb/gadget/udc/ |
D | pch_udc.c | 1665 static int pch_udc_pcd_ep_enable(struct usb_ep *usbep, in pch_udc_pcd_ep_enable() argument 1672 if (!usbep || (usbep->name == ep0_string) || !desc || in pch_udc_pcd_ep_enable() 1676 ep = container_of(usbep, struct pch_udc_ep, ep); in pch_udc_pcd_ep_enable() 1699 static int pch_udc_pcd_ep_disable(struct usb_ep *usbep) in pch_udc_pcd_ep_disable() argument 1704 if (!usbep) in pch_udc_pcd_ep_disable() 1707 ep = container_of(usbep, struct pch_udc_ep, ep); in pch_udc_pcd_ep_disable() 1708 if ((usbep->name == ep0_string) || !ep->ep.desc) in pch_udc_pcd_ep_disable() 1732 static struct usb_request *pch_udc_alloc_request(struct usb_ep *usbep, in pch_udc_alloc_request() argument 1739 if (!usbep) in pch_udc_alloc_request() 1741 ep = container_of(usbep, struct pch_udc_ep, ep); in pch_udc_alloc_request() [all …]
|
D | snps_udc_core.c | 43 static void udc_free_request(struct usb_ep *usbep, struct usb_request *usbreq); 323 udc_ep_enable(struct usb_ep *usbep, const struct usb_endpoint_descriptor *desc) in udc_ep_enable() argument 332 if (!usbep in udc_ep_enable() 333 || usbep->name == ep0_string in udc_ep_enable() 338 ep = container_of(usbep, struct udc_ep, ep); in udc_ep_enable() 444 DBG(dev, "%s enabled\n", usbep->name); in udc_ep_enable() 493 static int udc_ep_disable(struct usb_ep *usbep) in udc_ep_disable() argument 498 if (!usbep) in udc_ep_disable() 501 ep = container_of(usbep, struct udc_ep, ep); in udc_ep_disable() 502 if (usbep->name == ep0_string || !ep->ep.desc) in udc_ep_disable() [all …]
|