Lines Matching refs:ep0csr
597 u32 ep0csr) in s3c2410_udc_handle_ep0_idle() argument
602 if (!(ep0csr & S3C2410_UDC_EP0_CSR_OPKRDY)) in s3c2410_udc_handle_ep0_idle()
736 u32 ep0csr; in s3c2410_udc_handle_ep0() local
750 ep0csr = udc_read(S3C2410_UDC_IN_CSR1_REG); in s3c2410_udc_handle_ep0()
753 ep0csr, ep0states[dev->ep0state]); in s3c2410_udc_handle_ep0()
756 if (ep0csr & S3C2410_UDC_EP0_CSR_SENTSTL) { in s3c2410_udc_handle_ep0()
765 if (ep0csr & S3C2410_UDC_EP0_CSR_SE) { in s3c2410_udc_handle_ep0()
774 s3c2410_udc_handle_ep0_idle(dev, ep, &crq, ep0csr); in s3c2410_udc_handle_ep0()
779 if (!(ep0csr & S3C2410_UDC_EP0_CSR_IPKRDY) && req) in s3c2410_udc_handle_ep0()
785 if ((ep0csr & S3C2410_UDC_EP0_CSR_OPKRDY) && req) in s3c2410_udc_handle_ep0()
864 int ep0csr; in s3c2410_udc_irq() local
889 ep0csr = udc_read(S3C2410_UDC_IN_CSR1_REG); in s3c2410_udc_irq()
892 usb_status, usbd_status, pwr_reg, ep0csr); in s3c2410_udc_irq()
907 ep0csr, pwr_reg); in s3c2410_udc_irq()
982 if (!usb_status && !usbd_status && !pwr_reg && !ep0csr) { in s3c2410_udc_irq()