Lines Matching refs:ep0csr
631 u32 ep0csr)
636 if (!(ep0csr & S3C2410_UDC_EP0_CSR_OPKRDY))
771 u32 ep0csr;
785 ep0csr = udc_read(S3C2410_UDC_IN_CSR1_REG);
787 dprintk(DEBUG_NORMAL, "ep0csr %x ep0state %s\n",
788 ep0csr, ep0states[dev->ep0state]);
791 if (ep0csr & S3C2410_UDC_EP0_CSR_SENTSTL) {
800 if (ep0csr & S3C2410_UDC_EP0_CSR_SE) {
809 s3c2410_udc_handle_ep0_idle(dev, ep, &crq, ep0csr);
814 if (!(ep0csr & S3C2410_UDC_EP0_CSR_IPKRDY) && req) {
821 if ((ep0csr & S3C2410_UDC_EP0_CSR_OPKRDY) && req ) {
903 int ep0csr;
928 ep0csr = udc_read(S3C2410_UDC_IN_CSR1_REG);
930 dprintk(DEBUG_NORMAL, "usbs=%02x, usbds=%02x, pwr=%02x ep0csr=%02x\n",
931 usb_status, usbd_status, pwr_reg, ep0csr);
946 ep0csr, pwr_reg);
998 /* check on ep0csr != 0 is not a good idea as clearing in_pkt_ready