Lines Matching refs:ep0
641 INIT_LIST_HEAD(&udc->gadget.ep0->ep_list); in udc_reinit()
1079 struct at91_ep *ep0 = &udc->ep[0]; in handle_ep0() local
1080 u32 __iomem *creg = ep0->creg; in handle_ep0()
1085 nuke(ep0, -EPROTO); in handle_ep0()
1094 nuke(ep0, 0); in handle_ep0()
1096 handle_setup(udc, ep0, csr); in handle_ep0()
1100 if (list_empty(&ep0->queue)) in handle_ep0()
1103 req = list_entry(ep0->queue.next, struct at91_request, queue); in handle_ep0()
1111 if (req && ep0->is_in) { in handle_ep0()
1112 if (handle_ep(ep0)) in handle_ep0()
1154 if (!ep0->is_in) { in handle_ep0()
1156 if (handle_ep(ep0)) { in handle_ep0()
1195 done(ep0, req, 0); in handle_ep0()
1514 udc->gadget.ep0 = &udc->ep[0].ep; in at91_udc_probe()