Lines Matching refs:udc_write

66 static inline void udc_write(u32 value, u32 reg)  in udc_write()  function
132 udc_write(0, S3C2410_UDC_INDEX_REG); in s3c2410_udc_debugfs_show()
134 udc_write(1, S3C2410_UDC_INDEX_REG); in s3c2410_udc_debugfs_show()
139 udc_write(2, S3C2410_UDC_INDEX_REG); in s3c2410_udc_debugfs_show()
354 udc_write(idx, S3C2410_UDC_INDEX_REG); in s3c2410_udc_write_fifo()
356 udc_write(idx, S3C2410_UDC_INDEX_REG); in s3c2410_udc_write_fifo()
357 udc_write(ep_csr | S3C2410_UDC_ICSR1_PKTRDY, in s3c2410_udc_write_fifo()
370 udc_write(idx, S3C2410_UDC_INDEX_REG); in s3c2410_udc_write_fifo()
372 udc_write(idx, S3C2410_UDC_INDEX_REG); in s3c2410_udc_write_fifo()
373 udc_write(ep_csr | S3C2410_UDC_ICSR1_PKTRDY, in s3c2410_udc_write_fifo()
441 udc_write(idx, S3C2410_UDC_INDEX_REG); in s3c2410_udc_read_fifo()
465 udc_write(idx, S3C2410_UDC_INDEX_REG); in s3c2410_udc_read_fifo()
478 udc_write(idx, S3C2410_UDC_INDEX_REG); in s3c2410_udc_read_fifo()
480 udc_write(idx, S3C2410_UDC_INDEX_REG); in s3c2410_udc_read_fifo()
481 udc_write(ep_csr & ~S3C2410_UDC_OCSR1_PKTRDY, in s3c2410_udc_read_fifo()
490 udc_write(idx, S3C2410_UDC_INDEX_REG); in s3c2410_udc_read_fifo()
492 udc_write(idx, S3C2410_UDC_INDEX_REG); in s3c2410_udc_read_fifo()
493 udc_write(ep_csr & ~S3C2410_UDC_OCSR1_PKTRDY, in s3c2410_udc_read_fifo()
506 udc_write(0, S3C2410_UDC_INDEX_REG); in s3c2410_udc_read_fifo_crq()
544 udc_write(0, S3C2410_UDC_INDEX_REG); in s3c2410_udc_get_status()
548 udc_write(ep_num, S3C2410_UDC_INDEX_REG); in s3c2410_udc_get_status()
567 udc_write(status & 0xFF, S3C2410_UDC_EP0_FIFO_REG); in s3c2410_udc_get_status()
568 udc_write(status >> 8, S3C2410_UDC_EP0_FIFO_REG); in s3c2410_udc_get_status()
632 udc_write((tmp | S3C2410_UDC_FUNCADDR_UPDATE), in s3c2410_udc_handle_ep0_idle()
731 udc_write(0, S3C2410_UDC_INDEX_REG); in s3c2410_udc_handle_ep0()
803 udc_write(idx, S3C2410_UDC_INDEX_REG); in s3c2410_udc_handle_ep()
810 udc_write(idx, S3C2410_UDC_INDEX_REG); in s3c2410_udc_handle_ep()
811 udc_write(ep_csr1 & ~S3C2410_UDC_ICSR1_SENTSTL, in s3c2410_udc_handle_ep()
819 udc_write(idx, S3C2410_UDC_INDEX_REG); in s3c2410_udc_handle_ep()
824 udc_write(idx, S3C2410_UDC_INDEX_REG); in s3c2410_udc_handle_ep()
825 udc_write(ep_csr1 & ~S3C2410_UDC_OCSR1_SENTSTL, in s3c2410_udc_handle_ep()
854 udc_write(udc_read(S3C2410_UDC_USB_INT_REG), in s3c2410_udc_irq()
856 udc_write(udc_read(S3C2410_UDC_EP_INT_REG), in s3c2410_udc_irq()
890 udc_write(0x00, S3C2410_UDC_INDEX_REG); in s3c2410_udc_irq()
891 udc_write((dev->ep[0].ep.maxpacket & 0x7ff) >> 3, in s3c2410_udc_irq()
899 udc_write(S3C2410_UDC_USBINT_RESET, in s3c2410_udc_irq()
902 udc_write(idx, S3C2410_UDC_INDEX_REG); in s3c2410_udc_irq()
912 udc_write(S3C2410_UDC_USBINT_RESUME, in s3c2410_udc_irq()
926 udc_write(S3C2410_UDC_USBINT_SUSPEND, in s3c2410_udc_irq()
945 udc_write(S3C2410_UDC_INT_EP0, S3C2410_UDC_EP_INT_REG); in s3c2410_udc_irq()
956 udc_write(tmp, S3C2410_UDC_EP_INT_REG); in s3c2410_udc_irq()
965 udc_write(i, S3C2410_UDC_INDEX_REG); in s3c2410_udc_irq()
971 udc_write(idx2, S3C2410_UDC_INDEX_REG); in s3c2410_udc_irq()
978 udc_write(idx, S3C2410_UDC_INDEX_REG); in s3c2410_udc_irq()
1034 udc_write(ep->num, S3C2410_UDC_INDEX_REG); in s3c2410_udc_ep_enable()
1035 udc_write(max >> 3, S3C2410_UDC_MAXP_REG); in s3c2410_udc_ep_enable()
1042 udc_write(ep->num, S3C2410_UDC_INDEX_REG); in s3c2410_udc_ep_enable()
1043 udc_write(csr1, S3C2410_UDC_IN_CSR1_REG); in s3c2410_udc_ep_enable()
1044 udc_write(ep->num, S3C2410_UDC_INDEX_REG); in s3c2410_udc_ep_enable()
1045 udc_write(csr2, S3C2410_UDC_IN_CSR2_REG); in s3c2410_udc_ep_enable()
1051 udc_write(ep->num, S3C2410_UDC_INDEX_REG); in s3c2410_udc_ep_enable()
1052 udc_write(csr1, S3C2410_UDC_IN_CSR1_REG); in s3c2410_udc_ep_enable()
1053 udc_write(ep->num, S3C2410_UDC_INDEX_REG); in s3c2410_udc_ep_enable()
1054 udc_write(csr2, S3C2410_UDC_IN_CSR2_REG); in s3c2410_udc_ep_enable()
1059 udc_write(ep->num, S3C2410_UDC_INDEX_REG); in s3c2410_udc_ep_enable()
1060 udc_write(csr1, S3C2410_UDC_OUT_CSR1_REG); in s3c2410_udc_ep_enable()
1061 udc_write(ep->num, S3C2410_UDC_INDEX_REG); in s3c2410_udc_ep_enable()
1062 udc_write(csr2, S3C2410_UDC_OUT_CSR2_REG); in s3c2410_udc_ep_enable()
1067 udc_write(int_en_reg | (1 << ep->num), S3C2410_UDC_EP_INT_EN_REG); in s3c2410_udc_ep_enable()
1107 udc_write(int_en_reg & ~(1<<ep->num), S3C2410_UDC_EP_INT_EN_REG); in s3c2410_udc_ep_disable()
1202 udc_write(ep->bEndpointAddress & 0x7F, S3C2410_UDC_INDEX_REG); in s3c2410_udc_queue()
1209 udc_write(0, S3C2410_UDC_INDEX_REG); in s3c2410_udc_queue()
1326 udc_write(idx, S3C2410_UDC_INDEX_REG); in s3c2410_udc_set_halt()
1333 udc_write(ep_csr | S3C2410_UDC_ICSR1_SENDSTL, in s3c2410_udc_set_halt()
1337 udc_write(ep_csr, S3C2410_UDC_IN_CSR1_REG); in s3c2410_udc_set_halt()
1339 udc_write(ep_csr, S3C2410_UDC_IN_CSR1_REG); in s3c2410_udc_set_halt()
1343 udc_write(ep_csr | S3C2410_UDC_OCSR1_SENDSTL, in s3c2410_udc_set_halt()
1347 udc_write(ep_csr, S3C2410_UDC_OUT_CSR1_REG); in s3c2410_udc_set_halt()
1349 udc_write(ep_csr, S3C2410_UDC_OUT_CSR1_REG); in s3c2410_udc_set_halt()
1543 udc_write(0x00, S3C2410_UDC_USB_INT_EN_REG); in s3c2410_udc_disable()
1544 udc_write(0x00, S3C2410_UDC_EP_INT_EN_REG); in s3c2410_udc_disable()
1547 udc_write(S3C2410_UDC_USBINT_RESET in s3c2410_udc_disable()
1552 udc_write(0x1F, S3C2410_UDC_EP_INT_REG); in s3c2410_udc_disable()
1601 udc_write(i, S3C2410_UDC_INDEX_REG); in s3c2410_udc_enable()
1602 udc_write((dev->ep[i].ep.maxpacket & 0x7ff) >> 3, in s3c2410_udc_enable()
1607 udc_write(DEFAULT_POWER_STATE, S3C2410_UDC_PWR_REG); in s3c2410_udc_enable()
1610 udc_write(S3C2410_UDC_USBINT_RESET | S3C2410_UDC_USBINT_SUSPEND, in s3c2410_udc_enable()
1614 udc_write(S3C2410_UDC_INT_EP0, S3C2410_UDC_EP_INT_EN_REG); in s3c2410_udc_enable()