Home
last modified time | relevance | path

Searched refs:_ep (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/drivers/usb/gadget/
Dgoku_udc.c99 goku_ep_enable(struct usb_ep *_ep, const struct usb_endpoint_descriptor *desc) in goku_ep_enable() argument
107 ep = container_of(_ep, struct goku_ep, ep); in goku_ep_enable()
108 if (!_ep || !desc || ep->desc in goku_ep_enable()
245 static int goku_ep_disable(struct usb_ep *_ep) in goku_ep_disable() argument
251 ep = container_of(_ep, struct goku_ep, ep); in goku_ep_disable()
252 if (!_ep || !ep->desc) in goku_ep_disable()
258 VDBG(dev, "disable %s\n", _ep->name); in goku_ep_disable()
271 goku_alloc_request(struct usb_ep *_ep, int gfp_flags) in goku_alloc_request() argument
275 if (!_ep) in goku_alloc_request()
288 goku_free_request(struct usb_ep *_ep, struct usb_request *_req) in goku_free_request() argument
[all …]
Dnet2280.c144 net2280_enable (struct usb_ep *_ep, const struct usb_endpoint_descriptor *desc) in net2280_enable() argument
151 ep = container_of (_ep, struct net2280_ep, ep); in net2280_enable()
152 if (!_ep || !desc || ep->desc || _ep->name == ep0name in net2280_enable()
169 _ep->maxpacket = max & 0x7ff; in net2280_enable()
251 _ep->name, tmp & 0x0f, DIR_STRING (tmp), in net2280_enable()
342 static int net2280_disable (struct usb_ep *_ep) in net2280_disable() argument
347 ep = container_of (_ep, struct net2280_ep, ep); in net2280_disable()
348 if (!_ep || !ep->desc || _ep->name == ep0name) in net2280_disable()
356 ep->dma ? "dma" : "pio", _ep->name); in net2280_disable()
371 net2280_alloc_request (struct usb_ep *_ep, int gfp_flags) in net2280_alloc_request() argument
[all …]