Lines Matching defs:_ep
746 * @_ep: pointer to the usb device endpoint structure.
751 static int xudc_ep_set_halt(struct usb_ep *_ep, int value)
753 struct xusb_ep *ep = to_xusb_ep(_ep);
758 if (!_ep || (!ep->desc && ep->epnumber)) {
888 * @_ep: pointer to the usb endpoint structure.
893 static int xudc_ep_enable(struct usb_ep *_ep,
901 if (!_ep || !desc || desc->bDescriptorType != USB_DT_ENDPOINT) {
906 ep = to_xusb_ep(_ep);
923 * @_ep: pointer to the usb endpoint structure.
927 static int xudc_ep_disable(struct usb_ep *_ep)
934 if (!_ep) {
939 ep = to_xusb_ep(_ep);
962 * @_ep: pointer to the usb endpoint structure.
967 static struct usb_request *xudc_ep_alloc_request(struct usb_ep *_ep,
970 struct xusb_ep *ep = to_xusb_ep(_ep);
988 * @_ep: pointer to the usb device endpoint structure.
991 static void xudc_free_request(struct usb_ep *_ep, struct usb_request *_req)
1050 * @_ep: pointer to the usb endpoint 0 structure.
1056 static int xudc_ep0_queue(struct usb_ep *_ep, struct usb_request *_req,
1060 struct xusb_ep *ep0 = to_xusb_ep(_ep);
1074 * @_ep: pointer to the usb endpoint structure.
1080 static int xudc_ep_queue(struct usb_ep *_ep, struct usb_request *_req,
1084 struct xusb_ep *ep = to_xusb_ep(_ep);
1137 * @_ep: pointer to the usb device endpoint structure.
1142 static int xudc_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req)
1144 struct xusb_ep *ep = to_xusb_ep(_ep);