Lines Matching refs:omap_writew

124 	omap_writew(num | select, UDC_EP_NUM);  in use_ep()
134 omap_writew(w, UDC_EP_NUM); in deselect_ep()
208 omap_writew(udc->clr_halt, UDC_CTRL); in omap_ep_enable()
224 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in omap_ep_enable()
251 omap_writew(UDC_SET_HALT, UDC_CTRL); in omap_ep_disable()
340 omap_writew(*wp++, UDC_DATA); in write_packet()
371 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in write_fifo()
545 omap_writew(w, UDC_DMA_IRQ_EN); in next_in_dma()
546 omap_writew(UDC_TXN_START | txdma_ctrl, UDC_TXDMA(ep->dma_channel)); in next_in_dma()
572 omap_writew(w, UDC_DMA_IRQ_EN); in finish_in_dma()
595 omap_writew(UDC_RXN_STOP | (packets - 1), UDC_RXDMA(ep->dma_channel)); in next_out_dma()
598 omap_writew(w, UDC_DMA_IRQ_EN); in next_out_dma()
599 omap_writew(ep->bEndpointAddress & 0xf, UDC_EP_NUM); in next_out_dma()
600 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in next_out_dma()
629 omap_writew(w, UDC_DMA_IRQ_EN); in finish_out_dma()
649 omap_writew(UDC_TXN_DONE, UDC_IRQ_SRC); in dma_irq()
668 omap_writew(UDC_RXN_EOT, UDC_IRQ_SRC); in dma_irq()
682 omap_writew(UDC_RXN_CNT, UDC_IRQ_SRC); in dma_irq()
732 omap_writew(reg, UDC_TXDMA_CFG); in dma_channel_claim()
749 omap_writew(reg, UDC_RXDMA_CFG); in dma_channel_claim()
796 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in dma_channel_claim()
830 omap_writew((omap_readw(UDC_TXDMA_CFG) & ~mask) | UDC_DMA_REQ, in dma_channel_release()
838 omap_writew(UDC_CLR_EP, UDC_CTRL); in dma_channel_release()
844 omap_writew((omap_readw(UDC_RXDMA_CFG) & ~mask) | UDC_DMA_REQ, in dma_channel_release()
921 omap_writew(w, UDC_IRQ_EN); in omap_ep_queue()
946 omap_writew(irq_en, UDC_IRQ_EN); in omap_ep_queue()
953 omap_writew(UDC_EP_SEL | UDC_EP_DIR, in omap_ep_queue()
955 omap_writew(UDC_CLR_EP, UDC_CTRL); in omap_ep_queue()
956 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in omap_ep_queue()
957 omap_writew(UDC_EP_DIR, UDC_EP_NUM); in omap_ep_queue()
966 omap_writew(UDC_EP_SEL | UDC_EP_DIR, in omap_ep_queue()
971 omap_writew(UDC_EP_SEL, UDC_EP_NUM); in omap_ep_queue()
987 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in omap_ep_queue()
1055 omap_writew(UDC_CLR_CFG, UDC_SYSCON2); in omap_ep_set_halt()
1057 omap_writew(UDC_STALL_CMD, UDC_SYSCON2); in omap_ep_set_halt()
1085 omap_writew(UDC_SET_HALT, UDC_CTRL); in omap_ep_set_halt()
1095 omap_writew(ep->udc->clr_halt, UDC_CTRL); in omap_ep_set_halt()
1098 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in omap_ep_set_halt()
1149 omap_writew(UDC_RMT_WKP, UDC_SYSCON2); in omap_wakeup()
1178 omap_writew(syscon1, UDC_SYSCON1); in omap_set_selfpowered()
1195 omap_writew(w, UDC_SYSCON1); in pullup_enable()
1203 omap_writew(UDC_DS_CHG_IE, UDC_IRQ_EN); in pullup_enable()
1217 omap_writew(UDC_DS_CHG_IE, UDC_IRQ_EN); in pullup_disable()
1220 omap_writew(w, UDC_SYSCON1); in pullup_disable()
1337 omap_writew(UDC_CLR_EP, UDC_CTRL); in nuke()
1339 omap_writew(UDC_SET_HALT, UDC_CTRL); in nuke()
1404 omap_writew(ack, UDC_IRQ_SRC); in ep0_irq()
1424 omap_writew(UDC_EP0_TX, UDC_IRQ_SRC); in ep0_irq()
1425 omap_writew(UDC_EP_SEL|UDC_EP_DIR, UDC_EP_NUM); in ep0_irq()
1434 omap_writew(UDC_EP_DIR, UDC_EP_NUM); in ep0_irq()
1436 omap_writew(UDC_EP_SEL, UDC_EP_NUM); in ep0_irq()
1437 omap_writew(UDC_CLR_EP, UDC_CTRL); in ep0_irq()
1438 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in ep0_irq()
1439 omap_writew(0, UDC_EP_NUM); in ep0_irq()
1444 omap_writew(UDC_EP_DIR, UDC_EP_NUM); in ep0_irq()
1450 omap_writew(UDC_CLR_HALT, UDC_CTRL); in ep0_irq()
1451 omap_writew(UDC_EP_DIR, UDC_EP_NUM); in ep0_irq()
1453 omap_writew(UDC_EP_DIR, UDC_EP_NUM); in ep0_irq()
1461 omap_writew(UDC_EP0_RX, UDC_IRQ_SRC); in ep0_irq()
1462 omap_writew(UDC_EP_SEL, UDC_EP_NUM); in ep0_irq()
1472 omap_writew(UDC_STALL_CMD, UDC_SYSCON2); in ep0_irq()
1476 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in ep0_irq()
1477 omap_writew(0, UDC_EP_NUM); in ep0_irq()
1483 omap_writew(UDC_EP_SEL | UDC_EP_DIR, in ep0_irq()
1485 omap_writew(UDC_CLR_EP, UDC_CTRL); in ep0_irq()
1486 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in ep0_irq()
1487 omap_writew(UDC_EP_DIR, UDC_EP_NUM); in ep0_irq()
1492 omap_writew(0, UDC_EP_NUM); in ep0_irq()
1497 omap_writew(UDC_CLR_HALT, UDC_CTRL); in ep0_irq()
1498 omap_writew(0, UDC_EP_NUM); in ep0_irq()
1500 omap_writew(0, UDC_EP_NUM); in ep0_irq()
1515 omap_writew(UDC_SETUP_SEL, UDC_EP_NUM); in ep0_irq()
1521 omap_writew(0, UDC_EP_NUM); in ep0_irq()
1553 omap_writew(UDC_CLR_CFG, UDC_SYSCON2); in ep0_irq()
1555 omap_writew(UDC_DEV_CFG, UDC_SYSCON2); in ep0_irq()
1573 omap_writew(udc->clr_halt, UDC_CTRL); in ep0_irq()
1576 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in ep0_irq()
1609 omap_writew(UDC_CLR_EP, UDC_CTRL); in ep0_irq()
1610 omap_writew(UDC_SET_HALT, UDC_CTRL); in ep0_irq()
1614 omap_writew(UDC_EP_SEL|UDC_EP_DIR, UDC_EP_NUM); in ep0_irq()
1615 omap_writew(UDC_CLR_EP, UDC_CTRL); in ep0_irq()
1616 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in ep0_irq()
1617 omap_writew(UDC_EP_DIR, UDC_EP_NUM); in ep0_irq()
1654 omap_writew(UDC_EP_SEL|UDC_EP_DIR, UDC_EP_NUM); in ep0_irq()
1655 omap_writew(0, UDC_DATA); in ep0_irq()
1656 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in ep0_irq()
1657 omap_writew(UDC_EP_DIR, UDC_EP_NUM); in ep0_irq()
1666 omap_writew(0, UDC_EP_NUM); in ep0_irq()
1667 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in ep0_irq()
1708 omap_writew(UDC_CLR_CFG, UDC_SYSCON2); in ep0_irq()
1710 omap_writew(UDC_STALL_CMD, UDC_SYSCON2); in ep0_irq()
1764 omap_writew(UDC_DS_CHG_IE | UDC_EP0_IE, in devstate_irq()
1811 omap_writew(UDC_DS_CHG, UDC_IRQ_SRC); in devstate_irq()
1876 omap_writew(ep->bEndpointAddress, UDC_EP_NUM); in pio_out_timer()
1877 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in pio_out_timer()
1903 omap_writew(UDC_EPN_RX, UDC_IRQ_SRC); in omap_udc_pio_irq()
1908 omap_writew(epnum | UDC_EP_SEL, UDC_EP_NUM); in omap_udc_pio_irq()
1924 omap_writew(epnum, UDC_EP_NUM); in omap_udc_pio_irq()
1930 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in omap_udc_pio_irq()
1939 omap_writew(UDC_EPN_TX, UDC_IRQ_SRC); in omap_udc_pio_irq()
1944 omap_writew(epnum | UDC_EP_DIR | UDC_EP_SEL, UDC_EP_NUM); in omap_udc_pio_irq()
1956 omap_writew(epnum | UDC_EP_DIR, UDC_EP_NUM); in omap_udc_pio_irq()
2021 omap_writew(w, UDC_IRQ_EN); in omap_udc_iso_irq()
2023 omap_writew(UDC_IRQ_SOF, UDC_IRQ_SRC); in omap_udc_iso_irq()
2057 omap_writew(UDC_SET_HALT, UDC_CTRL); in omap_udc_start()
2071 omap_writew(UDC_IRQ_SRC_MASK, UDC_IRQ_SRC); in omap_udc_start()
2544 omap_writew(epn_rxtx, UDC_EP_TX(addr & 0xf)); in omap_ep_setup()
2546 omap_writew(epn_rxtx, UDC_EP_RX(addr)); in omap_ep_setup()
2602 omap_writew(0, UDC_SYSCON1); in omap_udc_release()
2621 omap_writew(0, UDC_SYSCON1); in omap_udc_setup()
2622 omap_writew(0, UDC_IRQ_EN); in omap_udc_setup()
2623 omap_writew(UDC_IRQ_SRC_MASK, UDC_IRQ_SRC); in omap_udc_setup()
2624 omap_writew(0, UDC_DMA_IRQ_EN); in omap_udc_setup()
2625 omap_writew(0, UDC_RXDMA_CFG); in omap_udc_setup()
2626 omap_writew(0, UDC_TXDMA_CFG); in omap_udc_setup()
2654 omap_writew(0, UDC_EP_RX(tmp)); in omap_udc_setup()
2655 omap_writew(0, UDC_EP_TX(tmp)); in omap_udc_setup()
2740 omap_writew(UDC_CFG_LOCK|UDC_SELF_PWR, UDC_SYSCON1); in omap_udc_setup()