Lines Matching refs:epi
693 epctrl = gr_read32(&dev->epi[0].regs->epctrl); in gr_control_stall()
694 gr_write32(&dev->epi[0].regs->epctrl, epctrl | GR_EPCTRL_CS); in gr_control_stall()
833 status = gr_queue_int(&dev->epi[0], dev->ep0reqi, GFP_ATOMIC); in gr_ep0_respond()
994 ep = (is_in ? &dev->epi[epnum] : &dev->epo[epnum]); in gr_endpoint_request()
1223 gr_ep_nuke(&dev->epi[0]); in gr_udc_usbreset()
1225 dev->epi[0].stopped = 0; in gr_udc_usbreset()
1415 ep = &dev->epi[i]; in gr_irq_handler()
1484 if (ep == &dev->epo[0] || ep == &dev->epi[0]) in gr_ep_enable()
1613 if (ep == &dev->epo[0] || ep == &dev->epi[0]) in gr_ep_disable()
1675 if ((ep == &dev->epi[0]) && (dev->ep0state == GR_EP0_ODATA)) { in gr_queue_ext()
1677 ep->ep.driver_data = dev->epi[0].ep.driver_data; in gr_queue_ext()
1967 ep = &dev->epi[num]; in gr_ep_init()
1969 ep->regs = &dev->regs->epi[num]; in gr_ep_init()
2044 dev->gadget.ep0 = &dev->epi[0].ep; in gr_udc_init()
2072 gr_write32(&dev->epi[0].regs->epctrl, epctrl_val | GR_EPCTRL_PI); in gr_udc_init()
2074 gr_write32(&dev->epi[0].regs->dmactrl, dmactrl_val); in gr_udc_init()
2084 ep = &dev->epi[num]; in gr_ep_remove()
2107 gr_free_request(&dev->epi[0].ep, &dev->ep0reqi->req); in gr_remove()