Lines Matching refs:omap_writew

138 	omap_writew(num | select, UDC_EP_NUM);  in use_ep()
148 omap_writew(w, UDC_EP_NUM); in deselect_ep()
223 omap_writew(udc->clr_halt, UDC_CTRL); in omap_ep_enable()
239 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in omap_ep_enable()
266 omap_writew(UDC_SET_HALT, UDC_CTRL); in omap_ep_disable()
367 omap_writew(*wp++, UDC_DATA); in write_packet()
398 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in write_fifo()
576 omap_writew(w, UDC_DMA_IRQ_EN); in next_in_dma()
577 omap_writew(UDC_TXN_START | txdma_ctrl, UDC_TXDMA(ep->dma_channel)); in next_in_dma()
603 omap_writew(w, UDC_DMA_IRQ_EN); in finish_in_dma()
640 omap_writew(UDC_RXN_STOP | (packets - 1), UDC_RXDMA(ep->dma_channel)); in next_out_dma()
643 omap_writew(w, UDC_DMA_IRQ_EN); in next_out_dma()
644 omap_writew(ep->bEndpointAddress & 0xf, UDC_EP_NUM); in next_out_dma()
645 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in next_out_dma()
674 omap_writew(w, UDC_DMA_IRQ_EN); in finish_out_dma()
694 omap_writew(UDC_TXN_DONE, UDC_IRQ_SRC); in dma_irq()
713 omap_writew(UDC_RXN_EOT, UDC_IRQ_SRC); in dma_irq()
727 omap_writew(UDC_RXN_CNT, UDC_IRQ_SRC); in dma_irq()
780 omap_writew(reg, UDC_TXDMA_CFG); in dma_channel_claim()
801 omap_writew(reg, UDC_RXDMA_CFG); in dma_channel_claim()
848 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in dma_channel_claim()
882 omap_writew((omap_readw(UDC_TXDMA_CFG) & ~mask) | UDC_DMA_REQ, in dma_channel_release()
890 omap_writew(UDC_CLR_EP, UDC_CTRL); in dma_channel_release()
896 omap_writew((omap_readw(UDC_RXDMA_CFG) & ~mask) | UDC_DMA_REQ, in dma_channel_release()
992 omap_writew(w, UDC_IRQ_EN); in omap_ep_queue()
1017 omap_writew(irq_en, UDC_IRQ_EN); in omap_ep_queue()
1024 omap_writew(UDC_EP_SEL | UDC_EP_DIR, UDC_EP_NUM); in omap_ep_queue()
1025 omap_writew(UDC_CLR_EP, UDC_CTRL); in omap_ep_queue()
1026 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in omap_ep_queue()
1027 omap_writew(UDC_EP_DIR, UDC_EP_NUM); in omap_ep_queue()
1036 omap_writew(UDC_EP_SEL | UDC_EP_DIR, UDC_EP_NUM); in omap_ep_queue()
1040 omap_writew(UDC_EP_SEL, UDC_EP_NUM); in omap_ep_queue()
1056 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in omap_ep_queue()
1124 omap_writew(UDC_CLR_CFG, UDC_SYSCON2); in omap_ep_set_halt()
1126 omap_writew(UDC_STALL_CMD, UDC_SYSCON2); in omap_ep_set_halt()
1154 omap_writew(UDC_SET_HALT, UDC_CTRL); in omap_ep_set_halt()
1164 omap_writew(ep->udc->clr_halt, UDC_CTRL); in omap_ep_set_halt()
1167 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in omap_ep_set_halt()
1218 omap_writew(UDC_RMT_WKP, UDC_SYSCON2); in omap_wakeup()
1246 omap_writew(syscon1, UDC_SYSCON1); in omap_set_selfpowered()
1263 omap_writew(w, UDC_SYSCON1); in pullup_enable()
1271 omap_writew(UDC_DS_CHG_IE, UDC_IRQ_EN); in pullup_enable()
1285 omap_writew(UDC_DS_CHG_IE, UDC_IRQ_EN); in pullup_disable()
1288 omap_writew(w, UDC_SYSCON1); in pullup_disable()
1399 omap_writew(UDC_CLR_EP, UDC_CTRL); in nuke()
1401 omap_writew(UDC_SET_HALT, UDC_CTRL); in nuke()
1466 omap_writew(ack, UDC_IRQ_SRC); in ep0_irq()
1486 omap_writew(UDC_EP0_TX, UDC_IRQ_SRC); in ep0_irq()
1487 omap_writew(UDC_EP_SEL|UDC_EP_DIR, UDC_EP_NUM); in ep0_irq()
1496 omap_writew(UDC_EP_DIR, UDC_EP_NUM); in ep0_irq()
1498 omap_writew(UDC_EP_SEL, UDC_EP_NUM); in ep0_irq()
1499 omap_writew(UDC_CLR_EP, UDC_CTRL); in ep0_irq()
1500 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in ep0_irq()
1501 omap_writew(0, UDC_EP_NUM); in ep0_irq()
1506 omap_writew(UDC_EP_DIR, UDC_EP_NUM); in ep0_irq()
1512 omap_writew(UDC_CLR_HALT, UDC_CTRL); in ep0_irq()
1513 omap_writew(UDC_EP_DIR, UDC_EP_NUM); in ep0_irq()
1515 omap_writew(UDC_EP_DIR, UDC_EP_NUM); in ep0_irq()
1523 omap_writew(UDC_EP0_RX, UDC_IRQ_SRC); in ep0_irq()
1524 omap_writew(UDC_EP_SEL, UDC_EP_NUM); in ep0_irq()
1533 omap_writew(UDC_STALL_CMD, UDC_SYSCON2); in ep0_irq()
1537 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in ep0_irq()
1538 omap_writew(0, UDC_EP_NUM); in ep0_irq()
1544 omap_writew(UDC_EP_SEL | UDC_EP_DIR, in ep0_irq()
1546 omap_writew(UDC_CLR_EP, UDC_CTRL); in ep0_irq()
1547 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in ep0_irq()
1548 omap_writew(UDC_EP_DIR, UDC_EP_NUM); in ep0_irq()
1553 omap_writew(0, UDC_EP_NUM); in ep0_irq()
1558 omap_writew(UDC_CLR_HALT, UDC_CTRL); in ep0_irq()
1559 omap_writew(0, UDC_EP_NUM); in ep0_irq()
1561 omap_writew(0, UDC_EP_NUM); in ep0_irq()
1576 omap_writew(UDC_SETUP_SEL, UDC_EP_NUM); in ep0_irq()
1582 omap_writew(0, UDC_EP_NUM); in ep0_irq()
1614 omap_writew(UDC_CLR_CFG, UDC_SYSCON2); in ep0_irq()
1616 omap_writew(UDC_DEV_CFG, UDC_SYSCON2); in ep0_irq()
1634 omap_writew(udc->clr_halt, UDC_CTRL); in ep0_irq()
1637 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in ep0_irq()
1670 omap_writew(UDC_CLR_EP, UDC_CTRL); in ep0_irq()
1671 omap_writew(UDC_SET_HALT, UDC_CTRL); in ep0_irq()
1675 omap_writew(UDC_EP_SEL|UDC_EP_DIR, UDC_EP_NUM); in ep0_irq()
1676 omap_writew(UDC_CLR_EP, UDC_CTRL); in ep0_irq()
1677 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in ep0_irq()
1678 omap_writew(UDC_EP_DIR, UDC_EP_NUM); in ep0_irq()
1715 omap_writew(UDC_EP_SEL|UDC_EP_DIR, UDC_EP_NUM); in ep0_irq()
1716 omap_writew(0, UDC_DATA); in ep0_irq()
1717 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in ep0_irq()
1718 omap_writew(UDC_EP_DIR, UDC_EP_NUM); in ep0_irq()
1727 omap_writew(0, UDC_EP_NUM); in ep0_irq()
1728 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in ep0_irq()
1769 omap_writew(UDC_CLR_CFG, UDC_SYSCON2); in ep0_irq()
1771 omap_writew(UDC_STALL_CMD, UDC_SYSCON2); in ep0_irq()
1825 omap_writew(UDC_DS_CHG_IE | UDC_EP0_IE, in devstate_irq()
1870 omap_writew(UDC_DS_CHG, UDC_IRQ_SRC); in devstate_irq()
1935 omap_writew(ep->bEndpointAddress, UDC_EP_NUM); in pio_out_timer()
1936 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in pio_out_timer()
1962 omap_writew(UDC_EPN_RX, UDC_IRQ_SRC); in omap_udc_pio_irq()
1967 omap_writew(epnum | UDC_EP_SEL, UDC_EP_NUM); in omap_udc_pio_irq()
1983 omap_writew(epnum, UDC_EP_NUM); in omap_udc_pio_irq()
1989 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in omap_udc_pio_irq()
1998 omap_writew(UDC_EPN_TX, UDC_IRQ_SRC); in omap_udc_pio_irq()
2003 omap_writew(epnum | UDC_EP_DIR | UDC_EP_SEL, UDC_EP_NUM); in omap_udc_pio_irq()
2015 omap_writew(epnum | UDC_EP_DIR, UDC_EP_NUM); in omap_udc_pio_irq()
2080 omap_writew(w, UDC_IRQ_EN); in omap_udc_iso_irq()
2082 omap_writew(UDC_IRQ_SOF, UDC_IRQ_SRC); in omap_udc_iso_irq()
2132 omap_writew(UDC_SET_HALT, UDC_CTRL); in usb_gadget_probe_driver()
2156 omap_writew(UDC_IRQ_SRC_MASK, UDC_IRQ_SRC); in usb_gadget_probe_driver()
2623 omap_writew(epn_rxtx, UDC_EP_TX(addr & 0xf)); in omap_ep_setup()
2625 omap_writew(epn_rxtx, UDC_EP_RX(addr)); in omap_ep_setup()
2664 omap_writew(0, UDC_SYSCON1); in omap_udc_setup()
2665 omap_writew(0, UDC_IRQ_EN); in omap_udc_setup()
2666 omap_writew(UDC_IRQ_SRC_MASK, UDC_IRQ_SRC); in omap_udc_setup()
2667 omap_writew(0, UDC_DMA_IRQ_EN); in omap_udc_setup()
2668 omap_writew(0, UDC_RXDMA_CFG); in omap_udc_setup()
2669 omap_writew(0, UDC_TXDMA_CFG); in omap_udc_setup()
2703 omap_writew(0, UDC_EP_RX(tmp)); in omap_udc_setup()
2704 omap_writew(0, UDC_EP_TX(tmp)); in omap_udc_setup()
2789 omap_writew(UDC_CFG_LOCK|UDC_SELF_PWR, UDC_SYSCON1); in omap_udc_setup()
3041 omap_writew(0, UDC_SYSCON1); in omap_udc_remove()