Lines Matching refs:_ep
153 #define ep_maxpacket(_ep) ((_ep)->ep.maxpacket)
154 #define ep_is_in(_ep) ((_ep)->bEndpointAddress & USB_DIR_IN)
155 #define ep_index(_ep) ((_ep)->bEndpointAddress & \
441 * @_ep: Endpoint on which halt has to be set or cleared.
448 static int s3c_hsudc_set_halt(struct usb_ep *_ep, int value)
450 struct s3c_hsudc_ep *hsep = our_ep(_ep);
488 * @_ep: Endpoint on which wedge has to be set.
492 static int s3c_hsudc_set_wedge(struct usb_ep *_ep)
494 struct s3c_hsudc_ep *hsep = our_ep(_ep);
500 return usb_ep_set_halt(_ep);
504 * @_ep: Device controller on which the set/clear feature needs to be handled.
692 * @_ep: The endpoint to be enabled.
699 static int s3c_hsudc_ep_enable(struct usb_ep *_ep,
707 hsep = our_ep(_ep);
708 if (!_ep || !desc || _ep->name == ep0name
733 s3c_hsudc_set_halt(_ep, 0);
742 * @_ep: The endpoint to be disabled.
747 static int s3c_hsudc_ep_disable(struct usb_ep *_ep)
749 struct s3c_hsudc_ep *hsep = our_ep(_ep);
753 if (!_ep || !hsep->ep.desc)
772 * @_ep: Endpoint for which request is allocated (not used).
777 static struct usb_request *s3c_hsudc_alloc_request(struct usb_ep *_ep,
808 * @_ep: Endpoint for which the request is queued.
814 static int s3c_hsudc_queue(struct usb_ep *_ep, struct usb_request *_req,
829 hsep = our_ep(_ep);
871 * @_ep: Endpoint from which the request is dequeued.
876 static int s3c_hsudc_dequeue(struct usb_ep *_ep, struct usb_request *_req)
878 struct s3c_hsudc_ep *hsep = our_ep(_ep);
883 hsep = our_ep(_ep);
884 if (!_ep || hsep->ep.name == ep0name)