Lines Matching refs:tx_csr
1107 u16 tx_csr; in musb_host_tx() local
1120 tx_csr = musb_readw(epio, MUSB_TXCSR); in musb_host_tx()
1124 dev_dbg(musb->controller, "extra TX%d ready, csr %04x\n", epnum, tx_csr); in musb_host_tx()
1130 dev_dbg(musb->controller, "OUT/TX%d end, csr %04x%s\n", epnum, tx_csr, in musb_host_tx()
1134 if (tx_csr & MUSB_TXCSR_H_RXSTALL) { in musb_host_tx()
1141 } else if (tx_csr & MUSB_TXCSR_H_ERROR) { in musb_host_tx()
1147 } else if (tx_csr & MUSB_TXCSR_H_NAKTIMEOUT) { in musb_host_tx()
1175 tx_csr &= ~(MUSB_TXCSR_AUTOSET in musb_host_tx()
1183 musb_writew(epio, MUSB_TXCSR, tx_csr); in musb_host_tx()
1185 musb_writew(epio, MUSB_TXCSR, tx_csr); in musb_host_tx()
1193 dev_dbg(musb->controller, "extra TX%d ready, csr %04x\n", epnum, tx_csr); in musb_host_tx()
1206 if (tx_csr & MUSB_TXCSR_DMAMODE) { in musb_host_tx()
1223 tx_csr &= musb_readw(epio, MUSB_TXCSR); in musb_host_tx()
1224 if (tx_csr & MUSB_TXCSR_TXPKTRDY) { in musb_host_tx()
1225 tx_csr &= ~(MUSB_TXCSR_DMAENAB | in musb_host_tx()
1228 tx_csr | MUSB_TXCSR_H_WZC_BITS); in musb_host_tx()
1230 tx_csr &= ~(MUSB_TXCSR_DMAMODE | in musb_host_tx()
1233 tx_csr | MUSB_TXCSR_H_WZC_BITS); in musb_host_tx()
1241 tx_csr = musb_readw(epio, MUSB_TXCSR); in musb_host_tx()
1251 if (tx_csr & (MUSB_TXCSR_FIFONOTEMPTY | MUSB_TXCSR_TXPKTRDY)) { in musb_host_tx()
1253 "CSR %04x\n", tx_csr); in musb_host_tx()
1320 } else if (tx_csr & MUSB_TXCSR_DMAENAB) { in musb_host_tx()