Lines Matching refs:ep0csr
602 u32 ep0csr) in s3c2410_udc_handle_ep0_idle() argument
607 if (!(ep0csr & S3C2410_UDC_EP0_CSR_OPKRDY)) in s3c2410_udc_handle_ep0_idle()
741 u32 ep0csr; in s3c2410_udc_handle_ep0() local
755 ep0csr = udc_read(S3C2410_UDC_IN_CSR1_REG); in s3c2410_udc_handle_ep0()
758 ep0csr, ep0states[dev->ep0state]); in s3c2410_udc_handle_ep0()
761 if (ep0csr & S3C2410_UDC_EP0_CSR_SENTSTL) { in s3c2410_udc_handle_ep0()
770 if (ep0csr & S3C2410_UDC_EP0_CSR_SE) { in s3c2410_udc_handle_ep0()
779 s3c2410_udc_handle_ep0_idle(dev, ep, &crq, ep0csr); in s3c2410_udc_handle_ep0()
784 if (!(ep0csr & S3C2410_UDC_EP0_CSR_IPKRDY) && req) in s3c2410_udc_handle_ep0()
790 if ((ep0csr & S3C2410_UDC_EP0_CSR_OPKRDY) && req) in s3c2410_udc_handle_ep0()
869 int ep0csr; in s3c2410_udc_irq() local
894 ep0csr = udc_read(S3C2410_UDC_IN_CSR1_REG); in s3c2410_udc_irq()
897 usb_status, usbd_status, pwr_reg, ep0csr); in s3c2410_udc_irq()
912 ep0csr, pwr_reg); in s3c2410_udc_irq()
987 if (!usb_status && !usbd_status && !pwr_reg && !ep0csr) { in s3c2410_udc_irq()