_req 1035 crypto/af_alg.c void af_alg_async_cb(struct crypto_async_request *_req, int err) _req 1037 crypto/af_alg.c struct af_alg_async_req *areq = _req->data; _req 672 drivers/rapidio/rio_cm.c struct tx_req *req, *_req; _req 675 drivers/rapidio/rio_cm.c list_for_each_entry_safe(req, _req, &cm->tx_reqs, node) { _req 299 drivers/scsi/hptiop.c void __iomem *_req, u32 millisec) _req 301 drivers/scsi/hptiop.c struct hpt_iop_request_header __iomem *req = _req; _req 875 drivers/scsi/hptiop.c struct hptiop_request *_req) _req 877 drivers/scsi/hptiop.c struct hpt_iop_request_header *reqhdr = _req->req_virt; _req 880 drivers/scsi/hptiop.c (u32)_req->index); _req 894 drivers/scsi/hptiop.c writel(_req->req_shifted_phy | size_bits, _req 897 drivers/scsi/hptiop.c writel(_req->req_shifted_phy | IOPMU_QUEUE_ADDR_HOST_BIT, _req 902 drivers/scsi/hptiop.c struct hptiop_request *_req) _req 904 drivers/scsi/hptiop.c struct hpt_iop_request_header *reqhdr = _req->req_virt; _req 907 drivers/scsi/hptiop.c reqhdr->context = cpu_to_le32(_req->index<<8 | _req 921 drivers/scsi/hptiop.c mv_inbound_write((_req->req_shifted_phy << 5) | _req 926 drivers/scsi/hptiop.c struct hptiop_request *_req) _req 928 drivers/scsi/hptiop.c struct hpt_iop_request_header *reqhdr = _req->req_virt; _req 933 drivers/scsi/hptiop.c ((_req->req_shifted_phy >> 11) & 0xffff0000)); _req 935 drivers/scsi/hptiop.c (_req->index << 4) | reqhdr->type); _req 936 drivers/scsi/hptiop.c reqhdr->context_hi32 = cpu_to_le32((_req->req_shifted_phy << 5) & _req 949 drivers/scsi/hptiop.c (dma_addr_t)_req->req_shifted_phy << 5; _req 1004 drivers/scsi/hptiop.c struct hptiop_request *_req; _req 1009 drivers/scsi/hptiop.c _req = get_req(hba); _req 1010 drivers/scsi/hptiop.c if (_req == NULL) { _req 1015 drivers/scsi/hptiop.c _req->scp = scp; _req 1026 drivers/scsi/hptiop.c _req->index, _req->req_virt); _req 1034 drivers/scsi/hptiop.c free_req(hba, _req); _req 1038 drivers/scsi/hptiop.c req = _req->req_virt; _req 1058 drivers/scsi/hptiop.c hba->ops->post_req(hba, _req); _req 359 drivers/scsi/hptiop.h void (*post_req)(struct hptiop_hba *hba, struct hptiop_request *_req); _req 130 drivers/staging/emxx_udc/emxx_udc.c static void _nbu2ss_ep0_complete(struct usb_ep *_ep, struct usb_request *_req) _req 139 drivers/staging/emxx_udc/emxx_udc.c if (!_ep || !_req) _req 142 drivers/staging/emxx_udc/emxx_udc.c udc = (struct nbu2ss_udc *)_req->context; _req 2524 drivers/staging/emxx_udc/emxx_udc.c struct usb_request *_req) _req 2528 drivers/staging/emxx_udc/emxx_udc.c if (_req) { _req 2529 drivers/staging/emxx_udc/emxx_udc.c req = container_of(_req, struct nbu2ss_req, req); _req 2537 drivers/staging/emxx_udc/emxx_udc.c struct usb_request *_req, gfp_t gfp_flags) _req 2547 drivers/staging/emxx_udc/emxx_udc.c if (!_ep || !_req) { _req 2551 drivers/staging/emxx_udc/emxx_udc.c if (!_req) _req 2557 drivers/staging/emxx_udc/emxx_udc.c req = container_of(_req, struct nbu2ss_req, req); _req 2558 drivers/staging/emxx_udc/emxx_udc.c if (unlikely(!_req->complete || _req 2559 drivers/staging/emxx_udc/emxx_udc.c !_req->buf || _req 2561 drivers/staging/emxx_udc/emxx_udc.c if (!_req->complete) _req 2564 drivers/staging/emxx_udc/emxx_udc.c if (!_req->buf) _req 2612 drivers/staging/emxx_udc/emxx_udc.c _req->status = -EINPROGRESS; _req 2613 drivers/staging/emxx_udc/emxx_udc.c _req->actual = 0; _req 2641 drivers/staging/emxx_udc/emxx_udc.c static int nbu2ss_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) _req 2649 drivers/staging/emxx_udc/emxx_udc.c if (!_ep || !_req) { _req 2664 drivers/staging/emxx_udc/emxx_udc.c if (&req->req == _req) _req 2667 drivers/staging/emxx_udc/emxx_udc.c if (&req->req != _req) { _req 595 drivers/usb/gadget/udc/at91_udc.c static void at91_ep_free_request(struct usb_ep *_ep, struct usb_request *_req) _req 599 drivers/usb/gadget/udc/at91_udc.c req = container_of(_req, struct at91_request, req); _req 605 drivers/usb/gadget/udc/at91_udc.c struct usb_request *_req, gfp_t gfp_flags) _req 613 drivers/usb/gadget/udc/at91_udc.c req = container_of(_req, struct at91_request, req); _req 616 drivers/usb/gadget/udc/at91_udc.c if (!_req || !_req->complete _req 617 drivers/usb/gadget/udc/at91_udc.c || !_req->buf || !list_empty(&req->queue)) { _req 634 drivers/usb/gadget/udc/at91_udc.c _req->status = -EINPROGRESS; _req 635 drivers/usb/gadget/udc/at91_udc.c _req->actual = 0; _req 704 drivers/usb/gadget/udc/at91_udc.c static int at91_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) _req 721 drivers/usb/gadget/udc/at91_udc.c if (&req->req == _req) _req 724 drivers/usb/gadget/udc/at91_udc.c if (&req->req != _req) { _req 722 drivers/usb/gadget/udc/atmel_usba_udc.c usba_ep_free_request(struct usb_ep *_ep, struct usb_request *_req) _req 724 drivers/usb/gadget/udc/atmel_usba_udc.c struct usba_request *req = to_usba_req(_req); _req 726 drivers/usb/gadget/udc/atmel_usba_udc.c DBG(DBG_GADGET, "ep_free_request: %p, %p\n", _ep, _req); _req 781 drivers/usb/gadget/udc/atmel_usba_udc.c usba_ep_queue(struct usb_ep *_ep, struct usb_request *_req, gfp_t gfp_flags) _req 783 drivers/usb/gadget/udc/atmel_usba_udc.c struct usba_request *req = to_usba_req(_req); _req 790 drivers/usb/gadget/udc/atmel_usba_udc.c ep->ep.name, req, _req->length); _req 800 drivers/usb/gadget/udc/atmel_usba_udc.c _req->status = -EINPROGRESS; _req 801 drivers/usb/gadget/udc/atmel_usba_udc.c _req->actual = 0; _req 864 drivers/usb/gadget/udc/atmel_usba_udc.c static int usba_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) _req 878 drivers/usb/gadget/udc/atmel_usba_udc.c if (&req->req == _req) _req 882 drivers/usb/gadget/udc/atmel_usba_udc.c if (&req->req != _req) { _req 1377 drivers/usb/gadget/udc/bdc/bdc_ep.c static void ep0_set_sel_cmpl(struct usb_ep *_ep, struct usb_request *_req) _req 1709 drivers/usb/gadget/udc/bdc/bdc_ep.c struct usb_request *_req, gfp_t gfp_flags) _req 1720 drivers/usb/gadget/udc/bdc/bdc_ep.c if (!_req || !_req->complete || !_req->buf) _req 1724 drivers/usb/gadget/udc/bdc/bdc_ep.c req = to_bdc_req(_req); _req 1728 drivers/usb/gadget/udc/bdc/bdc_ep.c _req, ep->name, _req->length, _req->zero); _req 1733 drivers/usb/gadget/udc/bdc/bdc_ep.c _req, ep->name); _req 1737 drivers/usb/gadget/udc/bdc/bdc_ep.c if (_req->length > MAX_XFR_LEN) { _req 1740 drivers/usb/gadget/udc/bdc/bdc_ep.c MAX_XFR_LEN, _req->length); _req 1755 drivers/usb/gadget/udc/bdc/bdc_ep.c struct usb_request *_req) _req 1763 drivers/usb/gadget/udc/bdc/bdc_ep.c if (!_ep || !_req) _req 1767 drivers/usb/gadget/udc/bdc/bdc_ep.c req = to_bdc_req(_req); _req 1774 drivers/usb/gadget/udc/bdc/bdc_ep.c if (&req->usb_req == _req) _req 1777 drivers/usb/gadget/udc/bdc/bdc_ep.c if (&req->usb_req != _req) { _req 1839 drivers/usb/gadget/udc/bdc/bdc_ep.c struct usb_request *_req) _req 1843 drivers/usb/gadget/udc/bdc/bdc_ep.c req = to_bdc_req(_req); _req 106 drivers/usb/gadget/udc/dummy_hcd.c (struct usb_request *_req) _req 108 drivers/usb/gadget/udc/dummy_hcd.c return container_of(_req, struct dummy_request, req); _req 669 drivers/usb/gadget/udc/dummy_hcd.c static void dummy_free_request(struct usb_ep *_ep, struct usb_request *_req) _req 673 drivers/usb/gadget/udc/dummy_hcd.c if (!_ep || !_req) { _req 678 drivers/usb/gadget/udc/dummy_hcd.c req = usb_request_to_dummy_request(_req); _req 687 drivers/usb/gadget/udc/dummy_hcd.c static int dummy_queue(struct usb_ep *_ep, struct usb_request *_req, _req 696 drivers/usb/gadget/udc/dummy_hcd.c req = usb_request_to_dummy_request(_req); _req 697 drivers/usb/gadget/udc/dummy_hcd.c if (!_req || !list_empty(&req->queue) || !_req->complete) _req 711 drivers/usb/gadget/udc/dummy_hcd.c ep, _req, _ep->name, _req->length, _req->buf); _req 713 drivers/usb/gadget/udc/dummy_hcd.c _req->status = -EINPROGRESS; _req 714 drivers/usb/gadget/udc/dummy_hcd.c _req->actual = 0; _req 721 drivers/usb/gadget/udc/dummy_hcd.c _req->length <= FIFO_SIZE) { _req 723 drivers/usb/gadget/udc/dummy_hcd.c req->req = *_req; _req 725 drivers/usb/gadget/udc/dummy_hcd.c memcpy(dum->fifo_buf, _req->buf, _req->length); _req 731 drivers/usb/gadget/udc/dummy_hcd.c _req->actual = _req->length; _req 732 drivers/usb/gadget/udc/dummy_hcd.c _req->status = 0; _req 733 drivers/usb/gadget/udc/dummy_hcd.c usb_gadget_giveback_request(_ep, _req); _req 745 drivers/usb/gadget/udc/dummy_hcd.c static int dummy_dequeue(struct usb_ep *_ep, struct usb_request *_req) _req 753 drivers/usb/gadget/udc/dummy_hcd.c if (!_ep || !_req) _req 764 drivers/usb/gadget/udc/dummy_hcd.c if (&req->req == _req) { _req 766 drivers/usb/gadget/udc/dummy_hcd.c _req->status = -ECONNRESET; _req 776 drivers/usb/gadget/udc/dummy_hcd.c req, _ep->name, _req->length, _req->buf); _req 777 drivers/usb/gadget/udc/dummy_hcd.c usb_gadget_giveback_request(_ep, _req); _req 245 drivers/usb/gadget/udc/fotg210-udc.c struct usb_request *_req) _req 249 drivers/usb/gadget/udc/fotg210-udc.c req = container_of(_req, struct fotg210_request, req); _req 393 drivers/usb/gadget/udc/fotg210-udc.c static int fotg210_ep_queue(struct usb_ep *_ep, struct usb_request *_req, _req 402 drivers/usb/gadget/udc/fotg210-udc.c req = container_of(_req, struct fotg210_request, req); _req 427 drivers/usb/gadget/udc/fotg210-udc.c static int fotg210_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) _req 434 drivers/usb/gadget/udc/fotg210-udc.c req = container_of(_req, struct fotg210_request, req); _req 1677 drivers/usb/gadget/udc/fsl_qe_udc.c static void qe_free_request(struct usb_ep *_ep, struct usb_request *_req) _req 1681 drivers/usb/gadget/udc/fsl_qe_udc.c req = container_of(_req, struct qe_req, req); _req 1683 drivers/usb/gadget/udc/fsl_qe_udc.c if (_req) _req 1687 drivers/usb/gadget/udc/fsl_qe_udc.c static int __qe_ep_queue(struct usb_ep *_ep, struct usb_request *_req) _req 1690 drivers/usb/gadget/udc/fsl_qe_udc.c struct qe_req *req = container_of(_req, struct qe_req, req); _req 1696 drivers/usb/gadget/udc/fsl_qe_udc.c if (!_req || !req->req.complete || !req->req.buf _req 1755 drivers/usb/gadget/udc/fsl_qe_udc.c static int qe_ep_queue(struct usb_ep *_ep, struct usb_request *_req, _req 1764 drivers/usb/gadget/udc/fsl_qe_udc.c ret = __qe_ep_queue(_ep, _req); _req 1770 drivers/usb/gadget/udc/fsl_qe_udc.c static int qe_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) _req 1776 drivers/usb/gadget/udc/fsl_qe_udc.c if (!_ep || !_req) _req 1783 drivers/usb/gadget/udc/fsl_qe_udc.c if (&req->req == _req) _req 1787 drivers/usb/gadget/udc/fsl_qe_udc.c if (&req->req != _req) { _req 1926 drivers/usb/gadget/udc/fsl_qe_udc.c static void ownercomplete(struct usb_ep *_ep, struct usb_request *_req) _req 1928 drivers/usb/gadget/udc/fsl_qe_udc.c struct qe_req *req = container_of(_req, struct qe_req, req); _req 691 drivers/usb/gadget/udc/fsl_udc_core.c static void fsl_free_request(struct usb_ep *_ep, struct usb_request *_req) _req 695 drivers/usb/gadget/udc/fsl_udc_core.c req = container_of(_req, struct fsl_req, req); _req 697 drivers/usb/gadget/udc/fsl_udc_core.c if (_req) _req 868 drivers/usb/gadget/udc/fsl_udc_core.c fsl_ep_queue(struct usb_ep *_ep, struct usb_request *_req, gfp_t gfp_flags) _req 871 drivers/usb/gadget/udc/fsl_udc_core.c struct fsl_req *req = container_of(_req, struct fsl_req, req); _req 877 drivers/usb/gadget/udc/fsl_udc_core.c if (!_req || !req->req.complete || !req->req.buf _req 922 drivers/usb/gadget/udc/fsl_udc_core.c static int fsl_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) _req 930 drivers/usb/gadget/udc/fsl_udc_core.c if (!_ep || !_req) _req 948 drivers/usb/gadget/udc/fsl_udc_core.c if (&req->req == _req) _req 951 drivers/usb/gadget/udc/fsl_udc_core.c if (&req->req != _req) { _req 958 drivers/usb/gadget/udc/fsl_udc_core.c _req->status = -ECONNRESET; _req 281 drivers/usb/gadget/udc/fusb300_udc.c static void fusb300_free_request(struct usb_ep *_ep, struct usb_request *_req) _req 285 drivers/usb/gadget/udc/fusb300_udc.c req = container_of(_req, struct fusb300_request, req); _req 419 drivers/usb/gadget/udc/fusb300_udc.c static int fusb300_queue(struct usb_ep *_ep, struct usb_request *_req, _req 428 drivers/usb/gadget/udc/fusb300_udc.c req = container_of(_req, struct fusb300_request, req); _req 453 drivers/usb/gadget/udc/fusb300_udc.c static int fusb300_dequeue(struct usb_ep *_ep, struct usb_request *_req) _req 460 drivers/usb/gadget/udc/fusb300_udc.c req = container_of(_req, struct fusb300_request, req); _req 282 drivers/usb/gadget/udc/goku_udc.c goku_free_request(struct usb_ep *_ep, struct usb_request *_req) _req 286 drivers/usb/gadget/udc/goku_udc.c if (!_ep || !_req) _req 289 drivers/usb/gadget/udc/goku_udc.c req = container_of(_req, struct goku_request, req); _req 708 drivers/usb/gadget/udc/goku_udc.c goku_queue(struct usb_ep *_ep, struct usb_request *_req, gfp_t gfp_flags) _req 717 drivers/usb/gadget/udc/goku_udc.c req = container_of(_req, struct goku_request, req); _req 718 drivers/usb/gadget/udc/goku_udc.c if (unlikely(!_req || !_req->complete _req 719 drivers/usb/gadget/udc/goku_udc.c || !_req->buf || !list_empty(&req->queue))) _req 742 drivers/usb/gadget/udc/goku_udc.c _ep->name, _req, _req->length, _req->buf); _req 747 drivers/usb/gadget/udc/goku_udc.c _req->status = -EINPROGRESS; _req 748 drivers/usb/gadget/udc/goku_udc.c _req->actual = 0; _req 754 drivers/usb/gadget/udc/goku_udc.c _req->zero = 1; _req 807 drivers/usb/gadget/udc/goku_udc.c static int goku_dequeue(struct usb_ep *_ep, struct usb_request *_req) _req 815 drivers/usb/gadget/udc/goku_udc.c if (!_ep || !_req || (!ep->ep.desc && ep->num != 0)) _req 828 drivers/usb/gadget/udc/goku_udc.c _req); _req 834 drivers/usb/gadget/udc/goku_udc.c if (&req->req == _req) _req 837 drivers/usb/gadget/udc/goku_udc.c if (&req->req != _req) { _req 791 drivers/usb/gadget/udc/gr_udc.c struct usb_request *_req) _req 809 drivers/usb/gadget/udc/gr_udc.c static void gr_ep0_dummy_complete(struct usb_ep *_ep, struct usb_request *_req) _req 1635 drivers/usb/gadget/udc/gr_udc.c static void gr_free_request(struct usb_ep *_ep, struct usb_request *_req) _req 1639 drivers/usb/gadget/udc/gr_udc.c if (!_ep || !_req) _req 1641 drivers/usb/gadget/udc/gr_udc.c req = container_of(_req, struct gr_request, req); _req 1651 drivers/usb/gadget/udc/gr_udc.c static int gr_queue_ext(struct usb_ep *_ep, struct usb_request *_req, _req 1659 drivers/usb/gadget/udc/gr_udc.c if (unlikely(!_ep || !_req)) _req 1663 drivers/usb/gadget/udc/gr_udc.c req = container_of(_req, struct gr_request, req); _req 1690 drivers/usb/gadget/udc/gr_udc.c static int gr_dequeue(struct usb_ep *_ep, struct usb_request *_req) _req 1699 drivers/usb/gadget/udc/gr_udc.c if (!_ep || !_req || (!ep->ep.desc && ep->num != 0)) _req 1713 drivers/usb/gadget/udc/gr_udc.c if (&req->req == _req) _req 1716 drivers/usb/gadget/udc/gr_udc.c if (&req->req != _req) { _req 1961 drivers/usb/gadget/udc/gr_udc.c struct usb_request *_req; _req 1982 drivers/usb/gadget/udc/gr_udc.c _req = gr_alloc_request(&ep->ep, GFP_ATOMIC); _req 1984 drivers/usb/gadget/udc/gr_udc.c if (!_req || !buf) { _req 1989 drivers/usb/gadget/udc/gr_udc.c req = container_of(_req, struct gr_request, req); _req 1735 drivers/usb/gadget/udc/lpc32xx_udc.c struct usb_request *_req) _req 1739 drivers/usb/gadget/udc/lpc32xx_udc.c req = container_of(_req, struct lpc32xx_request, req); _req 1746 drivers/usb/gadget/udc/lpc32xx_udc.c struct usb_request *_req, gfp_t gfp_flags) _req 1754 drivers/usb/gadget/udc/lpc32xx_udc.c req = container_of(_req, struct lpc32xx_request, req); _req 1757 drivers/usb/gadget/udc/lpc32xx_udc.c if (!_ep || !_req || !_req->complete || !_req->buf || _req 1769 drivers/usb/gadget/udc/lpc32xx_udc.c status = usb_gadget_map_request(&udc->gadget, _req, ep->is_in); _req 1802 drivers/usb/gadget/udc/lpc32xx_udc.c _req, _req->length, _req->buf, ep->is_in, _req->zero); _req 1806 drivers/usb/gadget/udc/lpc32xx_udc.c _req->status = -EINPROGRESS; _req 1807 drivers/usb/gadget/udc/lpc32xx_udc.c _req->actual = 0; _req 1808 drivers/usb/gadget/udc/lpc32xx_udc.c req->send_zlp = _req->zero; _req 1842 drivers/usb/gadget/udc/lpc32xx_udc.c static int lpc32xx_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) _req 1856 drivers/usb/gadget/udc/lpc32xx_udc.c if (&req->req == _req) _req 1859 drivers/usb/gadget/udc/lpc32xx_udc.c if (&req->req != _req) { _req 37 drivers/usb/gadget/udc/m66592-udc.c static int m66592_queue(struct usb_ep *_ep, struct usb_request *_req, _req 1342 drivers/usb/gadget/udc/m66592-udc.c static void m66592_free_request(struct usb_ep *_ep, struct usb_request *_req) _req 1346 drivers/usb/gadget/udc/m66592-udc.c req = container_of(_req, struct m66592_request, req); _req 1350 drivers/usb/gadget/udc/m66592-udc.c static int m66592_queue(struct usb_ep *_ep, struct usb_request *_req, _req 1359 drivers/usb/gadget/udc/m66592-udc.c req = container_of(_req, struct m66592_request, req); _req 1385 drivers/usb/gadget/udc/m66592-udc.c static int m66592_dequeue(struct usb_ep *_ep, struct usb_request *_req) _req 1392 drivers/usb/gadget/udc/m66592-udc.c req = container_of(_req, struct m66592_request, req); _req 680 drivers/usb/gadget/udc/mv_u3d_core.c static void mv_u3d_free_request(struct usb_ep *_ep, struct usb_request *_req) _req 682 drivers/usb/gadget/udc/mv_u3d_core.c struct mv_u3d_req *req = container_of(_req, struct mv_u3d_req, req); _req 771 drivers/usb/gadget/udc/mv_u3d_core.c mv_u3d_ep_queue(struct usb_ep *_ep, struct usb_request *_req, gfp_t gfp_flags) _req 779 drivers/usb/gadget/udc/mv_u3d_core.c if (unlikely(!_ep || !_req)) _req 785 drivers/usb/gadget/udc/mv_u3d_core.c req = container_of(_req, struct mv_u3d_req, req); _req 789 drivers/usb/gadget/udc/mv_u3d_core.c && !_req->length) { _req 805 drivers/usb/gadget/udc/mv_u3d_core.c __func__, _req, _req 845 drivers/usb/gadget/udc/mv_u3d_core.c static int mv_u3d_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) _req 856 drivers/usb/gadget/udc/mv_u3d_core.c if (!_ep || !_req) _req 866 drivers/usb/gadget/udc/mv_u3d_core.c if (&req->req == _req) _req 869 drivers/usb/gadget/udc/mv_u3d_core.c if (&req->req != _req) { _req 876 drivers/usb/gadget/udc/mv_u3d_core.c _req->status = -ECONNRESET; _req 611 drivers/usb/gadget/udc/mv_udc_core.c static void mv_free_request(struct usb_ep *_ep, struct usb_request *_req) _req 615 drivers/usb/gadget/udc/mv_udc_core.c req = container_of(_req, struct mv_req, req); _req 617 drivers/usb/gadget/udc/mv_udc_core.c if (_req) _req 683 drivers/usb/gadget/udc/mv_udc_core.c mv_ep_queue(struct usb_ep *_ep, struct usb_request *_req, gfp_t gfp_flags) _req 686 drivers/usb/gadget/udc/mv_udc_core.c struct mv_req *req = container_of(_req, struct mv_req, req); _req 692 drivers/usb/gadget/udc/mv_udc_core.c if (!_req || !req->req.complete || !req->req.buf _req 709 drivers/usb/gadget/udc/mv_udc_core.c retval = usb_gadget_map_request(&udc->gadget, _req, ep_dir(ep)); _req 745 drivers/usb/gadget/udc/mv_udc_core.c usb_gadget_unmap_request(&udc->gadget, _req, ep_dir(ep)); _req 772 drivers/usb/gadget/udc/mv_udc_core.c static int mv_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) _req 781 drivers/usb/gadget/udc/mv_udc_core.c if (!_ep || !_req) _req 798 drivers/usb/gadget/udc/mv_udc_core.c if (&req->req == _req) _req 801 drivers/usb/gadget/udc/mv_udc_core.c if (&req->req != _req) { _req 808 drivers/usb/gadget/udc/mv_udc_core.c _req->status = -ECONNRESET; _req 1422 drivers/usb/gadget/udc/mv_udc_core.c static void prime_status_complete(struct usb_ep *ep, struct usb_request *_req) _req 1425 drivers/usb/gadget/udc/mv_udc_core.c struct mv_req *req = container_of(_req, struct mv_req, req); _req 334 drivers/usb/gadget/udc/net2272.c net2272_free_request(struct usb_ep *_ep, struct usb_request *_req) _req 338 drivers/usb/gadget/udc/net2272.c if (!_ep || !_req) _req 341 drivers/usb/gadget/udc/net2272.c req = container_of(_req, struct net2272_request, req); _req 808 drivers/usb/gadget/udc/net2272.c net2272_queue(struct usb_ep *_ep, struct usb_request *_req, gfp_t gfp_flags) _req 817 drivers/usb/gadget/udc/net2272.c req = container_of(_req, struct net2272_request, req); _req 818 drivers/usb/gadget/udc/net2272.c if (!_req || !_req->complete || !_req->buf _req 830 drivers/usb/gadget/udc/net2272.c status = usb_gadget_map_request(&dev->gadget, _req, _req 837 drivers/usb/gadget/udc/net2272.c _ep->name, _req, _req->length, _req->buf, _req 838 drivers/usb/gadget/udc/net2272.c (unsigned long long) _req->dma, _req->zero ? "zero" : "!zero"); _req 842 drivers/usb/gadget/udc/net2272.c _req->status = -EINPROGRESS; _req 843 drivers/usb/gadget/udc/net2272.c _req->actual = 0; _req 848 drivers/usb/gadget/udc/net2272.c if (ep->num == 0 && _req->length == 0) { _req 926 drivers/usb/gadget/udc/net2272.c net2272_dequeue(struct usb_ep *_ep, struct usb_request *_req) _req 934 drivers/usb/gadget/udc/net2272.c if (!_ep || (!ep->desc && ep->num != 0) || !_req) _req 943 drivers/usb/gadget/udc/net2272.c if (&req->req == _req) _req 946 drivers/usb/gadget/udc/net2272.c if (&req->req != _req) { _req 581 drivers/usb/gadget/udc/net2280.c static void net2280_free_request(struct usb_ep *_ep, struct usb_request *_req) _req 587 drivers/usb/gadget/udc/net2280.c if (!_ep || !_req) { _req 589 drivers/usb/gadget/udc/net2280.c __func__, _ep, _req); _req 593 drivers/usb/gadget/udc/net2280.c req = container_of(_req, struct net2280_request, req); _req 986 drivers/usb/gadget/udc/net2280.c net2280_queue(struct usb_ep *_ep, struct usb_request *_req, gfp_t gfp_flags) _req 1002 drivers/usb/gadget/udc/net2280.c req = container_of(_req, struct net2280_request, req); _req 1003 drivers/usb/gadget/udc/net2280.c if (!_req || !_req->complete || !_req->buf || _req 1008 drivers/usb/gadget/udc/net2280.c if (_req->length > (~0 & DMA_BYTE_COUNT_MASK)) { _req 1019 drivers/usb/gadget/udc/net2280.c if (ep->dma && _req->length == 0) { _req 1026 drivers/usb/gadget/udc/net2280.c ret = usb_gadget_map_request(&dev->gadget, _req, _req 1033 drivers/usb/gadget/udc/net2280.c _ep->name, _req, _req->length, _req->buf); _req 1037 drivers/usb/gadget/udc/net2280.c _req->status = -EINPROGRESS; _req 1038 drivers/usb/gadget/udc/net2280.c _req->actual = 0; _req 1050 drivers/usb/gadget/udc/net2280.c if (ep->num == 0 && _req->length == 0) { _req 1059 drivers/usb/gadget/udc/net2280.c write_fifo(ep, _req); _req 1241 drivers/usb/gadget/udc/net2280.c static int net2280_dequeue(struct usb_ep *_ep, struct usb_request *_req) _req 1250 drivers/usb/gadget/udc/net2280.c if (!_ep || (!ep->desc && ep->num != 0) || !_req) { _req 1252 drivers/usb/gadget/udc/net2280.c __func__, _ep, _req); _req 1271 drivers/usb/gadget/udc/net2280.c if (&req->req == _req) _req 1274 drivers/usb/gadget/udc/net2280.c if (&req->req != _req) { _req 1285 drivers/usb/gadget/udc/net2280.c _req->status = -ECONNRESET; _req 278 drivers/usb/gadget/udc/omap_udc.c omap_free_request(struct usb_ep *ep, struct usb_request *_req) _req 280 drivers/usb/gadget/udc/omap_udc.c struct omap_req *req = container_of(_req, struct omap_req, req); _req 863 drivers/usb/gadget/udc/omap_udc.c omap_ep_queue(struct usb_ep *_ep, struct usb_request *_req, gfp_t gfp_flags) _req 866 drivers/usb/gadget/udc/omap_udc.c struct omap_req *req = container_of(_req, struct omap_req, req); _req 872 drivers/usb/gadget/udc/omap_udc.c if (!_req || !req->req.complete || !req->req.buf _req 908 drivers/usb/gadget/udc/omap_udc.c ep->ep.name, _req, _req->length, _req->buf); _req 1003 drivers/usb/gadget/udc/omap_udc.c static int omap_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) _req 1009 drivers/usb/gadget/udc/omap_udc.c if (!_ep || !_req) _req 1016 drivers/usb/gadget/udc/omap_udc.c if (&req->req == _req) _req 1019 drivers/usb/gadget/udc/omap_udc.c if (&req->req != _req) { _req 528 drivers/usb/gadget/udc/pxa25x_udc.c pxa25x_ep_free_request (struct usb_ep *_ep, struct usb_request *_req) _req 532 drivers/usb/gadget/udc/pxa25x_udc.c req = container_of (_req, struct pxa25x_request, req); _req 840 drivers/usb/gadget/udc/pxa25x_udc.c pxa25x_ep_queue(struct usb_ep *_ep, struct usb_request *_req, gfp_t gfp_flags) _req 847 drivers/usb/gadget/udc/pxa25x_udc.c req = container_of(_req, struct pxa25x_request, req); _req 848 drivers/usb/gadget/udc/pxa25x_udc.c if (unlikely (!_req || !_req->complete || !_req->buf _req 875 drivers/usb/gadget/udc/pxa25x_udc.c _ep->name, _req, _req->length, _req->buf); _req 879 drivers/usb/gadget/udc/pxa25x_udc.c _req->status = -EINPROGRESS; _req 880 drivers/usb/gadget/udc/pxa25x_udc.c _req->actual = 0; _req 885 drivers/usb/gadget/udc/pxa25x_udc.c unsigned length = _req->length; _req 966 drivers/usb/gadget/udc/pxa25x_udc.c static int pxa25x_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) _req 980 drivers/usb/gadget/udc/pxa25x_udc.c if (&req->req == _req) _req 983 drivers/usb/gadget/udc/pxa25x_udc.c if (&req->req != _req) { _req 597 drivers/usb/gadget/udc/pxa27x_udc.c static void pxa_ep_free_request(struct usb_ep *_ep, struct usb_request *_req) _req 601 drivers/usb/gadget/udc/pxa27x_udc.c req = container_of(_req, struct pxa27x_request, req); _req 1046 drivers/usb/gadget/udc/pxa27x_udc.c static int pxa_ep_queue(struct usb_ep *_ep, struct usb_request *_req, _req 1059 drivers/usb/gadget/udc/pxa27x_udc.c req = container_of(_req, struct pxa27x_request, req); _req 1062 drivers/usb/gadget/udc/pxa27x_udc.c if (unlikely(!_req || !_req->complete || !_req->buf)) _req 1090 drivers/usb/gadget/udc/pxa27x_udc.c _req, is_first_req ? "yes" : "no", _req 1091 drivers/usb/gadget/udc/pxa27x_udc.c _req->length, _req->buf); _req 1094 drivers/usb/gadget/udc/pxa27x_udc.c _req->status = -ESHUTDOWN; _req 1104 drivers/usb/gadget/udc/pxa27x_udc.c length = _req->length; _req 1105 drivers/usb/gadget/udc/pxa27x_udc.c _req->status = -EINPROGRESS; _req 1106 drivers/usb/gadget/udc/pxa27x_udc.c _req->actual = 0; _req 1161 drivers/usb/gadget/udc/pxa27x_udc.c static int pxa_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) _req 1180 drivers/usb/gadget/udc/pxa27x_udc.c if (&req->req == _req) { _req 38 drivers/usb/gadget/udc/r8a66597-udc.c static int r8a66597_queue(struct usb_ep *_ep, struct usb_request *_req, _req 1592 drivers/usb/gadget/udc/r8a66597-udc.c static void r8a66597_free_request(struct usb_ep *_ep, struct usb_request *_req) _req 1596 drivers/usb/gadget/udc/r8a66597-udc.c req = container_of(_req, struct r8a66597_request, req); _req 1600 drivers/usb/gadget/udc/r8a66597-udc.c static int r8a66597_queue(struct usb_ep *_ep, struct usb_request *_req, _req 1609 drivers/usb/gadget/udc/r8a66597-udc.c req = container_of(_req, struct r8a66597_request, req); _req 1635 drivers/usb/gadget/udc/r8a66597-udc.c static int r8a66597_dequeue(struct usb_ep *_ep, struct usb_request *_req) _req 1642 drivers/usb/gadget/udc/r8a66597-udc.c req = container_of(_req, struct r8a66597_request, req); _req 375 drivers/usb/gadget/udc/renesas_usb3.c #define usb_req_to_usb3_req(_req) container_of(_req, \ _req 1513 drivers/usb/gadget/udc/renesas_usb3.c static int renesas_usb3_ep_queue(struct usb_ep *_ep, struct usb_request *_req, _req 1517 drivers/usb/gadget/udc/renesas_usb3.c struct renesas_usb3_request *usb3_req = usb_req_to_usb3_req(_req); _req 1522 drivers/usb/gadget/udc/renesas_usb3.c _req->length); _req 1524 drivers/usb/gadget/udc/renesas_usb3.c _req->status = -EINPROGRESS; _req 1525 drivers/usb/gadget/udc/renesas_usb3.c _req->actual = 0; _req 2192 drivers/usb/gadget/udc/renesas_usb3.c static void __renesas_usb3_ep_free_request(struct usb_request *_req) _req 2194 drivers/usb/gadget/udc/renesas_usb3.c struct renesas_usb3_request *usb3_req = usb_req_to_usb3_req(_req); _req 2206 drivers/usb/gadget/udc/renesas_usb3.c struct usb_request *_req) _req 2208 drivers/usb/gadget/udc/renesas_usb3.c __renesas_usb3_ep_free_request(_req); _req 2211 drivers/usb/gadget/udc/renesas_usb3.c static int renesas_usb3_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) _req 2214 drivers/usb/gadget/udc/renesas_usb3.c struct renesas_usb3_request *usb3_req = usb_req_to_usb3_req(_req); _req 2218 drivers/usb/gadget/udc/renesas_usb3.c _req->length); _req 846 drivers/usb/gadget/udc/s3c-hsudc.c static void s3c_hsudc_free_request(struct usb_ep *ep, struct usb_request *_req) _req 850 drivers/usb/gadget/udc/s3c-hsudc.c hsreq = our_req(_req); _req 863 drivers/usb/gadget/udc/s3c-hsudc.c static int s3c_hsudc_queue(struct usb_ep *_ep, struct usb_request *_req, _req 873 drivers/usb/gadget/udc/s3c-hsudc.c hsreq = our_req(_req); _req 874 drivers/usb/gadget/udc/s3c-hsudc.c if ((!_req || !_req->complete || !_req->buf || _req 886 drivers/usb/gadget/udc/s3c-hsudc.c _req->status = -EINPROGRESS; _req 887 drivers/usb/gadget/udc/s3c-hsudc.c _req->actual = 0; _req 889 drivers/usb/gadget/udc/s3c-hsudc.c if (!ep_index(hsep) && _req->length == 0) { _req 925 drivers/usb/gadget/udc/s3c-hsudc.c static int s3c_hsudc_dequeue(struct usb_ep *_ep, struct usb_request *_req) _req 939 drivers/usb/gadget/udc/s3c-hsudc.c if (&hsreq->req == _req) _req 942 drivers/usb/gadget/udc/s3c-hsudc.c if (&hsreq->req != _req) { _req 1150 drivers/usb/gadget/udc/s3c2410_udc.c s3c2410_udc_free_request(struct usb_ep *_ep, struct usb_request *_req) _req 1153 drivers/usb/gadget/udc/s3c2410_udc.c struct s3c2410_request *req = to_s3c2410_req(_req); _req 1155 drivers/usb/gadget/udc/s3c2410_udc.c dprintk(DEBUG_VERBOSE, "%s(%p,%p)\n", __func__, _ep, _req); _req 1157 drivers/usb/gadget/udc/s3c2410_udc.c if (!ep || !_req || (!ep->ep.desc && _ep->name != ep0name)) _req 1167 drivers/usb/gadget/udc/s3c2410_udc.c static int s3c2410_udc_queue(struct usb_ep *_ep, struct usb_request *_req, _req 1170 drivers/usb/gadget/udc/s3c2410_udc.c struct s3c2410_request *req = to_s3c2410_req(_req); _req 1190 drivers/usb/gadget/udc/s3c2410_udc.c if (unlikely(!_req || !_req->complete _req 1191 drivers/usb/gadget/udc/s3c2410_udc.c || !_req->buf || !list_empty(&req->queue))) { _req 1192 drivers/usb/gadget/udc/s3c2410_udc.c if (!_req) _req 1196 drivers/usb/gadget/udc/s3c2410_udc.c __func__, !_req->complete, !_req->buf, _req 1204 drivers/usb/gadget/udc/s3c2410_udc.c _req->status = -EINPROGRESS; _req 1205 drivers/usb/gadget/udc/s3c2410_udc.c _req->actual = 0; _req 1208 drivers/usb/gadget/udc/s3c2410_udc.c __func__, ep->bEndpointAddress, _req->length); _req 1237 drivers/usb/gadget/udc/s3c2410_udc.c if ((!_req->length) _req 1274 drivers/usb/gadget/udc/s3c2410_udc.c static int s3c2410_udc_dequeue(struct usb_ep *_ep, struct usb_request *_req) _req 1282 drivers/usb/gadget/udc/s3c2410_udc.c dprintk(DEBUG_VERBOSE, "%s(%p,%p)\n", __func__, _ep, _req); _req 1287 drivers/usb/gadget/udc/s3c2410_udc.c if (!_ep || !_req) _req 1295 drivers/usb/gadget/udc/s3c2410_udc.c if (&req->req == _req) { _req 1297 drivers/usb/gadget/udc/s3c2410_udc.c _req->status = -ECONNRESET; _req 1306 drivers/usb/gadget/udc/s3c2410_udc.c req, _ep->name, _req->length, _req->buf); _req 636 drivers/usb/gadget/udc/snps_udc_core.c struct usb_request *_req = NULL; _req 639 drivers/usb/gadget/udc/snps_udc_core.c _req = udc_alloc_request(&ep->ep, GFP_ATOMIC); _req 640 drivers/usb/gadget/udc/snps_udc_core.c if (_req) { _req 641 drivers/usb/gadget/udc/snps_udc_core.c req = container_of(_req, struct udc_request, req); _req 982 drivers/usb/gadget/udc/udc-xilinx.c static void xudc_free_request(struct usb_ep *_ep, struct usb_request *_req) _req 984 drivers/usb/gadget/udc/udc-xilinx.c struct xusb_req *req = to_xusb_req(_req); _req 1047 drivers/usb/gadget/udc/udc-xilinx.c static int xudc_ep0_queue(struct usb_ep *_ep, struct usb_request *_req, _req 1050 drivers/usb/gadget/udc/udc-xilinx.c struct xusb_req *req = to_xusb_req(_req); _req 1071 drivers/usb/gadget/udc/udc-xilinx.c static int xudc_ep_queue(struct usb_ep *_ep, struct usb_request *_req, _req 1074 drivers/usb/gadget/udc/udc-xilinx.c struct xusb_req *req = to_xusb_req(_req); _req 1093 drivers/usb/gadget/udc/udc-xilinx.c _req->status = -EINPROGRESS; _req 1094 drivers/usb/gadget/udc/udc-xilinx.c _req->actual = 0; _req 1133 drivers/usb/gadget/udc/udc-xilinx.c static int xudc_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) _req 1136 drivers/usb/gadget/udc/udc-xilinx.c struct xusb_req *req = to_xusb_req(_req); _req 1143 drivers/usb/gadget/udc/udc-xilinx.c if (&req->usb_req == _req) _req 1146 drivers/usb/gadget/udc/udc-xilinx.c if (&req->usb_req != _req) { _req 818 drivers/usb/isp1760/isp1760-udc.c static void isp1760_ep_free_request(struct usb_ep *ep, struct usb_request *_req) _req 820 drivers/usb/isp1760/isp1760-udc.c struct isp1760_request *req = req_to_udc_req(_req); _req 825 drivers/usb/isp1760/isp1760-udc.c static int isp1760_ep_queue(struct usb_ep *ep, struct usb_request *_req, _req 828 drivers/usb/isp1760/isp1760-udc.c struct isp1760_request *req = req_to_udc_req(_req); _req 835 drivers/usb/isp1760/isp1760-udc.c _req->status = -EINPROGRESS; _req 836 drivers/usb/isp1760/isp1760-udc.c _req->actual = 0; _req 841 drivers/usb/isp1760/isp1760-udc.c "%s: req %p (%u bytes%s) ep %p(0x%02x)\n", __func__, _req, _req 842 drivers/usb/isp1760/isp1760-udc.c _req->length, _req->zero ? " (zlp)" : "", uep, uep->addr); _req 847 drivers/usb/isp1760/isp1760-udc.c if (_req->length != udc->ep0_length && _req 851 drivers/usb/isp1760/isp1760-udc.c __func__, _req->length, req); _req 908 drivers/usb/isp1760/isp1760-udc.c static int isp1760_ep_dequeue(struct usb_ep *ep, struct usb_request *_req) _req 910 drivers/usb/isp1760/isp1760-udc.c struct isp1760_request *req = req_to_udc_req(_req); _req 128 drivers/usb/usbip/vudc.h struct usb_request *_req) _req 130 drivers/usb/usbip/vudc.h return container_of(_req, struct vrequest, req); _req 296 drivers/usb/usbip/vudc_dev.c static void vep_free_request(struct usb_ep *_ep, struct usb_request *_req) _req 301 drivers/usb/usbip/vudc_dev.c if (!_req) _req 304 drivers/usb/usbip/vudc_dev.c req = to_vrequest(_req); _req 308 drivers/usb/usbip/vudc_dev.c static int vep_queue(struct usb_ep *_ep, struct usb_request *_req, _req 316 drivers/usb/usbip/vudc_dev.c if (!_ep || !_req) _req 320 drivers/usb/usbip/vudc_dev.c req = to_vrequest(_req); _req 324 drivers/usb/usbip/vudc_dev.c _req->actual = 0; _req 325 drivers/usb/usbip/vudc_dev.c _req->status = -EINPROGRESS; _req 333 drivers/usb/usbip/vudc_dev.c static int vep_dequeue(struct usb_ep *_ep, struct usb_request *_req) _req 342 drivers/usb/usbip/vudc_dev.c if (!_ep || !_req) _req 346 drivers/usb/usbip/vudc_dev.c req = to_vrequest(_req); _req 354 drivers/usb/usbip/vudc_dev.c if (&lst->req == _req) { _req 356 drivers/usb/usbip/vudc_dev.c _req->status = -ECONNRESET; _req 364 drivers/usb/usbip/vudc_dev.c usb_gadget_giveback_request(_ep, _req); _req 235 include/crypto/if_alg.h void af_alg_async_cb(struct crypto_async_request *_req, int err); _req 196 include/xen/interface/io/ring.h #define RING_COPY_REQUEST(_r, _idx, _req) do { \ _req 198 include/xen/interface/io/ring.h *(_req) = *(volatile typeof(_req))RING_GET_REQUEST(_r, _idx); \