Home
last modified time | relevance | path

Searched refs:epio (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/musb/
Dmusb_host.c89 void __iomem *epio = ep->regs; in musb_h_tx_flush_fifo() local
93 csr = musb_readw(epio, MUSB_TXCSR); in musb_h_tx_flush_fifo()
96 musb_writew(epio, MUSB_TXCSR, csr); in musb_h_tx_flush_fifo()
97 csr = musb_readw(epio, MUSB_TXCSR); in musb_h_tx_flush_fifo()
123 void __iomem *epio = ep->regs; in musb_h_ep0_flush_fifo() local
129 csr = musb_readw(epio, MUSB_TXCSR); in musb_h_ep0_flush_fifo()
132 musb_writew(epio, MUSB_TXCSR, MUSB_CSR0_FLUSHFIFO); in musb_h_ep0_flush_fifo()
133 csr = musb_readw(epio, MUSB_TXCSR); in musb_h_ep0_flush_fifo()
141 musb_writew(epio, MUSB_TXCSR, 0); in musb_h_ep0_flush_fifo()
416 void __iomem *epio = hw_ep->regs; in musb_host_packet_rx() local
[all …]
Dmusb_gadget.c162 void __iomem *epio = ep->musb->endpoints[ep->current_epnum].regs; in nuke() local
176 musb_writew(epio, MUSB_TXCSR, in nuke()
178 musb_writew(epio, MUSB_TXCSR, in nuke()
181 musb_writew(epio, MUSB_RXCSR, in nuke()
183 musb_writew(epio, MUSB_RXCSR, in nuke()
227 void __iomem *epio = musb->endpoints[epnum].regs; in txstate() local
248 csr = musb_readw(epio, MUSB_TXCSR); in txstate()
303 musb_writew(epio, MUSB_TXCSR, csr in txstate()
329 musb_writew(epio, MUSB_TXCSR, csr); in txstate()
338 musb_writew(epio, MUSB_TXCSR, (MUSB_TXCSR_P_WZC_BITS & in txstate()
[all …]
Dmusb_cppi41.c104 void __iomem *epio = musb->endpoints[epnum].regs; in musb_is_tx_fifo_empty() local
108 csr = musb_readw(epio, MUSB_TXCSR); in musb_is_tx_fifo_empty()
121 void __iomem *epio = hw_ep->regs; in cppi41_trans_done() local
141 musb_writew(epio, MUSB_TXCSR, csr); in cppi41_trans_done()
178 csr = musb_readw(epio, MUSB_RXCSR); in cppi41_trans_done()
180 musb_writew(epio, MUSB_RXCSR, csr); in cppi41_trans_done()
578 void __iomem *epio = cppi41_channel->hw_ep->regs; in cppi41_dma_channel_abort() local
592 csr = musb_readw(epio, MUSB_TXCSR); in cppi41_dma_channel_abort()
594 musb_writew(epio, MUSB_TXCSR, csr); in cppi41_dma_channel_abort()
601 csr = musb_readw(epio, MUSB_RXCSR); in cppi41_dma_channel_abort()
[all …]
Dmusb_core.c280 void __iomem *epio = qh->hw_ep->regs; in musb_default_get_toggle() local
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()
2665 void __iomem *epio; in musb_save_context() local
2682 epio = hw_ep->regs; in musb_save_context()
2683 if (!epio) in musb_save_context()
2688 musb_readw(epio, MUSB_TXMAXP); in musb_save_context()
2690 musb_readw(epio, MUSB_TXCSR); in musb_save_context()
2692 musb_readw(epio, MUSB_RXMAXP); in musb_save_context()
2694 musb_readw(epio, MUSB_RXCSR); in musb_save_context()
[all …]
Dux500_dma.c212 void __iomem *epio = musb->endpoints[ux500_channel->hw_ep->epnum].regs; in ux500_dma_channel_abort() local
220 csr = musb_readw(epio, MUSB_TXCSR); in ux500_dma_channel_abort()
224 musb_writew(epio, MUSB_TXCSR, csr); in ux500_dma_channel_abort()
226 csr = musb_readw(epio, MUSB_RXCSR); in ux500_dma_channel_abort()
230 musb_writew(epio, MUSB_RXCSR, csr); in ux500_dma_channel_abort()