Lines Matching refs:usbep

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()
1772 static void pch_udc_free_request(struct usb_ep *usbep, in pch_udc_free_request() argument
1779 if (!usbep || !usbreq) in pch_udc_free_request()
1781 ep = container_of(usbep, struct pch_udc_ep, ep); in pch_udc_free_request()
1786 __func__, usbep->name, req); in pch_udc_free_request()
1807 static int pch_udc_pcd_queue(struct usb_ep *usbep, struct usb_request *usbreq, in pch_udc_pcd_queue() argument
1816 if (!usbep || !usbreq || !usbreq->complete || !usbreq->buf) in pch_udc_pcd_queue()
1818 ep = container_of(usbep, struct pch_udc_ep, ep); in pch_udc_pcd_queue()
1909 static int pch_udc_pcd_dequeue(struct usb_ep *usbep, in pch_udc_pcd_dequeue() argument
1917 ep = container_of(usbep, struct pch_udc_ep, ep); in pch_udc_pcd_dequeue()
1918 if (!usbep || !usbreq || (!ep->ep.desc && ep->num)) in pch_udc_pcd_dequeue()
1946 static int pch_udc_pcd_set_halt(struct usb_ep *usbep, int halt) in pch_udc_pcd_set_halt() argument
1952 if (!usbep) in pch_udc_pcd_set_halt()
1954 ep = container_of(usbep, struct pch_udc_ep, ep); in pch_udc_pcd_set_halt()
1987 static int pch_udc_pcd_set_wedge(struct usb_ep *usbep) in pch_udc_pcd_set_wedge() argument
1993 if (!usbep) in pch_udc_pcd_set_wedge()
1995 ep = container_of(usbep, struct pch_udc_ep, ep); in pch_udc_pcd_set_wedge()
2020 static void pch_udc_pcd_fifo_flush(struct usb_ep *usbep) in pch_udc_pcd_fifo_flush() argument
2024 if (!usbep) in pch_udc_pcd_fifo_flush()
2027 ep = container_of(usbep, struct pch_udc_ep, ep); in pch_udc_pcd_fifo_flush()