• Home
  • Raw
  • Download

Lines Matching refs:UDC_EP0OUT_IX

393 		if (ep->num != UDC_EP0OUT_IX)  in udc_ep_enable()
774 || ep->num == UDC_EP0OUT_IX in prep_dma()
1068 if (!ep->ep.desc && (ep->num != 0 && ep->num != UDC_EP0OUT_IX)) in udc_queue()
1209 if (ep->num != UDC_EP0OUT_IX) in udc_queue()
1260 && ep->num != UDC_EP0OUT_IX))) in udc_dequeue()
1319 if (!ep->ep.desc && (ep->num != 0 && ep->num != UDC_EP0OUT_IX)) in udc_set_halt()
1554 if (tmp != UDC_EP0IN_IX && tmp != UDC_EP0OUT_IX in udc_setup_endpoints()
1568 dev->ep[UDC_EP0OUT_IX].ep.maxpacket = in udc_setup_endpoints()
1572 dev->ep[UDC_EP0OUT_IX].ep.maxpacket = UDC_EP0OUT_MAX_PKT_SIZE; in udc_setup_endpoints()
1819 dev->ep[UDC_EP0OUT_IX].in = 0; in activate_control_endpoints()
1842 tmp = readl(&dev->ep[UDC_EP0OUT_IX].regs->bufout_maxpkt); in activate_control_endpoints()
1849 writel(tmp, &dev->ep[UDC_EP0OUT_IX].regs->bufout_maxpkt); in activate_control_endpoints()
1862 dev->ep[UDC_EP0OUT_IX].td->status |= in activate_control_endpoints()
1865 writel(dev->ep[UDC_EP0OUT_IX].td_stp_dma, in activate_control_endpoints()
1866 &dev->ep[UDC_EP0OUT_IX].regs->subptr); in activate_control_endpoints()
1867 writel(dev->ep[UDC_EP0OUT_IX].td_phys, in activate_control_endpoints()
1868 &dev->ep[UDC_EP0OUT_IX].regs->desptr); in activate_control_endpoints()
1897 tmp = readl(&dev->ep[UDC_EP0OUT_IX].regs->ctl); in activate_control_endpoints()
1899 writel(tmp, &dev->ep[UDC_EP0OUT_IX].regs->ctl); in activate_control_endpoints()
1900 dev->ep[UDC_EP0OUT_IX].naking = 0; in activate_control_endpoints()
1901 UDC_QUEUE_CNAK(&dev->ep[UDC_EP0OUT_IX], UDC_EP0OUT_IX); in activate_control_endpoints()
1929 dev->ep[UDC_EP0OUT_IX].ep.driver_data = in amd5536_udc_start()
2005 if (cnak_pending & (1 << UDC_EP0OUT_IX)) { in udc_process_cnak_queue()
2006 DBG(dev, "CNAK pending for ep%d\n", UDC_EP0OUT_IX); in udc_process_cnak_queue()
2008 reg = readl(&dev->ep[UDC_EP0OUT_IX].regs->ctl); in udc_process_cnak_queue()
2010 writel(reg, &dev->ep[UDC_EP0OUT_IX].regs->ctl); in udc_process_cnak_queue()
2011 dev->ep[UDC_EP0OUT_IX].naking = 0; in udc_process_cnak_queue()
2012 UDC_QUEUE_CNAK(&dev->ep[UDC_EP0OUT_IX], in udc_process_cnak_queue()
2013 dev->ep[UDC_EP0OUT_IX].num); in udc_process_cnak_queue()
2228 if (ep->num != UDC_EP0OUT_IX) in udc_data_out_isr()
2430 ep = &dev->ep[UDC_EP0OUT_IX]; in udc_control_out_isr()
2435 tmp = readl(&dev->ep[UDC_EP0OUT_IX].regs->sts); in udc_control_out_isr()
2440 &dev->ep[UDC_EP0OUT_IX].regs->sts); in udc_control_out_isr()
2467 &dev->ep[UDC_EP0OUT_IX].regs->sts); in udc_control_out_isr()
2470 dev->ep[UDC_EP0OUT_IX].td_stp->data12; in udc_control_out_isr()
2472 dev->ep[UDC_EP0OUT_IX].td_stp->data34; in udc_control_out_isr()
2474 dev->ep[UDC_EP0OUT_IX].td_stp->status = in udc_control_out_isr()
2488 dev->gadget.ep0 = &dev->ep[UDC_EP0OUT_IX].ep; in udc_control_out_isr()
2496 &dev->ep[UDC_EP0OUT_IX].regs->desptr); in udc_control_out_isr()
2501 dev->ep[UDC_EP0OUT_IX].naking = 1; in udc_control_out_isr()
2560 tmp = readl(&dev->ep[UDC_EP0OUT_IX].regs->ctl); in udc_control_out_isr()
2562 writel(tmp, &dev->ep[UDC_EP0OUT_IX].regs->ctl); in udc_control_out_isr()
2563 dev->ep[UDC_EP0OUT_IX].naking = 0; in udc_control_out_isr()
2564 UDC_QUEUE_CNAK(&dev->ep[UDC_EP0OUT_IX], UDC_EP0OUT_IX); in udc_control_out_isr()
2570 &dev->ep[UDC_EP0OUT_IX].regs->sts); in udc_control_out_isr()
2576 writel(UDC_EPSTS_OUT_CLEAR, &dev->ep[UDC_EP0OUT_IX].regs->sts); in udc_control_out_isr()
2581 if (list_empty(&dev->ep[UDC_EP0OUT_IX].queue)) { in udc_control_out_isr()
2585 dev->ep[UDC_EP0OUT_IX].td->status = in udc_control_out_isr()
2587 dev->ep[UDC_EP0OUT_IX].td->status, in udc_control_out_isr()
2596 ret_val |= udc_data_out_isr(dev, UDC_EP0OUT_IX); in udc_control_out_isr()
2598 writel(dev->ep[UDC_EP0OUT_IX].td_phys, in udc_control_out_isr()
2599 &dev->ep[UDC_EP0OUT_IX].regs->desptr); in udc_control_out_isr()
2606 count = readl(&dev->ep[UDC_EP0OUT_IX].regs->sts); in udc_control_out_isr()
2613 ret_val |= udc_data_out_isr(dev, UDC_EP0OUT_IX); in udc_control_out_isr()
2616 readl(&dev->ep[UDC_EP0OUT_IX].regs->confirm); in udc_control_out_isr()
3060 dev->ep[UDC_EP0OUT_IX].td_stp, in udc_pci_remove()
3061 dev->ep[UDC_EP0OUT_IX].td_stp_dma); in udc_pci_remove()
3063 dev->ep[UDC_EP0OUT_IX].td, in udc_pci_remove()
3064 dev->ep[UDC_EP0OUT_IX].td_phys); in udc_pci_remove()
3123 &dev->ep[UDC_EP0OUT_IX].td_stp_dma); in init_dma_pools()
3128 dev->ep[UDC_EP0OUT_IX].td_stp = td_stp; in init_dma_pools()
3132 &dev->ep[UDC_EP0OUT_IX].td_phys); in init_dma_pools()
3137 dev->ep[UDC_EP0OUT_IX].td = td_data; in init_dma_pools()