Lines Matching full:ep0
69 EP_INFO("ep0",
278 /* ep0 is always ready; other endpoints need a non-empty queue */ in done()
672 PACKET("ep0 in/status\n"); in at91_ep_queue()
831 INIT_LIST_HEAD(&udc->gadget.ep0->ep_list); in udc_reinit()
1266 PACKET("ep0 in/status\n"); in handle_setup()
1275 struct at91_ep *ep0 = &udc->ep[0]; in handle_ep0() local
1276 u32 __iomem *creg = ep0->creg; in handle_ep0()
1281 nuke(ep0, -EPROTO); in handle_ep0()
1286 VDBG("ep0 stalled\n"); in handle_ep0()
1290 nuke(ep0, 0); in handle_ep0()
1292 handle_setup(udc, ep0, csr); in handle_ep0()
1296 if (list_empty(&ep0->queue)) in handle_ep0()
1299 req = list_entry(ep0->queue.next, struct at91_request, queue); in handle_ep0()
1307 if (req && ep0->is_in) { in handle_ep0()
1308 if (handle_ep(ep0)) in handle_ep0()
1350 if (!ep0->is_in) { in handle_ep0()
1352 if (handle_ep(ep0)) { in handle_ep0()
1354 PACKET("ep0 in/status\n"); in handle_ep0()
1386 PACKET("ep0 out/status ACK\n"); in handle_ep0()
1391 done(ep0, req, 0); in handle_ep0()
1429 /* enable ep0 */ in at91_udc_irq()
1816 udc->gadget.ep0 = &udc->ep[0].ep; in at91udc_probe()