Home
last modified time | relevance | path

Searched refs:musb_readw (Results 1 – 8 of 8) sorted by relevance

/external/u-boot/drivers/usb/musb-new/
Dmusb_host.c97 csr = musb_readw(epio, MUSB_TXCSR); in musb_h_tx_flush_fifo()
104 csr = musb_readw(epio, MUSB_TXCSR); in musb_h_tx_flush_fifo()
121 csr = musb_readw(epio, MUSB_TXCSR); in musb_h_ep0_flush_fifo()
125 csr = musb_readw(epio, MUSB_TXCSR); in musb_h_ep0_flush_fifo()
146 txcsr = musb_readw(ep->regs, MUSB_TXCSR); in musb_h_tx_start()
161 txcsr = musb_readw(ep->regs, MUSB_TXCSR); in musb_h_tx_dma_start()
256 frame = musb_readw(mbase, MUSB_FRAME); in musb_start_urb()
325 csr = musb_readw(epio, MUSB_RXCSR) & MUSB_RXCSR_H_DATATOGGLE; in musb_save_toggle()
327 csr = musb_readw(epio, MUSB_TXCSR) & MUSB_TXCSR_H_DATATOGGLE; in musb_save_toggle()
442 return musb_readw(hw_ep->regs, MUSB_RXCSR); in musb_h_flush_rxfifo()
[all …]
Dmusb_gadget_ep0.c113 tmp = musb_readw(regs, MUSB_TXCSR) in service_tx_status_request()
116 tmp = musb_readw(regs, MUSB_RXCSR) in service_tx_status_request()
268 csr = musb_readw(regs, MUSB_TXCSR); in service_zero_data_request()
276 csr = musb_readw(regs, MUSB_RXCSR); in service_zero_data_request()
427 csr = musb_readw(regs, MUSB_TXCSR); in service_zero_data_request()
435 csr = musb_readw(regs, MUSB_RXCSR); in service_zero_data_request()
532 dev_dbg(musb->controller, "odd; csr0 %04x\n", musb_readw(regs, MUSB_CSR0)); in ep0_txstate()
618 while ((musb_readw(regs, MUSB_CSR0) in musb_read_setup()
654 csr = musb_readw(regs, MUSB_CSR0); in musb_g_ep0_irq()
676 csr = musb_readw(regs, MUSB_CSR0); in musb_g_ep0_irq()
[all …]
Dmusb_gadget.c338 csr = musb_readw(epio, MUSB_TXCSR); in txstate()
423 csr = musb_readw(epio, MUSB_TXCSR); in txstate()
476 musb_readw(epio, MUSB_TXCSR), in txstate()
478 musb_readw(epio, MUSB_TXMAXP)); in txstate()
499 csr = musb_readw(epio, MUSB_TXCSR); in musb_g_tx()
543 csr = musb_readw(epio, MUSB_TXCSR); in musb_g_tx()
642 u16 csr = musb_readw(epio, MUSB_RXCSR); in rxstate()
700 len = musb_readw(epio, MUSB_RXCOUNT); in rxstate()
928 csr = musb_readw(epio, MUSB_RXCSR); in musb_g_rx()
973 musb_readw(epio, MUSB_RXCSR), in musb_g_rx()
[all …]
Dmusb_regs.h410 return musb_readw(mbase, MUSB_TXFIFOADD); in musb_read_txfifoadd()
420 return musb_readw(mbase, MUSB_RXFIFOADD); in musb_read_rxfifoadd()
449 return musb_readw(mbase, MUSB_HWVERS); in musb_read_hwvers()
Dmusb_core.c277 *(u16 *)&dst[index] = musb_readw(fifo, 0); in musb_read_fifo()
864 frame = musb_readw(mbase, MUSB_FRAME); in musb_stage0_irq()
983 temp = musb_readw(mbase, MUSB_INTRTX); in musb_generic_disable()
984 temp = musb_readw(mbase, MUSB_INTRRX); in musb_generic_disable()
1533 musb->int_tx = musb_readw(musb->mregs, MUSB_INTRTX); in generic_interrupt()
1534 musb->int_rx = musb_readw(musb->mregs, MUSB_INTRRX); in generic_interrupt()
2231 musb->context.frame = musb_readw(musb_base, MUSB_FRAME); in musb_save_context()
2236 musb->context.intrtxe = musb_readw(musb_base, MUSB_INTRTXE); in musb_save_context()
2237 musb->context.intrrxe = musb_readw(musb_base, MUSB_INTRRXE); in musb_save_context()
2255 musb_readw(epio, MUSB_TXMAXP); in musb_save_context()
[all …]
Dpic32.c79 musb->int_rx = musb_readw(musb->mregs, MUSB_INTRRX) & PIC32_RX_EP_MASK; in pic32_interrupt()
83 musb->int_tx = musb_readw(musb->mregs, MUSB_INTRTX) & PIC32_TX_EP_MASK; in pic32_interrupt()
Dmusb_io.h45 static inline u16 musb_readw(const void __iomem *addr, unsigned offset) in musb_readw() function
Dsunxi.c208 musb->int_tx = musb_readw(musb->mregs, MUSB_INTRTX); in sunxi_musb_interrupt()
211 musb->int_rx = musb_readw(musb->mregs, MUSB_INTRRX); in sunxi_musb_interrupt()