Lines Matching refs:mps
1712 static u32 dwc2_hsotg_ep0_mps(unsigned int mps) in dwc2_hsotg_ep0_mps() argument
1714 switch (mps) { in dwc2_hsotg_ep0_mps()
1740 unsigned int ep, unsigned int mps, unsigned int dir_in) in dwc2_hsotg_set_ep_maxpacket() argument
1754 mpsval = dwc2_hsotg_ep0_mps(mps); in dwc2_hsotg_set_ep_maxpacket()
1757 hs_ep->ep.maxpacket = mps; in dwc2_hsotg_set_ep_maxpacket()
1760 mpsval = mps & DXEPCTL_MPS_MASK; in dwc2_hsotg_set_ep_maxpacket()
1763 mcval = ((mps >> 11) & 0x3) + 1; in dwc2_hsotg_set_ep_maxpacket()
1785 dev_err(hsotg->dev, "ep%d: bad mps of %d\n", ep, mps); in dwc2_hsotg_set_ep_maxpacket()
2664 u32 mps; in dwc2_hsotg_ep_enable() local
2683 mps = usb_endpoint_maxp(desc); in dwc2_hsotg_ep_enable()
2696 epctrl |= DXEPCTL_MPS(mps); in dwc2_hsotg_ep_enable()
2714 dwc2_hsotg_set_ep_maxpacket(hsotg, hs_ep->index, mps, dir_in); in dwc2_hsotg_ep_enable()