Lines Matching refs:maxpacket
105 u32 maxpacket; member
480 ep->ep.name, ep->ep.maxpacket, in proc_ep_show()
823 u32 maxpacket) in udc_realize_hwep() argument
831 writel(maxpacket, USBD_EPMAXPSIZE(udc->udp_baseaddr)); in udc_realize_hwep()
993 if (req->req.length % ep->ep.maxpacket) in udc_ep_in_req_dma()
1076 udc_realize_hwep(udc, i, ep->ep.maxpacket); in udc_enable()
1389 usb_ep_set_maxpacket_limit(&ep->ep, ep->maxpacket); in udc_reinit()
1460 } else if (ts > ep0->ep.maxpacket) in udc_ep0_in_req()
1461 ts = ep0->ep.maxpacket; /* Just send what we can */ in udc_ep0_in_req()
1469 if (tsend >= ep0->ep.maxpacket) in udc_ep0_in_req()
1501 if (bufferspace > ep0->ep.maxpacket) in udc_ep0_out_req()
1502 bufferspace = ep0->ep.maxpacket; in udc_ep0_out_req()
1510 if (tr < ep0->ep.maxpacket) { in udc_ep0_out_req()
1607 u16 maxpacket; in lpc32xx_ep_enable() local
1617 maxpacket = usb_endpoint_maxp(desc); in lpc32xx_ep_enable()
1618 if ((maxpacket == 0) || (maxpacket > ep->maxpacket)) { in lpc32xx_ep_enable()
1641 if (maxpacket > ep->maxpacket) { in lpc32xx_ep_enable()
1643 "Bad INT endpoint maxpacket %d\n", maxpacket); in lpc32xx_ep_enable()
1649 switch (maxpacket) { in lpc32xx_ep_enable()
1658 "Bad BULK endpoint maxpacket %d\n", maxpacket); in lpc32xx_ep_enable()
1670 ep->ep.maxpacket = maxpacket; in lpc32xx_ep_enable()
1680 ep->hwep_num, maxpacket, (ep->is_in == 1)); in lpc32xx_ep_enable()
1684 udc_realize_hwep(udc, ep->hwep_num, ep->ep.maxpacket); in lpc32xx_ep_enable()
1786 dd->dd_setup = DD_SETUP_PACKETLEN(ep->ep.maxpacket) | in lpc32xx_ep_queue()
2521 .maxpacket = 64,
2534 .maxpacket = 64,
2547 .maxpacket = 64,
2560 .maxpacket = 1023,
2573 .maxpacket = 64,
2586 .maxpacket = 64,
2599 .maxpacket = 1023,
2612 .maxpacket = 64,
2625 .maxpacket = 64,
2638 .maxpacket = 1023,
2651 .maxpacket = 64,
2664 .maxpacket = 64,
2677 .maxpacket = 1023,
2690 .maxpacket = 64,
2703 .maxpacket = 64,
2716 .maxpacket = 1023,