Searched refs:usbep (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/usb/gadget/udc/ |
D | pch_udc.c | 1644 static int pch_udc_pcd_ep_enable(struct usb_ep *usbep, in pch_udc_pcd_ep_enable() argument 1651 if (!usbep || (usbep->name == ep0_string) || !desc || in pch_udc_pcd_ep_enable() 1655 ep = container_of(usbep, struct pch_udc_ep, ep); in pch_udc_pcd_ep_enable() 1678 static int pch_udc_pcd_ep_disable(struct usb_ep *usbep) in pch_udc_pcd_ep_disable() argument 1683 if (!usbep) in pch_udc_pcd_ep_disable() 1686 ep = container_of(usbep, struct pch_udc_ep, ep); in pch_udc_pcd_ep_disable() 1687 if ((usbep->name == ep0_string) || !ep->ep.desc) in pch_udc_pcd_ep_disable() 1711 static struct usb_request *pch_udc_alloc_request(struct usb_ep *usbep, in pch_udc_alloc_request() argument 1718 if (!usbep) in pch_udc_alloc_request() 1720 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 …]
|