Lines Matching refs:ep0csr
604 u32 ep0csr) in s3c2410_udc_handle_ep0_idle() argument
609 if (!(ep0csr & S3C2410_UDC_EP0_CSR_OPKRDY)) in s3c2410_udc_handle_ep0_idle()
743 u32 ep0csr; in s3c2410_udc_handle_ep0() local
757 ep0csr = udc_read(S3C2410_UDC_IN_CSR1_REG); in s3c2410_udc_handle_ep0()
760 ep0csr, ep0states[dev->ep0state]); in s3c2410_udc_handle_ep0()
763 if (ep0csr & S3C2410_UDC_EP0_CSR_SENTSTL) { in s3c2410_udc_handle_ep0()
772 if (ep0csr & S3C2410_UDC_EP0_CSR_SE) { in s3c2410_udc_handle_ep0()
781 s3c2410_udc_handle_ep0_idle(dev, ep, &crq, ep0csr); in s3c2410_udc_handle_ep0()
786 if (!(ep0csr & S3C2410_UDC_EP0_CSR_IPKRDY) && req) in s3c2410_udc_handle_ep0()
792 if ((ep0csr & S3C2410_UDC_EP0_CSR_OPKRDY) && req) in s3c2410_udc_handle_ep0()
871 int ep0csr; in s3c2410_udc_irq() local
896 ep0csr = udc_read(S3C2410_UDC_IN_CSR1_REG); in s3c2410_udc_irq()
899 usb_status, usbd_status, pwr_reg, ep0csr); in s3c2410_udc_irq()
914 ep0csr, pwr_reg); in s3c2410_udc_irq()
989 if (!usb_status && !usbd_status && !pwr_reg && !ep0csr) { in s3c2410_udc_irq()