/linux-5.19.10/drivers/usb/musb/ |
D | musb_host.c | 93 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() 400 return musb_readw(hw_ep->regs, MUSB_RXCSR); in musb_h_flush_rxfifo() 422 rx_count = musb_readw(epio, MUSB_RXCOUNT); in musb_host_packet_rx() 484 csr = musb_readw(epio, MUSB_RXCSR); in musb_host_packet_rx() 520 csr = musb_readw(ep->regs, MUSB_TXCSR); in musb_rx_reinit() [all …]
|
D | musb_gadget_ep0.c | 111 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() 421 csr = musb_readw(regs, MUSB_TXCSR); in service_zero_data_request() 429 csr = musb_readw(regs, MUSB_RXCSR); in service_zero_data_request() 528 musb_dbg(musb, "odd; csr0 %04x", musb_readw(regs, MUSB_CSR0)); in ep0_txstate() 614 while ((musb_readw(regs, MUSB_CSR0) in musb_read_setup() 650 csr = musb_readw(regs, MUSB_CSR0); in musb_g_ep0_irq() 670 csr = musb_readw(regs, MUSB_CSR0); in musb_g_ep0_irq() [all …]
|
D | musb_gadget.c | 248 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() 464 csr = musb_readw(epio, MUSB_TXCSR); in musb_g_tx() 526 u16 csr = musb_readw(epio, MUSB_RXCSR); in rxstate() 584 fifo_count = musb_readw(epio, MUSB_RXCOUNT); in rxstate() 812 csr = musb_readw(epio, MUSB_RXCSR); in musb_g_rx() 873 csr = musb_readw(epio, MUSB_RXCSR); in musb_g_rx() [all …]
|
D | musb_cppi41.c | 64 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()
|
D | cppi_dma.c | 366 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()
|
D | musbhsdma.c | 239 csr = musb_readw(mbase, offset); in dma_channel_abort() 248 csr = musb_readw(mbase, offset); in dma_channel_abort() 316 csr = musb_readw(mbase, in dma_controller_irq() 354 txcsr = musb_readw(mbase, offset); in dma_controller_irq()
|
D | musb_core.c | 284 csr = musb_readw(epio, MUSB_TXCSR) & MUSB_TXCSR_H_DATATOGGLE; in musb_default_get_toggle() 286 csr = musb_readw(epio, MUSB_RXCSR) & MUSB_RXCSR_H_DATATOGGLE; in musb_default_get_toggle() 409 u16 (*musb_readw)(void __iomem *addr, u32 offset); variable 410 EXPORT_SYMBOL_GPL(musb_readw); 1125 frame = musb_readw(mbase, MUSB_FRAME); in musb_stage0_irq() 1647 musb->hwvers = musb_readw(mbase, MUSB_HWVERS); in musb_core_init() 2350 musb_readw = musb_default_readw; in musb_init_controller() 2418 musb_readw = musb->ops->readw; in musb_init_controller() 2424 musb_clearw = musb_readw; in musb_init_controller() 2678 musb->context.frame = musb_readw(musb_base, MUSB_FRAME); in musb_save_context() [all …]
|
D | mediatek.c | 212 data = musb_readw(addr, offset); in mtk_musb_clearw() 307 toggle = musb_readw(musb->mregs, is_out ? MUSB_TXTOG : MUSB_RXTOG); in mtk_musb_get_toggle() 320 value = musb_readw(musb->mregs, MUSB_TXTOG); in mtk_musb_set_toggle() 324 value = musb_readw(musb->mregs, MUSB_RXTOG); in mtk_musb_set_toggle()
|
D | musb_io.h | 43 extern u16 (*musb_readw)(void __iomem *addr, u32 offset);
|
D | jz4740.c | 39 musb->int_tx = musb_readw(musb->mregs, MUSB_INTRTX); in jz4740_musb_interrupt() 40 musb->int_rx = musb_readw(musb->mregs, MUSB_INTRRX); in jz4740_musb_interrupt()
|
D | ux500.c | 133 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()
|
D | tusb6010_omap.c | 171 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()
|
D | ux500_dma.c | 220 csr = musb_readw(epio, MUSB_TXCSR); in ux500_dma_channel_abort() 226 csr = musb_readw(epio, MUSB_RXCSR); in ux500_dma_channel_abort()
|
D | omap2430.c | 177 musb->int_tx = musb_readw(musb->mregs, MUSB_INTRTX); in omap2430_musb_interrupt() 178 musb->int_rx = musb_readw(musb->mregs, MUSB_INTRRX); in omap2430_musb_interrupt()
|
D | musb_debugfs.c | 100 musb_readw(musb->mregs, musb_regmap[i].offset)); in musb_regdump_show()
|
D | musb_trace.h | 109 DEFINE_EVENT(musb_regw, musb_readw,
|
/linux-5.19.10/Documentation/driver-api/usb/ |
D | writing_musb_glue_layer.rst | 356 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);
|