Home
last modified time | relevance | path

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

/drivers/usb/musb/
Dmusb_host.c115 csr = musb_readw(epio, MUSB_TXCSR); in musb_h_tx_flush_fifo()
122 csr = musb_readw(epio, MUSB_TXCSR); in musb_h_tx_flush_fifo()
139 csr = musb_readw(epio, MUSB_TXCSR); in musb_h_ep0_flush_fifo()
143 csr = musb_readw(epio, MUSB_TXCSR); in musb_h_ep0_flush_fifo()
164 txcsr = musb_readw(ep->regs, MUSB_TXCSR); in musb_h_tx_start()
179 txcsr = musb_readw(ep->regs, MUSB_TXCSR); in musb_h_tx_dma_start()
268 frame = musb_readw(mbase, MUSB_FRAME); in musb_start_urb()
333 csr = musb_readw(epio, MUSB_RXCSR) & MUSB_RXCSR_H_DATATOGGLE; in musb_save_toggle()
335 csr = musb_readw(epio, MUSB_TXCSR) & MUSB_TXCSR_H_DATATOGGLE; in musb_save_toggle()
448 return musb_readw(hw_ep->regs, MUSB_RXCSR); in musb_h_flush_rxfifo()
[all …]
Dmusbhsdma.h77 u32 addr = musb_readw(mbase, in musb_read_hsdma_addr()
82 addr |= musb_readw(mbase, in musb_read_hsdma_addr()
101 u32 count = musb_readw(mbase, in musb_read_hsdma_count()
106 count |= musb_readw(mbase, in musb_read_hsdma_count()
Dmusb_gadget_ep0.c132 tmp = musb_readw(regs, MUSB_TXCSR) in service_tx_status_request()
135 tmp = musb_readw(regs, MUSB_RXCSR) in service_tx_status_request()
287 csr = musb_readw(regs, MUSB_TXCSR); in service_zero_data_request()
295 csr = musb_readw(regs, MUSB_RXCSR); in service_zero_data_request()
446 csr = musb_readw(regs, MUSB_TXCSR); in service_zero_data_request()
454 csr = musb_readw(regs, MUSB_RXCSR); in service_zero_data_request()
553 dev_dbg(musb->controller, "odd; csr0 %04x\n", musb_readw(regs, MUSB_CSR0)); in ep0_txstate()
639 while ((musb_readw(regs, MUSB_CSR0) in musb_read_setup()
675 csr = musb_readw(regs, MUSB_CSR0); in musb_g_ep0_irq()
695 csr = musb_readw(regs, MUSB_CSR0); in musb_g_ep0_irq()
[all …]
Dmusb_gadget.c273 csr = musb_readw(epio, MUSB_TXCSR); in txstate()
370 csr = musb_readw(epio, MUSB_TXCSR); in txstate()
423 musb_readw(epio, MUSB_TXCSR), in txstate()
425 musb_readw(epio, MUSB_TXMAXP)); in txstate()
446 csr = musb_readw(epio, MUSB_TXCSR); in musb_g_tx()
490 csr = musb_readw(epio, MUSB_TXCSR); in musb_g_tx()
558 u16 csr = musb_readw(epio, MUSB_RXCSR); in rxstate()
616 fifo_count = musb_readw(epio, MUSB_RXCOUNT); in rxstate()
844 csr = musb_readw(epio, MUSB_RXCSR); in musb_g_rx()
889 musb_readw(epio, MUSB_RXCSR), in musb_g_rx()
[all …]
Dblackfin.c177 musb->int_tx = musb_readw(musb->mregs, MUSB_INTRTX); in blackfin_interrupt()
178 musb->int_rx = musb_readw(musb->mregs, MUSB_INTRRX); in blackfin_interrupt()
212 val = musb_readw(musb->mregs, MUSB_DEVCTL); in musb_conn_timer_handler()
218 val = musb_readw(musb->mregs, MUSB_DEVCTL); in musb_conn_timer_handler()
241 val = musb_readw(musb->mregs, MUSB_DEVCTL); in musb_conn_timer_handler()
244 val = musb_readw(musb->mregs, MUSB_DEVCTL); in musb_conn_timer_handler()
Dmusb_io.h44 static inline u16 musb_readw(const void __iomem *addr, unsigned offset) in musb_readw() function
105 static inline u16 musb_readw(const void __iomem *addr, unsigned offset) in musb_readw() function
Dmusbhsdma.c222 csr = musb_readw(mbase, offset); in dma_channel_abort()
231 csr = musb_readw(mbase, offset); in dma_channel_abort()
304 csr = musb_readw(mbase, in dma_controller_irq()
348 txcsr = musb_readw(mbase, offset); in dma_controller_irq()
Dcppi_dma.c374 musb_readw(c->hw_ep->regs, MUSB_RXCSR), in cppi_dump_rx()
403 musb_readw(c->hw_ep->regs, MUSB_TXCSR), in cppi_dump_tx()
507 val = musb_readw(regs, MUSB_RXCSR); in cppi_autoreq_update()
512 val = musb_readw(regs, MUSB_RXCSR); in cppi_autoreq_update()
1111 csr = musb_readw(regs, MUSB_RXCSR); in cppi_rx_scan()
1133 csr = musb_readw(rx->hw_ep->regs, MUSB_RXCSR); in cppi_rx_scan()
1140 csr = musb_readw(rx->hw_ep->regs, MUSB_RXCSR); in cppi_rx_scan()
1445 value = musb_readw(regs, MUSB_TXCSR); in cppi_channel_abort()
1484 csr = musb_readw(regs, MUSB_RXCSR); in cppi_channel_abort()
1496 csr = musb_readw(regs, MUSB_RXCSR); in cppi_channel_abort()
Dmusb_regs.h353 return musb_readw(mbase, MUSB_TXFIFOADD); in musb_read_txfifoadd()
363 return musb_readw(mbase, MUSB_RXFIFOADD); in musb_read_rxfifoadd()
379 return musb_readw(mbase, MUSB_HWVERS); in musb_read_hwvers()
Dux500.c141 musb->int_tx = musb_readw(musb->mregs, MUSB_INTRTX); in ux500_musb_interrupt()
142 musb->int_rx = musb_readw(musb->mregs, MUSB_INTRRX); in ux500_musb_interrupt()
Dmusb_core.c301 *(u16 *)&dst[index] = musb_readw(fifo, 0); in musb_read_fifo()
882 frame = musb_readw(mbase, MUSB_FRAME); in musb_stage0_irq()
974 temp = musb_readw(mbase, MUSB_INTRTX); in musb_generic_disable()
975 temp = musb_readw(mbase, MUSB_INTRRX); in musb_generic_disable()
2060 musb->context.frame = musb_readw(musb_base, MUSB_FRAME); in musb_save_context()
2081 musb_readw(epio, MUSB_TXMAXP); in musb_save_context()
2083 musb_readw(epio, MUSB_TXCSR); in musb_save_context()
2085 musb_readw(epio, MUSB_RXMAXP); in musb_save_context()
2087 musb_readw(epio, MUSB_RXCSR); in musb_save_context()
Dux500_dma.c238 csr = musb_readw(epio, MUSB_TXCSR); in ux500_dma_channel_abort()
244 csr = musb_readw(epio, MUSB_RXCSR); in ux500_dma_channel_abort()
Dtusb6010_omap.c221 csr = musb_readw(hw_ep->regs, MUSB_TXCSR); in tusb_omap_dma_cb()
396 csr = musb_readw(hw_ep->regs, MUSB_TXCSR); in tusb_omap_dma_program()
403 csr = musb_readw(hw_ep->regs, MUSB_RXCSR); in tusb_omap_dma_program()
Dmusb_debugfs.c121 musb_readw(musb->mregs, musb_regmap[i].offset)); in musb_regdump_show()
Domap2430.c327 musb->int_tx = musb_readw(musb->mregs, MUSB_INTRTX); in omap2430_musb_interrupt()
328 musb->int_rx = musb_readw(musb->mregs, MUSB_INTRRX); in omap2430_musb_interrupt()