Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/usb/musb/
Dmusb_host.c93 csr = musb_readw(epio, MUSB_TXCSR); 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()
133 csr = musb_readw(epio, MUSB_TXCSR); in musb_h_ep0_flush_fifo()
154 txcsr = musb_readw(ep->regs, MUSB_TXCSR); in musb_h_tx_start()
169 txcsr = musb_readw(ep->regs, MUSB_TXCSR); in musb_h_tx_dma_start()
302 csr = musb_readw(epio, MUSB_RXCSR) & MUSB_RXCSR_H_DATATOGGLE; in musb_save_toggle()
304 csr = musb_readw(epio, MUSB_TXCSR) & MUSB_TXCSR_H_DATATOGGLE; in musb_save_toggle()
418 return musb_readw(hw_ep->regs, MUSB_RXCSR); in musb_h_flush_rxfifo()
440 rx_count = musb_readw(epio, MUSB_RXCOUNT); in musb_host_packet_rx()
[all …]
Dmusb_gadget_ep0.c111 tmp = musb_readw(regs, MUSB_TXCSR) in service_tx_status_request()
114 tmp = musb_readw(regs, MUSB_RXCSR) in service_tx_status_request()
266 csr = musb_readw(regs, MUSB_TXCSR); in service_zero_data_request()
274 csr = musb_readw(regs, MUSB_RXCSR); in service_zero_data_request()
425 csr = musb_readw(regs, MUSB_TXCSR); in service_zero_data_request()
433 csr = musb_readw(regs, MUSB_RXCSR); in service_zero_data_request()
532 musb_dbg(musb, "odd; csr0 %04x", 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()
674 csr = musb_readw(regs, MUSB_CSR0); in musb_g_ep0_irq()
[all …]
Dmusb_gadget.c248 csr = musb_readw(epio, MUSB_TXCSR); in txstate()
342 csr = musb_readw(epio, MUSB_TXCSR); in txstate()
397 musb_readw(epio, MUSB_TXCSR), in txstate()
399 musb_readw(epio, MUSB_TXMAXP)); in txstate()
420 csr = musb_readw(epio, MUSB_TXCSR); in musb_g_tx()
467 csr = musb_readw(epio, MUSB_TXCSR); in musb_g_tx()
537 u16 csr = musb_readw(epio, MUSB_RXCSR); in rxstate()
595 fifo_count = musb_readw(epio, MUSB_RXCOUNT); in rxstate()
823 csr = musb_readw(epio, MUSB_RXCSR); in musb_g_rx()
884 csr = musb_readw(epio, MUSB_RXCSR); in musb_g_rx()
[all …]
Dmusb_cppi41.c64 csr = musb_readw(cppi41_channel->hw_ep->regs, MUSB_RXCSR); in save_rx_toggle()
83 csr = musb_readw(hw_ep->regs, MUSB_RXCSR); in update_rx_toggle()
108 csr = musb_readw(epio, MUSB_TXCSR); in musb_is_tx_fifo_empty()
178 csr = musb_readw(epio, MUSB_RXCSR); in cppi41_trans_done()
592 csr = musb_readw(epio, MUSB_TXCSR); in cppi41_dma_channel_abort()
601 csr = musb_readw(epio, MUSB_RXCSR); in cppi41_dma_channel_abort()
608 csr = musb_readw(epio, MUSB_RXCSR); in cppi41_dma_channel_abort()
634 csr = musb_readw(epio, MUSB_TXCSR); in cppi41_dma_channel_abort()
Dcppi_dma.c366 musb_readw(c->hw_ep->regs, MUSB_RXCSR), in cppi_dump_rx()
394 musb_readw(c->hw_ep->regs, MUSB_TXCSR), in cppi_dump_tx()
498 val = musb_readw(regs, MUSB_RXCSR); in cppi_autoreq_update()
503 val = musb_readw(regs, MUSB_RXCSR); in cppi_autoreq_update()
1101 csr = musb_readw(regs, MUSB_RXCSR); in cppi_rx_scan()
1123 csr = musb_readw(rx->hw_ep->regs, MUSB_RXCSR); in cppi_rx_scan()
1130 csr = musb_readw(rx->hw_ep->regs, MUSB_RXCSR); in cppi_rx_scan()
1439 value = musb_readw(regs, MUSB_TXCSR); in cppi_channel_abort()
1478 csr = musb_readw(regs, MUSB_RXCSR); in cppi_channel_abort()
1490 csr = musb_readw(regs, MUSB_RXCSR); in cppi_channel_abort()
Dmusbhsdma.c244 csr = musb_readw(mbase, offset); in dma_channel_abort()
253 csr = musb_readw(mbase, offset); in dma_channel_abort()
321 csr = musb_readw(mbase, in dma_controller_irq()
365 txcsr = musb_readw(mbase, offset); in dma_controller_irq()
Djz4740.c33 musb->int_tx = musb_readw(musb->mregs, MUSB_INTRTX); in jz4740_musb_interrupt()
34 musb->int_rx = musb_readw(musb->mregs, MUSB_INTRRX); in jz4740_musb_interrupt()
Dmusb_io.h38 extern u16 (*musb_readw)(const void __iomem *addr, unsigned offset);
Dmusb_core.c373 u16 (*musb_readw)(const void __iomem *addr, unsigned offset); variable
374 EXPORT_SYMBOL_GPL(musb_readw);
985 frame = musb_readw(mbase, MUSB_FRAME); in musb_stage0_irq()
1029 temp = musb_readw(mbase, MUSB_INTRTX); in musb_disable_interrupts()
1030 temp = musb_readw(mbase, MUSB_INTRRX); in musb_disable_interrupts()
1507 musb->hwvers = musb_readw(mbase, MUSB_HWVERS); in musb_core_init()
2193 musb_readw = musb_default_readw; in musb_init_controller()
2256 musb_readw = musb->ops->readw; in musb_init_controller()
2511 musb->context.frame = musb_readw(musb_base, MUSB_FRAME); in musb_save_context()
2532 musb_readw(epio, MUSB_TXMAXP); in musb_save_context()
[all …]
Dux500.c133 musb->int_tx = musb_readw(musb->mregs, MUSB_INTRTX); in ux500_musb_interrupt()
134 musb->int_rx = musb_readw(musb->mregs, MUSB_INTRRX); in ux500_musb_interrupt()
Dtusb6010_omap.c171 csr = musb_readw(hw_ep->regs, MUSB_TXCSR); in tusb_omap_dma_cb()
328 csr = musb_readw(hw_ep->regs, MUSB_TXCSR); in tusb_omap_dma_program()
334 csr = musb_readw(hw_ep->regs, MUSB_RXCSR); in tusb_omap_dma_program()
Dux500_dma.c220 csr = musb_readw(epio, MUSB_TXCSR); in ux500_dma_channel_abort()
226 csr = musb_readw(epio, MUSB_RXCSR); in ux500_dma_channel_abort()
Domap2430.c213 musb->int_tx = musb_readw(musb->mregs, MUSB_INTRTX); in omap2430_musb_interrupt()
214 musb->int_rx = musb_readw(musb->mregs, MUSB_INTRRX); in omap2430_musb_interrupt()
Dmusb_debugfs.c100 musb_readw(musb->mregs, musb_regmap[i].offset)); in musb_regdump_show()
Dmusb_trace.h88 DEFINE_EVENT(musb_regw, musb_readw,
/Linux-v4.19/Documentation/driver-api/usb/
Dwriting_musb_glue_layer.rst356 musb->int_tx = musb_readw(musb->mregs, MUSB_INTRTX);
357 musb->int_rx = musb_readw(musb->mregs, MUSB_INTRRX);
395 :c:func:`musb_readw` allows us to read at most 16-bit registers. There are
652 musb->int_tx = musb_readw(musb->mregs, MUSB_INTRTX);
653 musb->int_rx = musb_readw(musb->mregs, MUSB_INTRRX);