Lines Matching refs:ep0
2058 udev->ep_in[0] = udev->ep_out[0] = &udev->ep0;
2134 /* USB 2.0 section 5.5.3 talks about ep0 maxpacket ...
2136 * For Wireless USB devices, ep0 max packet is always 512 (tho
2141 udev->ep0.desc.wMaxPacketSize = __constant_cpu_to_le16(512);
2144 udev->ep0.desc.wMaxPacketSize = __constant_cpu_to_le16(64);
2147 /* to determine the ep0 maxpacket size, try to read
2151 udev->ep0.desc.wMaxPacketSize = __constant_cpu_to_le16(64);
2154 udev->ep0.desc.wMaxPacketSize = __constant_cpu_to_le16(8);
2195 * first 8 bytes of the device descriptor to get the ep0 maxpacket
2275 * - read ep0 maxpacket even for high and low speed,
2298 if (le16_to_cpu(udev->ep0.desc.wMaxPacketSize) != i) {
2301 dev_err(&udev->dev, "ep0 maxpacket = %d\n", i);
2305 dev_dbg(&udev->dev, "ep0 maxpacket = %d\n", i);
2306 udev->ep0.desc.wMaxPacketSize = cpu_to_le16(i);
2962 /* ep0 maxpacket size may change; let the HCD know about it.