Lines Matching refs:_ep
645 pxa_ep_alloc_request(struct usb_ep *_ep, gfp_t gfp_flags) in pxa_ep_alloc_request() argument
655 req->udc_usb_ep = container_of(_ep, struct udc_usb_ep, usb_ep); in pxa_ep_alloc_request()
667 static void pxa_ep_free_request(struct usb_ep *_ep, struct usb_request *_req) in pxa_ep_free_request() argument
1118 static int pxa_ep_queue(struct usb_ep *_ep, struct usb_request *_req, in pxa_ep_queue() argument
1132 udc_usb_ep = container_of(_ep, struct udc_usb_ep, usb_ep); in pxa_ep_queue()
1137 if (unlikely(!_ep)) in pxa_ep_queue()
1234 static int pxa_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) in pxa_ep_dequeue() argument
1242 if (!_ep) in pxa_ep_dequeue()
1244 udc_usb_ep = container_of(_ep, struct udc_usb_ep, usb_ep); in pxa_ep_dequeue()
1272 static int pxa_ep_set_halt(struct usb_ep *_ep, int value) in pxa_ep_set_halt() argument
1280 if (!_ep) in pxa_ep_set_halt()
1282 udc_usb_ep = container_of(_ep, struct udc_usb_ep, usb_ep); in pxa_ep_set_halt()
1321 static int pxa_ep_fifo_status(struct usb_ep *_ep) in pxa_ep_fifo_status() argument
1326 if (!_ep) in pxa_ep_fifo_status()
1328 udc_usb_ep = container_of(_ep, struct udc_usb_ep, usb_ep); in pxa_ep_fifo_status()
1347 static void pxa_ep_fifo_flush(struct usb_ep *_ep) in pxa_ep_fifo_flush() argument
1353 if (!_ep) in pxa_ep_fifo_flush()
1355 udc_usb_ep = container_of(_ep, struct udc_usb_ep, usb_ep); in pxa_ep_fifo_flush()
1390 static int pxa_ep_enable(struct usb_ep *_ep, in pxa_ep_enable() argument
1397 if (!_ep || !desc) in pxa_ep_enable()
1400 udc_usb_ep = container_of(_ep, struct udc_usb_ep, usb_ep); in pxa_ep_enable()
1404 _ep->name); in pxa_ep_enable()
1412 _ep->name); in pxa_ep_enable()
1438 pxa_ep_fifo_flush(_ep); in pxa_ep_enable()
1452 static int pxa_ep_disable(struct usb_ep *_ep) in pxa_ep_disable() argument
1457 if (!_ep) in pxa_ep_disable()
1460 udc_usb_ep = container_of(_ep, struct udc_usb_ep, usb_ep); in pxa_ep_disable()
1468 pxa_ep_fifo_flush(_ep); in pxa_ep_disable()