Home
last modified time | relevance | path

Searched refs:txcsr (Results 1 – 7 of 7) sorted by relevance

/u-boot/drivers/usb/musb/
A Dmusb_hcd.c45 csr = readw(&musbr->txcsr); in write_toggle()
51 writew(csr, &musbr->txcsr); in write_toggle()
54 writew(csr, &musbr->txcsr); in write_toggle()
56 writew(csr, &musbr->txcsr); in write_toggle()
60 csr = readw(&musbr->txcsr); in write_toggle()
87 csr = readw(&musbr->txcsr); in check_stall()
124 csr = readw(&musbr->txcsr); in wait_until_ep0_ready()
253 csr = readw(&musbr->txcsr); in ctrlreq_setup_phase()
255 writew(csr, &musbr->txcsr); in ctrlreq_setup_phase()
765 readw(&musbr->txcsr); in submit_control_msg()
[all …]
A Dmusb_core.c83 csr = readw(&musbr->txcsr); in musb_configure_ep()
85 writew(csr | MUSB_TXCSR_CLRDATATOG, &musbr->txcsr); in musb_configure_ep()
89 &musbr->txcsr); in musb_configure_ep()
A Dmusb_core.h35 u16 txcsr; member
64 u16 txcsr; member
A Dmusb_udc.c145 w = readw(&musbr->ep[1].epN.txcsr); in musb_db_regs()
292 peri_txcsr = readw(&musbr->ep[ep].epN.txcsr); in musb_peri_tx_ready()
294 writew(peri_txcsr, &musbr->ep[ep].epN.txcsr); in musb_peri_tx_ready()
822 u16 peri_txcsr = readw(&musbr->ep[ep].epN.txcsr); in udc_endpoint_write()
827 writew(peri_txcsr, &musbr->ep[ep].epN.txcsr); in udc_endpoint_write()
/u-boot/drivers/usb/musb-new/
A Dmusb_host.c147 u16 txcsr; in musb_h_tx_start() local
151 txcsr = musb_readw(ep->regs, MUSB_TXCSR); in musb_h_tx_start()
152 txcsr |= MUSB_TXCSR_TXPKTRDY | MUSB_TXCSR_H_WZC_BITS; in musb_h_tx_start()
153 musb_writew(ep->regs, MUSB_TXCSR, txcsr); in musb_h_tx_start()
155 txcsr = MUSB_CSR0_H_SETUPPKT | MUSB_CSR0_TXPKTRDY; in musb_h_tx_start()
156 musb_writew(ep->regs, MUSB_CSR0, txcsr); in musb_h_tx_start()
163 u16 txcsr; in musb_h_tx_dma_start() local
166 txcsr = musb_readw(ep->regs, MUSB_TXCSR); in musb_h_tx_dma_start()
167 txcsr |= MUSB_TXCSR_DMAENAB | MUSB_TXCSR_H_WZC_BITS; in musb_h_tx_dma_start()
169 txcsr |= MUSB_TXCSR_DMAMODE; in musb_h_tx_dma_start()
[all …]
A Dmusb_core.h292 u16 txmaxp, txcsr, rxmaxp, rxcsr; member
A Dmusb_core.c2267 musb->context.index_regs[i].txcsr = in musb_save_context()
2344 musb->context.index_regs[i].txcsr); in musb_restore_context()

Completed in 17 milliseconds