Lines Matching refs:ureq
872 struct usb_request *ureq = NULL; in dwc2_gadget_config_nonisoc_xfer_ddma() local
879 ureq = &hs_ep->req->req; in dwc2_gadget_config_nonisoc_xfer_ddma()
882 if (!ureq || !ureq->num_sgs) { in dwc2_gadget_config_nonisoc_xfer_ddma()
889 for_each_sg(ureq->sg, sg, ureq->num_sgs, i) { in dwc2_gadget_config_nonisoc_xfer_ddma()
1054 struct usb_request *ureq = &hs_req->req; in dwc2_hsotg_start_req() local
1095 length = ureq->length - ureq->actual; in dwc2_hsotg_start_req()
1097 ureq->length, ureq->actual); in dwc2_hsotg_start_req()
1134 if (dir_in && ureq->zero && !continuing) { in dwc2_hsotg_start_req()
1136 if ((ureq->length >= hs_ep->ep.maxpacket) && in dwc2_hsotg_start_req()
1137 !(ureq->length % hs_ep->ep.maxpacket)) in dwc2_hsotg_start_req()
1145 __func__, packets, length, ureq->length, epsize, epsize_reg); in dwc2_hsotg_start_req()
1163 offset = ureq->actual; in dwc2_hsotg_start_req()
1166 dwc2_gadget_config_nonisoc_xfer_ddma(hs_ep, ureq->dma + offset, in dwc2_hsotg_start_req()
1184 dwc2_writel(hsotg, ureq->dma, dma_reg); in dwc2_hsotg_start_req()
1187 __func__, &ureq->dma, dma_reg); in dwc2_hsotg_start_req()
1225 hs_ep->last_load = ureq->actual; in dwc2_hsotg_start_req()
2182 struct usb_request *ureq; in dwc2_gadget_complete_isoc_request_ddma() local
2197 ureq = &hs_req->req; in dwc2_gadget_complete_isoc_request_ddma()
2204 ureq->actual = ureq->length - ((desc_sts & mask) >> in dwc2_gadget_complete_isoc_request_ddma()
2210 if (!hs_ep->dir_in && ureq->length & 0x3) in dwc2_gadget_complete_isoc_request_ddma()
2211 ureq->actual += 4 - (ureq->length & 0x3); in dwc2_gadget_complete_isoc_request_ddma()
2214 ureq->frame_number = in dwc2_gadget_complete_isoc_request_ddma()