Lines Matching refs:maxpacket
149 u16 maxpacket; member
287 (ep->ep_usb.maxpacket << 15) | (ep->rambase)); in xudc_epconfig()
400 ep->ep_usb.maxpacket); in xudc_dma_send()
450 ep->rambase + ep->ep_usb.maxpacket); in xudc_dma_receive()
517 ep->ep_usb.maxpacket); in xudc_eptxrx()
613 is_short = count < ep->ep_usb.maxpacket; in xudc_read_fifo()
811 u16 maxpacket; in __xudc_ep_enable() local
819 ep->ep_usb.maxpacket = maxpacket = le16_to_cpu(desc->wMaxPacketSize); in __xudc_ep_enable()
830 if (maxpacket > 64) { in __xudc_ep_enable()
831 dev_dbg(udc->dev, "bogus maxpacket %d\n", maxpacket); in __xudc_ep_enable()
838 if (!(is_power_of_2(maxpacket) && maxpacket >= 8 && in __xudc_ep_enable()
839 maxpacket <= 512)) { in __xudc_ep_enable()
840 dev_dbg(udc->dev, "bogus maxpacket %d\n", maxpacket); in __xudc_ep_enable()
857 ep->epnumber, maxpacket); in __xudc_ep_enable()
1340 ep->maxpacket = 0; in xudc_eps_init()