Lines Matching full:ep0
52 "ep0",
89 /* ep0 is always ready; other endpoints need a non-empty queue */ in done()
483 PACKET("ep0 in/status\n"); in at91_ep_queue()
638 INIT_LIST_HEAD(&udc->gadget.ep0->ep_list); in udc_reinit()
1067 PACKET("ep0 in/status\n"); in handle_setup()
1076 struct at91_ep *ep0 = &udc->ep[0]; in handle_ep0() local
1077 u32 __iomem *creg = ep0->creg; in handle_ep0()
1082 nuke(ep0, -EPROTO); in handle_ep0()
1087 VDBG("ep0 stalled\n"); in handle_ep0()
1091 nuke(ep0, 0); in handle_ep0()
1093 handle_setup(udc, ep0, csr); in handle_ep0()
1097 if (list_empty(&ep0->queue)) in handle_ep0()
1100 req = list_entry(ep0->queue.next, struct at91_request, queue); in handle_ep0()
1108 if (req && ep0->is_in) { in handle_ep0()
1109 if (handle_ep(ep0)) in handle_ep0()
1151 if (!ep0->is_in) { in handle_ep0()
1153 if (handle_ep(ep0)) { in handle_ep0()
1155 PACKET("ep0 in/status\n"); in handle_ep0()
1187 PACKET("ep0 out/status ACK\n"); in handle_ep0()
1192 done(ep0, req, 0); in handle_ep0()
1229 /* enable ep0 */ in at91_udc_irq()
1511 udc->gadget.ep0 = &udc->ep[0].ep; in at91_udc_probe()