hs_req 699 drivers/message/fusion/mptbase.h u32 hs_req[MPT_MAX_FRAME_SIZE/sizeof(u32)]; hs_req 420 drivers/usb/dwc2/gadget.c struct dwc2_hsotg_req *hs_req) hs_req 422 drivers/usb/dwc2/gadget.c struct usb_request *req = &hs_req->req; hs_req 493 drivers/usb/dwc2/gadget.c struct dwc2_hsotg_req *hs_req) hs_req 497 drivers/usb/dwc2/gadget.c int buf_pos = hs_req->req.actual; hs_req 629 drivers/usb/dwc2/gadget.c to_write, hs_req->req.length, can_write, buf_pos); hs_req 634 drivers/usb/dwc2/gadget.c hs_req->req.actual = buf_pos + to_write; hs_req 641 drivers/usb/dwc2/gadget.c data = hs_req->req.buf + buf_pos; hs_req 954 drivers/usb/dwc2/gadget.c struct dwc2_hsotg_req *hs_req, *treq; hs_req 978 drivers/usb/dwc2/gadget.c list_for_each_entry_safe(hs_req, treq, &hs_ep->queue, queue) { hs_req 979 drivers/usb/dwc2/gadget.c dma_addr_t dma_addr = hs_req->req.dma; hs_req 981 drivers/usb/dwc2/gadget.c if (hs_req->req.num_sgs) { hs_req 982 drivers/usb/dwc2/gadget.c WARN_ON(hs_req->req.num_sgs > 1); hs_req 983 drivers/usb/dwc2/gadget.c dma_addr = sg_dma_address(hs_req->req.sg); hs_req 986 drivers/usb/dwc2/gadget.c hs_req->req.length); hs_req 1015 drivers/usb/dwc2/gadget.c struct dwc2_hsotg_req *hs_req, hs_req 1018 drivers/usb/dwc2/gadget.c struct usb_request *ureq = &hs_req->req; hs_req 1035 drivers/usb/dwc2/gadget.c } else if (hs_ep->req != hs_req && continuing) { hs_req 1112 drivers/usb/dwc2/gadget.c hs_ep->req = hs_req; hs_req 1194 drivers/usb/dwc2/gadget.c dwc2_hsotg_write_fifo(hsotg, hs_ep, hs_req); hs_req 1248 drivers/usb/dwc2/gadget.c struct dwc2_hsotg_req *hs_req) hs_req 1250 drivers/usb/dwc2/gadget.c void *req_buf = hs_req->req.buf; hs_req 1256 drivers/usb/dwc2/gadget.c WARN_ON(hs_req->saved_req_buf); hs_req 1259 drivers/usb/dwc2/gadget.c hs_ep->ep.name, req_buf, hs_req->req.length); hs_req 1261 drivers/usb/dwc2/gadget.c hs_req->req.buf = kmalloc(hs_req->req.length, GFP_ATOMIC); hs_req 1262 drivers/usb/dwc2/gadget.c if (!hs_req->req.buf) { hs_req 1263 drivers/usb/dwc2/gadget.c hs_req->req.buf = req_buf; hs_req 1271 drivers/usb/dwc2/gadget.c hs_req->saved_req_buf = req_buf; hs_req 1274 drivers/usb/dwc2/gadget.c memcpy(hs_req->req.buf, req_buf, hs_req->req.length); hs_req 1281 drivers/usb/dwc2/gadget.c struct dwc2_hsotg_req *hs_req) hs_req 1284 drivers/usb/dwc2/gadget.c if (!using_dma(hsotg) || !hs_req->saved_req_buf) hs_req 1288 drivers/usb/dwc2/gadget.c hs_ep->ep.name, hs_req->req.status, hs_req->req.actual); hs_req 1291 drivers/usb/dwc2/gadget.c if (!hs_ep->dir_in && !hs_req->req.status) hs_req 1292 drivers/usb/dwc2/gadget.c memcpy(hs_req->saved_req_buf, hs_req->req.buf, hs_req 1293 drivers/usb/dwc2/gadget.c hs_req->req.actual); hs_req 1296 drivers/usb/dwc2/gadget.c kfree(hs_req->req.buf); hs_req 1298 drivers/usb/dwc2/gadget.c hs_req->req.buf = hs_req->saved_req_buf; hs_req 1299 drivers/usb/dwc2/gadget.c hs_req->saved_req_buf = NULL; hs_req 1364 drivers/usb/dwc2/gadget.c struct dwc2_hsotg_req *hs_req = our_req(req); hs_req 1385 drivers/usb/dwc2/gadget.c INIT_LIST_HEAD(&hs_req->queue); hs_req 1414 drivers/usb/dwc2/gadget.c ret = dwc2_hsotg_handle_unaligned_buf_start(hs, hs_ep, hs_req); hs_req 1432 drivers/usb/dwc2/gadget.c list_add_tail(&hs_req->queue, &hs_ep->queue); hs_req 1442 drivers/usb/dwc2/gadget.c dma_addr_t dma_addr = hs_req->req.dma; hs_req 1444 drivers/usb/dwc2/gadget.c if (hs_req->req.num_sgs) { hs_req 1445 drivers/usb/dwc2/gadget.c WARN_ON(hs_req->req.num_sgs > 1); hs_req 1446 drivers/usb/dwc2/gadget.c dma_addr = sg_dma_address(hs_req->req.sg); hs_req 1449 drivers/usb/dwc2/gadget.c hs_req->req.length); hs_req 1461 drivers/usb/dwc2/gadget.c dwc2_hsotg_start_req(hs, hs_ep, hs_req, false); hs_req 1476 drivers/usb/dwc2/gadget.c dwc2_hsotg_start_req(hs, hs_ep, hs_req, false); hs_req 1499 drivers/usb/dwc2/gadget.c struct dwc2_hsotg_req *hs_req = our_req(req); hs_req 1501 drivers/usb/dwc2/gadget.c kfree(hs_req); hs_req 1711 drivers/usb/dwc2/gadget.c struct dwc2_hsotg_req *hs_req; hs_req 1715 drivers/usb/dwc2/gadget.c hs_req = get_ep_head(hs_ep); hs_req 1716 drivers/usb/dwc2/gadget.c dwc2_hsotg_start_req(hsotg, hs_ep, hs_req, false); hs_req 1743 drivers/usb/dwc2/gadget.c struct dwc2_hsotg_req *hs_req; hs_req 1821 drivers/usb/dwc2/gadget.c hs_req = ep->req; hs_req 1823 drivers/usb/dwc2/gadget.c list_del_init(&hs_req->queue); hs_req 1824 drivers/usb/dwc2/gadget.c if (hs_req->req.complete) { hs_req 1827 drivers/usb/dwc2/gadget.c &ep->ep, &hs_req->req); hs_req 2005 drivers/usb/dwc2/gadget.c struct dwc2_hsotg_req *hs_req = our_req(req); hs_req 2015 drivers/usb/dwc2/gadget.c if (!list_empty(&hs_req->queue)) { hs_req 2084 drivers/usb/dwc2/gadget.c struct dwc2_hsotg_req *hs_req, hs_req 2087 drivers/usb/dwc2/gadget.c if (!hs_req) { hs_req 2093 drivers/usb/dwc2/gadget.c hs_ep, hs_ep->ep.name, hs_req, result, hs_req->req.complete); hs_req 2100 drivers/usb/dwc2/gadget.c if (hs_req->req.status == -EINPROGRESS) hs_req 2101 drivers/usb/dwc2/gadget.c hs_req->req.status = result; hs_req 2104 drivers/usb/dwc2/gadget.c dwc2_hsotg_unmap_dma(hsotg, hs_ep, hs_req); hs_req 2106 drivers/usb/dwc2/gadget.c dwc2_hsotg_handle_unaligned_buf_complete(hsotg, hs_ep, hs_req); hs_req 2109 drivers/usb/dwc2/gadget.c list_del_init(&hs_req->queue); hs_req 2116 drivers/usb/dwc2/gadget.c if (hs_req->req.complete) { hs_req 2118 drivers/usb/dwc2/gadget.c usb_gadget_giveback_request(&hs_ep->ep, &hs_req->req); hs_req 2148 drivers/usb/dwc2/gadget.c struct dwc2_hsotg_req *hs_req; hs_req 2159 drivers/usb/dwc2/gadget.c hs_req = get_ep_head(hs_ep); hs_req 2160 drivers/usb/dwc2/gadget.c if (!hs_req) { hs_req 2164 drivers/usb/dwc2/gadget.c ureq = &hs_req->req; hs_req 2186 drivers/usb/dwc2/gadget.c dwc2_hsotg_complete_request(hsotg, hs_ep, hs_req, 0); hs_req 2230 drivers/usb/dwc2/gadget.c struct dwc2_hsotg_req *hs_req = hs_ep->req; hs_req 2235 drivers/usb/dwc2/gadget.c if (!hs_req) { hs_req 2251 drivers/usb/dwc2/gadget.c read_ptr = hs_req->req.actual; hs_req 2252 drivers/usb/dwc2/gadget.c max_req = hs_req->req.length - read_ptr; hs_req 2255 drivers/usb/dwc2/gadget.c __func__, to_read, max_req, read_ptr, hs_req->req.length); hs_req 2268 drivers/usb/dwc2/gadget.c hs_req->req.actual += to_read; hs_req 2276 drivers/usb/dwc2/gadget.c hs_req->req.buf + read_ptr, to_read); hs_req 2357 drivers/usb/dwc2/gadget.c struct dwc2_hsotg_req *hs_req = hs_ep->req; hs_req 2358 drivers/usb/dwc2/gadget.c struct usb_request *req = &hs_req->req; hs_req 2362 drivers/usb/dwc2/gadget.c if (!hs_req) { hs_req 2369 drivers/usb/dwc2/gadget.c dwc2_hsotg_complete_request(hsotg, hs_ep, hs_req, 0); hs_req 2397 drivers/usb/dwc2/gadget.c dwc2_hsotg_start_req(hsotg, hs_ep, hs_req, true); hs_req 2434 drivers/usb/dwc2/gadget.c dwc2_hsotg_complete_request(hsotg, hs_ep, hs_req, result); hs_req 2627 drivers/usb/dwc2/gadget.c struct dwc2_hsotg_req *hs_req = hs_ep->req; hs_req 2629 drivers/usb/dwc2/gadget.c if (!hs_ep->dir_in || !hs_req) { hs_req 2640 drivers/usb/dwc2/gadget.c if (hs_req->req.actual < hs_req->req.length) { hs_req 2643 drivers/usb/dwc2/gadget.c return dwc2_hsotg_write_fifo(hsotg, hs_ep, hs_req); hs_req 2660 drivers/usb/dwc2/gadget.c struct dwc2_hsotg_req *hs_req = hs_ep->req; hs_req 2664 drivers/usb/dwc2/gadget.c if (!hs_req) { hs_req 2679 drivers/usb/dwc2/gadget.c dwc2_hsotg_complete_request(hsotg, hs_ep, hs_req, 0); hs_req 2716 drivers/usb/dwc2/gadget.c if (hs_req->req.actual != size_done) hs_req 2718 drivers/usb/dwc2/gadget.c __func__, hs_req->req.actual, size_done); hs_req 2720 drivers/usb/dwc2/gadget.c hs_req->req.actual = size_done; hs_req 2722 drivers/usb/dwc2/gadget.c hs_req->req.length, hs_req->req.actual, hs_req->req.zero); hs_req 2724 drivers/usb/dwc2/gadget.c if (!size_left && hs_req->req.actual < hs_req->req.length) { hs_req 2726 drivers/usb/dwc2/gadget.c dwc2_hsotg_start_req(hsotg, hs_ep, hs_req, true); hs_req 2744 drivers/usb/dwc2/gadget.c dwc2_hsotg_complete_request(hsotg, hs_ep, hs_req, 0); hs_req 2791 drivers/usb/dwc2/gadget.c struct dwc2_hsotg_req *hs_req; hs_req 2833 drivers/usb/dwc2/gadget.c hs_req = get_ep_head(hs_ep); hs_req 2834 drivers/usb/dwc2/gadget.c if (hs_req) hs_req 2835 drivers/usb/dwc2/gadget.c dwc2_hsotg_complete_request(hsotg, hs_ep, hs_req, hs_req 4234 drivers/usb/dwc2/gadget.c struct dwc2_hsotg_req *hs_req = our_req(req); hs_req 4243 drivers/usb/dwc2/gadget.c if (!on_list(hs_ep, hs_req)) { hs_req 4252 drivers/usb/dwc2/gadget.c dwc2_hsotg_complete_request(hs, hs_ep, hs_req, -ECONNRESET);