Lines Matching refs:musb_base

2666 	void __iomem *musb_base = musb->mregs;  in musb_save_context()  local
2669 musb->context.frame = musb_readw(musb_base, MUSB_FRAME); in musb_save_context()
2670 musb->context.testmode = musb_readb(musb_base, MUSB_TESTMODE); in musb_save_context()
2671 musb->context.busctl = musb_readb(musb_base, MUSB_ULPI_BUSCONTROL); in musb_save_context()
2672 musb->context.power = musb_readb(musb_base, MUSB_POWER); in musb_save_context()
2673 musb->context.intrusbe = musb_readb(musb_base, MUSB_INTRUSBE); in musb_save_context()
2674 musb->context.index = musb_readb(musb_base, MUSB_INDEX); in musb_save_context()
2675 musb->context.devctl = musb_readb(musb_base, MUSB_DEVCTL); in musb_save_context()
2682 musb_writeb(musb_base, MUSB_INDEX, i); in musb_save_context()
2694 musb_readw(musb_base, MUSB_TXFIFOADD); in musb_save_context()
2696 musb_readw(musb_base, MUSB_RXFIFOADD); in musb_save_context()
2698 musb_readb(musb_base, MUSB_TXFIFOSZ); in musb_save_context()
2700 musb_readb(musb_base, MUSB_RXFIFOSZ); in musb_save_context()
2731 void __iomem *musb_base = musb->mregs; in musb_restore_context() local
2735 musb_writew(musb_base, MUSB_FRAME, musb->context.frame); in musb_restore_context()
2736 musb_writeb(musb_base, MUSB_TESTMODE, musb->context.testmode); in musb_restore_context()
2737 musb_writeb(musb_base, MUSB_ULPI_BUSCONTROL, musb->context.busctl); in musb_restore_context()
2740 power = musb_readb(musb_base, MUSB_POWER); in musb_restore_context()
2744 musb_writeb(musb_base, MUSB_POWER, power); in musb_restore_context()
2746 musb_writew(musb_base, MUSB_INTRTXE, musb->intrtxe); in musb_restore_context()
2747 musb_writew(musb_base, MUSB_INTRRXE, musb->intrrxe); in musb_restore_context()
2748 musb_writeb(musb_base, MUSB_INTRUSBE, musb->context.intrusbe); in musb_restore_context()
2750 musb_writeb(musb_base, MUSB_DEVCTL, musb->context.devctl); in musb_restore_context()
2757 musb_writeb(musb_base, MUSB_INDEX, i); in musb_restore_context()
2768 musb_writeb(musb_base, MUSB_TXFIFOSZ, in musb_restore_context()
2770 musb_writeb(musb_base, MUSB_RXFIFOSZ, in musb_restore_context()
2772 musb_writew(musb_base, MUSB_TXFIFOADD, in musb_restore_context()
2774 musb_writew(musb_base, MUSB_RXFIFOADD, in musb_restore_context()
2801 musb_writeb(musb_base, MUSB_INDEX, musb->context.index); in musb_restore_context()