Lines Matching refs:omap_writew
125 omap_writew(num | select, UDC_EP_NUM); in use_ep()
135 omap_writew(w, UDC_EP_NUM); in deselect_ep()
209 omap_writew(udc->clr_halt, UDC_CTRL); in omap_ep_enable()
225 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in omap_ep_enable()
252 omap_writew(UDC_SET_HALT, UDC_CTRL); in omap_ep_disable()
341 omap_writew(*wp++, UDC_DATA); in write_packet()
372 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in write_fifo()
546 omap_writew(w, UDC_DMA_IRQ_EN); in next_in_dma()
547 omap_writew(UDC_TXN_START | txdma_ctrl, UDC_TXDMA(ep->dma_channel)); in next_in_dma()
573 omap_writew(w, UDC_DMA_IRQ_EN); in finish_in_dma()
596 omap_writew(UDC_RXN_STOP | (packets - 1), UDC_RXDMA(ep->dma_channel)); in next_out_dma()
599 omap_writew(w, UDC_DMA_IRQ_EN); in next_out_dma()
600 omap_writew(ep->bEndpointAddress & 0xf, UDC_EP_NUM); in next_out_dma()
601 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in next_out_dma()
630 omap_writew(w, UDC_DMA_IRQ_EN); in finish_out_dma()
650 omap_writew(UDC_TXN_DONE, UDC_IRQ_SRC); in dma_irq()
669 omap_writew(UDC_RXN_EOT, UDC_IRQ_SRC); in dma_irq()
683 omap_writew(UDC_RXN_CNT, UDC_IRQ_SRC); in dma_irq()
733 omap_writew(reg, UDC_TXDMA_CFG); in dma_channel_claim()
750 omap_writew(reg, UDC_RXDMA_CFG); in dma_channel_claim()
797 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in dma_channel_claim()
831 omap_writew((omap_readw(UDC_TXDMA_CFG) & ~mask) | UDC_DMA_REQ, in dma_channel_release()
839 omap_writew(UDC_CLR_EP, UDC_CTRL); in dma_channel_release()
845 omap_writew((omap_readw(UDC_RXDMA_CFG) & ~mask) | UDC_DMA_REQ, in dma_channel_release()
922 omap_writew(w, UDC_IRQ_EN); in omap_ep_queue()
947 omap_writew(irq_en, UDC_IRQ_EN); in omap_ep_queue()
954 omap_writew(UDC_EP_SEL | UDC_EP_DIR, in omap_ep_queue()
956 omap_writew(UDC_CLR_EP, UDC_CTRL); in omap_ep_queue()
957 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in omap_ep_queue()
958 omap_writew(UDC_EP_DIR, UDC_EP_NUM); in omap_ep_queue()
967 omap_writew(UDC_EP_SEL | UDC_EP_DIR, in omap_ep_queue()
972 omap_writew(UDC_EP_SEL, UDC_EP_NUM); in omap_ep_queue()
988 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in omap_ep_queue()
1058 omap_writew(UDC_CLR_CFG, UDC_SYSCON2); in omap_ep_set_halt()
1060 omap_writew(UDC_STALL_CMD, UDC_SYSCON2); in omap_ep_set_halt()
1088 omap_writew(UDC_SET_HALT, UDC_CTRL); in omap_ep_set_halt()
1098 omap_writew(ep->udc->clr_halt, UDC_CTRL); in omap_ep_set_halt()
1101 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in omap_ep_set_halt()
1152 omap_writew(UDC_RMT_WKP, UDC_SYSCON2); in omap_wakeup()
1181 omap_writew(syscon1, UDC_SYSCON1); in omap_set_selfpowered()
1198 omap_writew(w, UDC_SYSCON1); in pullup_enable()
1206 omap_writew(UDC_DS_CHG_IE, UDC_IRQ_EN); in pullup_enable()
1220 omap_writew(UDC_DS_CHG_IE, UDC_IRQ_EN); in pullup_disable()
1223 omap_writew(w, UDC_SYSCON1); in pullup_disable()
1340 omap_writew(UDC_CLR_EP, UDC_CTRL); in nuke()
1342 omap_writew(UDC_SET_HALT, UDC_CTRL); in nuke()
1407 omap_writew(ack, UDC_IRQ_SRC); in ep0_irq()
1427 omap_writew(UDC_EP0_TX, UDC_IRQ_SRC); in ep0_irq()
1428 omap_writew(UDC_EP_SEL|UDC_EP_DIR, UDC_EP_NUM); in ep0_irq()
1437 omap_writew(UDC_EP_DIR, UDC_EP_NUM); in ep0_irq()
1439 omap_writew(UDC_EP_SEL, UDC_EP_NUM); in ep0_irq()
1440 omap_writew(UDC_CLR_EP, UDC_CTRL); in ep0_irq()
1441 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in ep0_irq()
1442 omap_writew(0, UDC_EP_NUM); in ep0_irq()
1447 omap_writew(UDC_EP_DIR, UDC_EP_NUM); in ep0_irq()
1453 omap_writew(UDC_CLR_HALT, UDC_CTRL); in ep0_irq()
1454 omap_writew(UDC_EP_DIR, UDC_EP_NUM); in ep0_irq()
1456 omap_writew(UDC_EP_DIR, UDC_EP_NUM); in ep0_irq()
1464 omap_writew(UDC_EP0_RX, UDC_IRQ_SRC); in ep0_irq()
1465 omap_writew(UDC_EP_SEL, UDC_EP_NUM); in ep0_irq()
1475 omap_writew(UDC_STALL_CMD, UDC_SYSCON2); in ep0_irq()
1479 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in ep0_irq()
1480 omap_writew(0, UDC_EP_NUM); in ep0_irq()
1486 omap_writew(UDC_EP_SEL | UDC_EP_DIR, in ep0_irq()
1488 omap_writew(UDC_CLR_EP, UDC_CTRL); in ep0_irq()
1489 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in ep0_irq()
1490 omap_writew(UDC_EP_DIR, UDC_EP_NUM); in ep0_irq()
1495 omap_writew(0, UDC_EP_NUM); in ep0_irq()
1500 omap_writew(UDC_CLR_HALT, UDC_CTRL); in ep0_irq()
1501 omap_writew(0, UDC_EP_NUM); in ep0_irq()
1503 omap_writew(0, UDC_EP_NUM); in ep0_irq()
1518 omap_writew(UDC_SETUP_SEL, UDC_EP_NUM); in ep0_irq()
1524 omap_writew(0, UDC_EP_NUM); in ep0_irq()
1556 omap_writew(UDC_CLR_CFG, UDC_SYSCON2); in ep0_irq()
1558 omap_writew(UDC_DEV_CFG, UDC_SYSCON2); in ep0_irq()
1576 omap_writew(udc->clr_halt, UDC_CTRL); in ep0_irq()
1579 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in ep0_irq()
1612 omap_writew(UDC_CLR_EP, UDC_CTRL); in ep0_irq()
1613 omap_writew(UDC_SET_HALT, UDC_CTRL); in ep0_irq()
1617 omap_writew(UDC_EP_SEL|UDC_EP_DIR, UDC_EP_NUM); in ep0_irq()
1618 omap_writew(UDC_CLR_EP, UDC_CTRL); in ep0_irq()
1619 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in ep0_irq()
1620 omap_writew(UDC_EP_DIR, UDC_EP_NUM); in ep0_irq()
1657 omap_writew(UDC_EP_SEL|UDC_EP_DIR, UDC_EP_NUM); in ep0_irq()
1658 omap_writew(0, UDC_DATA); in ep0_irq()
1659 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in ep0_irq()
1660 omap_writew(UDC_EP_DIR, UDC_EP_NUM); in ep0_irq()
1669 omap_writew(0, UDC_EP_NUM); in ep0_irq()
1670 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in ep0_irq()
1711 omap_writew(UDC_CLR_CFG, UDC_SYSCON2); in ep0_irq()
1713 omap_writew(UDC_STALL_CMD, UDC_SYSCON2); in ep0_irq()
1767 omap_writew(UDC_DS_CHG_IE | UDC_EP0_IE, in devstate_irq()
1814 omap_writew(UDC_DS_CHG, UDC_IRQ_SRC); in devstate_irq()
1879 omap_writew(ep->bEndpointAddress, UDC_EP_NUM); in pio_out_timer()
1880 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in pio_out_timer()
1906 omap_writew(UDC_EPN_RX, UDC_IRQ_SRC); in omap_udc_pio_irq()
1911 omap_writew(epnum | UDC_EP_SEL, UDC_EP_NUM); in omap_udc_pio_irq()
1927 omap_writew(epnum, UDC_EP_NUM); in omap_udc_pio_irq()
1933 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in omap_udc_pio_irq()
1942 omap_writew(UDC_EPN_TX, UDC_IRQ_SRC); in omap_udc_pio_irq()
1947 omap_writew(epnum | UDC_EP_DIR | UDC_EP_SEL, UDC_EP_NUM); in omap_udc_pio_irq()
1959 omap_writew(epnum | UDC_EP_DIR, UDC_EP_NUM); in omap_udc_pio_irq()
2024 omap_writew(w, UDC_IRQ_EN); in omap_udc_iso_irq()
2026 omap_writew(UDC_IRQ_SOF, UDC_IRQ_SRC); in omap_udc_iso_irq()
2056 omap_writew(UDC_SET_HALT, UDC_CTRL); in omap_udc_start()
2069 omap_writew(UDC_IRQ_SRC_MASK, UDC_IRQ_SRC); in omap_udc_start()
2540 omap_writew(epn_rxtx, UDC_EP_TX(addr & 0xf)); in omap_ep_setup()
2542 omap_writew(epn_rxtx, UDC_EP_RX(addr)); in omap_ep_setup()
2598 omap_writew(0, UDC_SYSCON1); in omap_udc_release()
2619 omap_writew(0, UDC_SYSCON1); in omap_udc_setup()
2620 omap_writew(0, UDC_IRQ_EN); in omap_udc_setup()
2621 omap_writew(UDC_IRQ_SRC_MASK, UDC_IRQ_SRC); in omap_udc_setup()
2622 omap_writew(0, UDC_DMA_IRQ_EN); in omap_udc_setup()
2623 omap_writew(0, UDC_RXDMA_CFG); in omap_udc_setup()
2624 omap_writew(0, UDC_TXDMA_CFG); in omap_udc_setup()
2652 omap_writew(0, UDC_EP_RX(tmp)); in omap_udc_setup()
2653 omap_writew(0, UDC_EP_TX(tmp)); in omap_udc_setup()
2738 omap_writew(UDC_CFG_LOCK|UDC_SELF_PWR, UDC_SYSCON1); in omap_udc_setup()