Lines Matching refs:ep0
1193 /* just use protocol stalls for ep0; real halts are annoying */
1512 struct omap_ep *ep0 = &udc->ep[0];
1515 ep0->irqs++;
1523 nuke(ep0, 0);
1531 * This driver uses only uses protocol stalls (ep0 never halts),
1538 if (!list_empty(&ep0->queue))
1539 req = container_of(ep0->queue.next, struct omap_req, queue);
1554 stat = write_fifo(ep0, req);
1567 done(ep0, req, 0);
1591 if (!req || (stat = read_fifo(ep0, req)) < 0) {
1601 done(ep0, req, 0);
1602 /* that may have STALLed ep0... */
1613 done(ep0, req, 0);
1654 ep0->stopped = 0;
1655 ep0->ackwait = 0;
1685 if (ep != ep0) {
1717 || ep == ep0 || !ep->desc)
1744 /* ep0 never stalls */
1804 * response buffer for the DATA stage, or halting ep0
1881 /* ep0 traffic is legal from now on */
2506 (tmp & UDC_EP0_IE) ? " ep0" : "");
2733 udc->gadget.ep0 = &udc->ep[0].ep;
2748 /* ep0 is special; put it right after the SETUP buffer */
2749 buf = omap_ep_setup("ep0", 0, USB_ENDPOINT_XFER_CONTROL,
2753 /* initially disable all non-ep0 endpoints */
2984 /* USB general purpose IRQ: ep0, state changes, dma, etc */
2993 /* USB "non-iso" IRQ (PIO for all but ep0) */