Lines Matching refs:endp_status
383 u32 len = (readl(&outep_regs_p[0].endp_status) >> 11) & 0xfff; in dw_udc_ep0_rx()
477 nbytes = (readl(&outep_regs_p[ep].endp_status) >> 11) & in dw_udc_epn_rx()
664 writel(0x0, &in_p->endp_status); in udc_setup_ep()
693 writel(0x0, &out_p->endp_status); in udc_setup_ep()
899 if ((readl(&outep_regs_p[0].endp_status) & ENDP_STATUS_OUTMSK) in dw_udc_endpoint_irq()
903 &outep_regs_p[0].endp_status); in dw_udc_endpoint_irq()
905 } else if ((readl(&outep_regs_p[0].endp_status) & in dw_udc_endpoint_irq()
909 &outep_regs_p[0].endp_status); in dw_udc_endpoint_irq()
911 } else if ((readl(&outep_regs_p[0].endp_status) & in dw_udc_endpoint_irq()
916 writel(0x0, &outep_regs_p[0].endp_status); in dw_udc_endpoint_irq()
922 writel(ENDP_STATUS_IN, &inep_regs_p[0].endp_status); in dw_udc_endpoint_irq()
939 if ((readl(&outep_regs_p[epnum].endp_status) & in dw_udc_endpoint_irq()
944 &outep_regs_p[epnum].endp_status); in dw_udc_endpoint_irq()
945 } else if ((readl(&outep_regs_p[epnum].endp_status) & in dw_udc_endpoint_irq()
947 writel(0x0, &outep_regs_p[epnum].endp_status); in dw_udc_endpoint_irq()
961 if (readl(&inep_regs_p[epnum].endp_status) & ENDP_STATUS_IN) { in dw_udc_endpoint_irq()
963 &outep_regs_p[epnum].endp_status); in dw_udc_endpoint_irq()
967 &outep_regs_p[epnum].endp_status); in dw_udc_endpoint_irq()