Lines Matching refs:MUSB_TXCSR
93 csr = musb_readw(epio, MUSB_TXCSR); in musb_h_tx_flush_fifo()
96 musb_writew(epio, MUSB_TXCSR, csr); in musb_h_tx_flush_fifo()
97 csr = musb_readw(epio, MUSB_TXCSR); in musb_h_tx_flush_fifo()
129 csr = musb_readw(epio, MUSB_TXCSR); in musb_h_ep0_flush_fifo()
132 musb_writew(epio, MUSB_TXCSR, MUSB_CSR0_FLUSHFIFO); in musb_h_ep0_flush_fifo()
133 csr = musb_readw(epio, MUSB_TXCSR); in musb_h_ep0_flush_fifo()
141 musb_writew(epio, MUSB_TXCSR, 0); in musb_h_ep0_flush_fifo()
154 txcsr = musb_readw(ep->regs, MUSB_TXCSR); in musb_h_tx_start()
156 musb_writew(ep->regs, MUSB_TXCSR, txcsr); in musb_h_tx_start()
169 txcsr = musb_readw(ep->regs, MUSB_TXCSR); in musb_h_tx_dma_start()
173 musb_writew(ep->regs, MUSB_TXCSR, txcsr); in musb_h_tx_dma_start()
304 csr = musb_readw(epio, MUSB_TXCSR) & MUSB_TXCSR_H_DATATOGGLE; in musb_save_toggle()
538 csr = musb_readw(ep->regs, MUSB_TXCSR); in musb_rx_reinit()
541 csr = musb_readw(ep->regs, MUSB_TXCSR); in musb_rx_reinit()
542 musb_writew(ep->regs, MUSB_TXCSR, in musb_rx_reinit()
551 musb_writew(ep->regs, MUSB_TXCSR, MUSB_TXCSR_DMAMODE); in musb_rx_reinit()
552 musb_writew(ep->regs, MUSB_TXCSR, 0); in musb_rx_reinit()
597 csr = musb_readw(epio, MUSB_TXCSR); in musb_tx_dma_set_mode_mentor()
620 musb_writew(epio, MUSB_TXCSR, csr); in musb_tx_dma_set_mode_mentor()
675 csr = musb_readw(epio, MUSB_TXCSR); in musb_tx_dma_program()
677 musb_writew(epio, MUSB_TXCSR, csr | MUSB_TXCSR_H_WZC_BITS); in musb_tx_dma_program()
714 csr = musb_readw(epio, MUSB_TXCSR); in musb_ep_program()
716 musb_writew(epio, MUSB_TXCSR, csr); in musb_ep_program()
743 csr = musb_readw(epio, MUSB_TXCSR); in musb_ep_program()
783 musb_writew(epio, MUSB_TXCSR, csr); in musb_ep_program()
786 musb_writew(epio, MUSB_TXCSR, csr); in musb_ep_program()
787 csr = musb_readw(epio, MUSB_TXCSR); in musb_ep_program()
958 tx_csr = musb_readw(epio, MUSB_TXCSR); in musb_bulk_nak_timeout()
961 musb_writew(epio, MUSB_TXCSR, tx_csr); in musb_bulk_nak_timeout()
1238 tx_csr = musb_readw(epio, MUSB_TXCSR); in musb_host_tx()
1282 musb_writew(epio, MUSB_TXCSR, in musb_host_tx()
1308 musb_writew(epio, MUSB_TXCSR, tx_csr); in musb_host_tx()
1310 musb_writew(epio, MUSB_TXCSR, tx_csr); in musb_host_tx()
1348 tx_csr &= musb_readw(epio, MUSB_TXCSR); in musb_host_tx()
1352 musb_writew(epio, MUSB_TXCSR, in musb_host_tx()
1357 musb_writew(epio, MUSB_TXCSR, in musb_host_tx()
1366 tx_csr = musb_readw(epio, MUSB_TXCSR); in musb_host_tx()
1493 musb_writew(epio, MUSB_TXCSR, in musb_host_tx()
2370 csr = musb_readw(epio, MUSB_TXCSR); in musb_cleanup_urb()
2377 musb_writew(epio, MUSB_TXCSR, csr); in musb_cleanup_urb()
2379 musb_writew(epio, MUSB_TXCSR, csr); in musb_cleanup_urb()
2381 csr = musb_readw(epio, MUSB_TXCSR); in musb_cleanup_urb()