Home
last modified time | relevance | path

Searched refs:_req (Results 1 – 9 of 9) sorted by relevance

/u-boot/drivers/usb/gadget/
A Dfotg210.c577 struct usb_ep *_ep, struct usb_request *_req) in fotg210_ep_free_request() argument
581 req = container_of(_req, struct fotg210_request, req); in fotg210_ep_free_request()
586 struct usb_ep *_ep, struct usb_request *_req, gfp_t gfp_flags) in fotg210_ep_queue() argument
593 req = container_of(_req, struct fotg210_request, req); in fotg210_ep_queue()
594 if (!_req || !_req->complete || !_req->buf in fotg210_ep_queue()
645 static int fotg210_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) in fotg210_ep_dequeue() argument
652 if (&req->req == _req) in fotg210_ep_dequeue()
655 if (&req->req != _req) in fotg210_ep_dequeue()
A Dpxa25x_udc.c405 pxa25x_ep_free_request(struct usb_ep *_ep, struct usb_request *_req) in pxa25x_ep_free_request() argument
409 req = container_of(_req, struct pxa25x_request, req); in pxa25x_ep_free_request()
734 req = container_of(_req, struct pxa25x_request, req); in pxa25x_ep_queue()
735 if (unlikely(!_req || !_req->complete || !_req->buf in pxa25x_ep_queue()
764 _ep->name, _req, _req->length, _req->buf); in pxa25x_ep_queue()
768 _req->status = -EINPROGRESS; in pxa25x_ep_queue()
769 _req->actual = 0; in pxa25x_ep_queue()
774 unsigned length = _req->length; in pxa25x_ep_queue()
860 static int pxa25x_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) in pxa25x_ep_dequeue() argument
874 if (&req->req == _req) in pxa25x_ep_dequeue()
[all …]
A Dmax3420_udc.c317 max3420_ep_free_request(struct usb_ep *_ep, struct usb_request *_req) in max3420_ep_free_request() argument
319 kfree(to_max3420_req(_req)); in max3420_ep_free_request()
323 max3420_ep_queue(struct usb_ep *_ep, struct usb_request *_req, gfp_t gfp_flags) in max3420_ep_queue() argument
325 struct max3420_req *req = to_max3420_req(_req); in max3420_ep_queue()
328 _req->status = -EINPROGRESS; in max3420_ep_queue()
329 _req->actual = 0; in max3420_ep_queue()
335 static int max3420_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) in max3420_ep_dequeue() argument
337 struct max3420_req *req = to_max3420_req(_req); in max3420_ep_dequeue()
A Dat91_udc.c409 static void at91_ep_free_request(struct usb_ep *_ep, struct usb_request *_req) in at91_ep_free_request() argument
413 req = container_of(_req, struct at91_request, req); in at91_ep_free_request()
419 struct usb_request *_req, gfp_t gfp_flags) in at91_ep_queue() argument
427 req = container_of(_req, struct at91_request, req); in at91_ep_queue()
430 if (!_req || !_req->complete in at91_ep_queue()
431 || !_req->buf || !list_empty(&req->queue)) { in at91_ep_queue()
448 _req->status = -EINPROGRESS; in at91_ep_queue()
449 _req->actual = 0; in at91_ep_queue()
518 static int at91_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) in at91_ep_dequeue() argument
532 if (&req->req == _req) in at91_ep_dequeue()
[all …]
A Ddwc2_udc_otg_xfer_dma.c610 static int dwc2_queue(struct usb_ep *_ep, struct usb_request *_req, in dwc2_queue() argument
619 req = container_of(_req, struct dwc2_request, req); in dwc2_queue()
620 if (unlikely(!_req || !_req->complete || !_req->buf in dwc2_queue()
646 _req->status = -EINPROGRESS; in dwc2_queue()
647 _req->actual = 0; in dwc2_queue()
653 _req, _req->length, _req->buf, in dwc2_queue()
658 int i, len = _req->length; in dwc2_queue()
664 printf("%02x", ((u8 *)_req->buf)[i]); in dwc2_queue()
A Datmel_usba_udc.c326 usba_ep_free_request(struct usb_ep *_ep, struct usb_request *_req) in usba_ep_free_request() argument
328 struct usba_request *req = to_usba_req(_req); in usba_ep_free_request()
330 DBG(DBG_GADGET, "ep_free_request: %p, %p\n", _ep, _req); in usba_ep_free_request()
336 usba_ep_queue(struct usb_ep *_ep, struct usb_request *_req, gfp_t gfp_flags) in usba_ep_queue() argument
338 struct usba_request *req = to_usba_req(_req); in usba_ep_queue()
345 ep->ep.name, req, _req->length); in usba_ep_queue()
355 _req->status = -EINPROGRESS; in usba_ep_queue()
356 _req->actual = 0; in usba_ep_queue()
378 static int usba_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) in usba_ep_dequeue() argument
381 struct usba_request *req = to_usba_req(_req); in usba_ep_dequeue()
A Dci_udc.c95 static void ci_ep_free_request(struct usb_ep *ep, struct usb_request *_req);
537 static int ci_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) in ci_ep_dequeue() argument
543 if (&ci_req->req == _req) in ci_ep_dequeue()
547 if (&ci_req->req != _req) in ci_ep_dequeue()
555 ci_req->req.complete(_ep, _req); in ci_ep_dequeue()
A Ddwc2_udc_otg.c724 static void dwc2_free_request(struct usb_ep *ep, struct usb_request *_req) in dwc2_free_request() argument
730 req = container_of(_req, struct dwc2_request, req); in dwc2_free_request()
736 static int dwc2_dequeue(struct usb_ep *_ep, struct usb_request *_req) in dwc2_dequeue() argument
752 if (&req->req == _req) in dwc2_dequeue()
755 if (&req->req != _req) { in dwc2_dequeue()
/u-boot/include/xen/interface/io/
A Dring.h216 #define RING_COPY_REQUEST(_r, _idx, _req) do { \ argument
218 *(_req) = *(volatile typeof(_req))RING_GET_REQUEST(_r, _idx); \

Completed in 20 milliseconds