Lines Matching refs:maxpacket
150 u16 maxpacket; member
290 (ep->ep_usb.maxpacket << 15) | (ep->rambase)); in xudc_epconfig()
403 ep->ep_usb.maxpacket); in xudc_dma_send()
453 ep->rambase + ep->ep_usb.maxpacket); in xudc_dma_receive()
518 ep->ep_usb.maxpacket); in xudc_eptxrx()
612 is_short = count < ep->ep_usb.maxpacket; in xudc_read_fifo()
810 u16 maxpacket; in __xudc_ep_enable() local
818 ep->ep_usb.maxpacket = maxpacket = le16_to_cpu(desc->wMaxPacketSize); in __xudc_ep_enable()
829 if (maxpacket > 64) { in __xudc_ep_enable()
830 dev_dbg(udc->dev, "bogus maxpacket %d\n", maxpacket); in __xudc_ep_enable()
837 if (!(is_power_of_2(maxpacket) && maxpacket >= 8 && in __xudc_ep_enable()
838 maxpacket <= 512)) { in __xudc_ep_enable()
839 dev_dbg(udc->dev, "bogus maxpacket %d\n", maxpacket); in __xudc_ep_enable()
856 ep->epnumber, maxpacket); in __xudc_ep_enable()
1342 ep->maxpacket = 0; in xudc_eps_init()