Lines Matching refs:mps
1687 static u32 s3c_hsotg_ep0_mps(unsigned int mps) in s3c_hsotg_ep0_mps() argument
1689 switch (mps) { in s3c_hsotg_ep0_mps()
1715 unsigned int ep, unsigned int mps, unsigned int dir_in) in s3c_hsotg_set_ep_maxpacket() argument
1729 mpsval = s3c_hsotg_ep0_mps(mps); in s3c_hsotg_set_ep_maxpacket()
1732 hs_ep->ep.maxpacket = mps; in s3c_hsotg_set_ep_maxpacket()
1735 mpsval = mps & DXEPCTL_MPS_MASK; in s3c_hsotg_set_ep_maxpacket()
1738 mcval = ((mps >> 11) & 0x3) + 1; in s3c_hsotg_set_ep_maxpacket()
1760 dev_err(hsotg->dev, "ep%d: bad mps of %d\n", ep, mps); in s3c_hsotg_set_ep_maxpacket()
2595 u32 mps; in s3c_hsotg_ep_enable() local
2614 mps = usb_endpoint_maxp(desc); in s3c_hsotg_ep_enable()
2627 epctrl |= DXEPCTL_MPS(mps); in s3c_hsotg_ep_enable()
2645 s3c_hsotg_set_ep_maxpacket(hsotg, hs_ep->index, mps, dir_in); in s3c_hsotg_ep_enable()