• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/usb/gadget/

Lines Matching defs:_ep

988 static int lh7a40x_ep_enable(struct usb_ep *_ep,
995 DEBUG("%s, %p\n", __func__, _ep);
997 ep = container_of(_ep, struct lh7a40x_ep, ep);
998 if (!_ep || !desc || ep->desc || _ep->name == ep0name
1010 DEBUG("%s, %s type mismatch\n", __func__, _ep->name);
1018 DEBUG("%s, bad %s maxpacket\n", __func__, _ep->name);
1038 lh7a40x_set_halt(_ep, 0);
1040 DEBUG("%s: enabled %s\n", __func__, _ep->name);
1047 static int lh7a40x_ep_disable(struct usb_ep *_ep)
1052 DEBUG("%s, %p\n", __func__, _ep);
1054 ep = container_of(_ep, struct lh7a40x_ep, ep);
1055 if (!_ep || !ep->desc) {
1057 _ep ? ep->ep.name : NULL);
1076 DEBUG("%s: disabled %s\n", __func__, _ep->name);
1111 static int lh7a40x_queue(struct usb_ep *_ep, struct usb_request *_req,
1119 DEBUG("\n\n\n%s, %p\n", __func__, _ep);
1129 ep = container_of(_ep, struct lh7a40x_ep, ep);
1130 if (unlikely(!_ep || (!ep->desc && ep->ep.name != ep0name))) {
1141 DEBUG("%s queue req %p, len %d buf %p\n", _ep->name, _req, _req->length,
1191 static int lh7a40x_dequeue(struct usb_ep *_ep, struct usb_request *_req)
1197 DEBUG("%s, %p\n", __func__, _ep);
1199 ep = container_of(_ep, struct lh7a40x_ep, ep);
1200 if (!_ep || ep->ep.name == ep0name)
1225 static int lh7a40x_set_halt(struct usb_ep *_ep, int value)
1230 ep = container_of(_ep, struct lh7a40x_ep, ep);
1231 if (unlikely(!_ep || (!ep->desc && ep->ep.name != ep0name))) {
1288 DEBUG("%s %s halted\n", _ep->name, value == 0 ? "NOT" : "IS");
1296 static int lh7a40x_fifo_status(struct usb_ep *_ep)
1302 ep = container_of(_ep, struct lh7a40x_ep, ep);
1303 if (!_ep) {
1328 static void lh7a40x_fifo_flush(struct usb_ep *_ep)
1332 ep = container_of(_ep, struct lh7a40x_ep, ep);
1333 if (unlikely(!_ep || (!ep->desc && ep->ep.name != ep0name))) {