• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/gadget/

Lines Matching defs:_ep

991 static int lh7a40x_ep_enable(struct usb_ep *_ep,
998 DEBUG("%s, %p\n", __FUNCTION__, _ep);
1000 ep = container_of(_ep, struct lh7a40x_ep, ep);
1001 if (!_ep || !desc || ep->desc || _ep->name == ep0name
1013 DEBUG("%s, %s type mismatch\n", __FUNCTION__, _ep->name);
1021 DEBUG("%s, bad %s maxpacket\n", __FUNCTION__, _ep->name);
1041 lh7a40x_set_halt(_ep, 0);
1043 DEBUG("%s: enabled %s\n", __FUNCTION__, _ep->name);
1050 static int lh7a40x_ep_disable(struct usb_ep *_ep)
1055 DEBUG("%s, %p\n", __FUNCTION__, _ep);
1057 ep = container_of(_ep, struct lh7a40x_ep, ep);
1058 if (!_ep || !ep->desc) {
1060 _ep ? ep->ep.name : NULL);
1079 DEBUG("%s: disabled %s\n", __FUNCTION__, _ep->name);
1134 static int lh7a40x_queue(struct usb_ep *_ep, struct usb_request *_req,
1142 DEBUG("\n\n\n%s, %p\n", __FUNCTION__, _ep);
1152 ep = container_of(_ep, struct lh7a40x_ep, ep);
1153 if (unlikely(!_ep || (!ep->desc && ep->ep.name != ep0name))) {
1164 DEBUG("%s queue req %p, len %d buf %p\n", _ep->name, _req, _req->length,
1214 static int lh7a40x_dequeue(struct usb_ep *_ep, struct usb_request *_req)
1220 DEBUG("%s, %p\n", __FUNCTION__, _ep);
1222 ep = container_of(_ep, struct lh7a40x_ep, ep);
1223 if (!_ep || ep->ep.name == ep0name)
1248 static int lh7a40x_set_halt(struct usb_ep *_ep, int value)
1253 ep = container_of(_ep, struct lh7a40x_ep, ep);
1254 if (unlikely(!_ep || (!ep->desc && ep->ep.name != ep0name))) {
1311 DEBUG("%s %s halted\n", _ep->name, value == 0 ? "NOT" : "IS");
1319 static int lh7a40x_fifo_status(struct usb_ep *_ep)
1325 ep = container_of(_ep, struct lh7a40x_ep, ep);
1326 if (!_ep) {
1351 static void lh7a40x_fifo_flush(struct usb_ep *_ep)
1355 ep = container_of(_ep, struct lh7a40x_ep, ep);
1356 if (unlikely(!_ep || (!ep->desc && ep->ep.name != ep0name))) {