Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/dwc2/
H A Dgadget.c1062 unsigned int maxreq; in dwc2_hsotg_start_req() local
1099 maxreq = get_ep_limit(hs_ep); in dwc2_hsotg_start_req()
1101 maxreq = dwc2_gadget_get_chain_limit(hs_ep); in dwc2_hsotg_start_req()
1103 if (length > maxreq) { in dwc2_hsotg_start_req()
1104 int round = maxreq % hs_ep->ep.maxpacket; in dwc2_hsotg_start_req()
1107 __func__, length, maxreq, round); in dwc2_hsotg_start_req()
1111 maxreq -= round; in dwc2_hsotg_start_req()
1113 length = maxreq; in dwc2_hsotg_start_req()