Lines Matching refs:ep0
827 INIT_LIST_HEAD(&udc->gadget.ep0->ep_list); in udc_reinit()
1271 struct at91_ep *ep0 = &udc->ep[0]; in handle_ep0() local
1272 u32 __iomem *creg = ep0->creg; in handle_ep0()
1277 nuke(ep0, -EPROTO); in handle_ep0()
1286 nuke(ep0, 0); in handle_ep0()
1288 handle_setup(udc, ep0, csr); in handle_ep0()
1292 if (list_empty(&ep0->queue)) in handle_ep0()
1295 req = list_entry(ep0->queue.next, struct at91_request, queue); in handle_ep0()
1303 if (req && ep0->is_in) { in handle_ep0()
1304 if (handle_ep(ep0)) in handle_ep0()
1346 if (!ep0->is_in) { in handle_ep0()
1348 if (handle_ep(ep0)) { in handle_ep0()
1387 done(ep0, req, 0); in handle_ep0()
1517 .ep0 = &controller.ep[0].ep,