Lines Matching refs:maxpacket
396 max_transfer = hs_ep->ep.maxpacket * hs_ep->mc; in s3c_hsotg_write_fifo()
506 if ((maxpkt * hs_ep->ep.maxpacket) < maxsize) in get_ep_limit()
507 maxsize = maxpkt * hs_ep->ep.maxpacket; in get_ep_limit()
572 int round = maxreq % hs_ep->ep.maxpacket; in s3c_hsotg_start_req()
585 packets = DIV_ROUND_UP(length, hs_ep->ep.maxpacket); in s3c_hsotg_start_req()
589 if (hs_ep->isochronous && length > (hs_ep->mc * hs_ep->ep.maxpacket)) { in s3c_hsotg_start_req()
608 if ((ureq->length >= hs_ep->ep.maxpacket) && in s3c_hsotg_start_req()
609 !(ureq->length % hs_ep->ep.maxpacket)) in s3c_hsotg_start_req()
1732 hs_ep->ep.maxpacket = mps; in s3c_hsotg_set_ep_maxpacket()
1742 hs_ep->ep.maxpacket = mpsval; in s3c_hsotg_set_ep_maxpacket()
2388 writel(s3c_hsotg_ep0_mps(hsotg->eps_out[0]->ep.maxpacket) | in s3c_hsotg_core_init_disconnected()
2394 writel(s3c_hsotg_ep0_mps(hsotg->eps_out[0]->ep.maxpacket) | in s3c_hsotg_core_init_disconnected()
2683 size = hs_ep->ep.maxpacket * hs_ep->mc; in s3c_hsotg_ep_enable()
2699 size = hs_ep->ep.maxpacket*hs_ep->mc; in s3c_hsotg_ep_enable()
3657 seq_printf(seq, "mps %d\n", ep->ep.maxpacket); in ep_show()