Lines Matching refs:epio

162 	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()
342 csr = musb_readw(epio, MUSB_TXCSR); in txstate()
366 musb_writew(epio, MUSB_TXCSR, csr); in txstate()
390 musb_writew(epio, MUSB_TXCSR, csr); in txstate()
397 musb_readw(epio, MUSB_TXCSR), in txstate()
399 musb_readw(epio, MUSB_TXMAXP)); in txstate()
413 void __iomem *epio = musb->endpoints[epnum].regs; in musb_g_tx() local
420 csr = musb_readw(epio, MUSB_TXCSR); in musb_g_tx()
432 musb_writew(epio, MUSB_TXCSR, csr); in musb_g_tx()
440 musb_writew(epio, MUSB_TXCSR, csr); in musb_g_tx()
462 musb_writew(epio, MUSB_TXCSR, csr); in musb_g_tx()
464 csr = musb_readw(epio, MUSB_TXCSR); in musb_g_tx()
485 musb_writew(epio, MUSB_TXCSR, MUSB_TXCSR_MODE in musb_g_tx()
523 void __iomem *epio = musb->endpoints[epnum].regs; in rxstate() local
526 u16 csr = musb_readw(epio, MUSB_RXCSR); in rxstate()
578 musb_writew(epio, MUSB_RXCSR, csr); in rxstate()
584 fifo_count = musb_readw(epio, MUSB_RXCOUNT); in rxstate()
634 musb_writew(epio, MUSB_RXCSR, csr); in rxstate()
636 musb_writew(epio, MUSB_RXCSR, csr); in rxstate()
643 musb_writew(epio, MUSB_RXCSR, in rxstate()
645 musb_writew(epio, MUSB_RXCSR, csr); in rxstate()
657 musb_writew(epio, MUSB_RXCSR, csr); in rxstate()
704 musb_writew(epio, MUSB_RXCSR, csr); in rxstate()
712 musb_writew(epio, MUSB_RXCSR, csr); in rxstate()
760 musb_writew(epio, MUSB_RXCSR, csr); in rxstate()
774 musb_writew(epio, MUSB_RXCSR, csr); in rxstate()
794 void __iomem *epio = musb->endpoints[epnum].regs; in musb_g_rx() local
812 csr = musb_readw(epio, MUSB_RXCSR); in musb_g_rx()
821 musb_writew(epio, MUSB_RXCSR, csr); in musb_g_rx()
828 musb_writew(epio, MUSB_RXCSR, csr); in musb_g_rx()
850 musb_writew(epio, MUSB_RXCSR, in musb_g_rx()
863 musb_writew(epio, MUSB_RXCSR, csr); in musb_g_rx()
873 csr = musb_readw(epio, MUSB_RXCSR); in musb_g_rx()
1087 void __iomem *epio; in musb_gadget_disable() local
1093 epio = musb->endpoints[epnum].regs; in musb_gadget_disable()
1102 musb_writew(epio, MUSB_TXMAXP, 0); in musb_gadget_disable()
1106 musb_writew(epio, MUSB_RXMAXP, 0); in musb_gadget_disable()
1329 void __iomem *epio = musb->endpoints[epnum].regs; in musb_gadget_set_halt() local
1359 csr = musb_readw(epio, MUSB_TXCSR); in musb_gadget_set_halt()
1373 csr = musb_readw(epio, MUSB_TXCSR); in musb_gadget_set_halt()
1382 musb_writew(epio, MUSB_TXCSR, csr); in musb_gadget_set_halt()
1384 csr = musb_readw(epio, MUSB_RXCSR); in musb_gadget_set_halt()
1393 musb_writew(epio, MUSB_RXCSR, csr); in musb_gadget_set_halt()
1425 void __iomem *epio = musb_ep->hw_ep->regs; in musb_gadget_fifo_status() local
1438 retval = musb_readw(epio, MUSB_RXCOUNT); in musb_gadget_fifo_status()
1450 void __iomem *epio = musb->endpoints[epnum].regs; in musb_gadget_fifo_flush() local
1464 csr = musb_readw(epio, MUSB_TXCSR); in musb_gadget_fifo_flush()
1473 musb_writew(epio, MUSB_TXCSR, csr); in musb_gadget_fifo_flush()
1475 musb_writew(epio, MUSB_TXCSR, csr); in musb_gadget_fifo_flush()
1478 csr = musb_readw(epio, MUSB_RXCSR); in musb_gadget_fifo_flush()
1480 musb_writew(epio, MUSB_RXCSR, csr); in musb_gadget_fifo_flush()
1481 musb_writew(epio, MUSB_RXCSR, csr); in musb_gadget_fifo_flush()