Lines Matching refs:maxpacket
390 max_transfer = hs_ep->ep.maxpacket * hs_ep->mc; in dwc2_hsotg_write_fifo()
500 if ((maxpkt * hs_ep->ep.maxpacket) < maxsize) in get_ep_limit()
501 maxsize = maxpkt * hs_ep->ep.maxpacket; in get_ep_limit()
566 int round = maxreq % hs_ep->ep.maxpacket; in dwc2_hsotg_start_req()
579 packets = DIV_ROUND_UP(length, hs_ep->ep.maxpacket); in dwc2_hsotg_start_req()
583 if (hs_ep->isochronous && length > (hs_ep->mc * hs_ep->ep.maxpacket)) { in dwc2_hsotg_start_req()
602 if ((ureq->length >= hs_ep->ep.maxpacket) && in dwc2_hsotg_start_req()
603 !(ureq->length % hs_ep->ep.maxpacket)) in dwc2_hsotg_start_req()
1757 hs_ep->ep.maxpacket = mps; in dwc2_hsotg_set_ep_maxpacket()
1767 hs_ep->ep.maxpacket = mpsval; in dwc2_hsotg_set_ep_maxpacket()
2418 dwc2_writel(dwc2_hsotg_ep0_mps(hsotg->eps_out[0]->ep.maxpacket) | in dwc2_hsotg_core_init_disconnected()
2424 dwc2_writel(dwc2_hsotg_ep0_mps(hsotg->eps_out[0]->ep.maxpacket) | in dwc2_hsotg_core_init_disconnected()
2753 size = hs_ep->ep.maxpacket * hs_ep->mc; in dwc2_hsotg_ep_enable()
2769 size = hs_ep->ep.maxpacket*hs_ep->mc; in dwc2_hsotg_ep_enable()