Lines Matching refs:musb_base
2673 void __iomem *musb_base = musb->mregs; in musb_save_context() local
2676 musb->context.frame = musb_readw(musb_base, MUSB_FRAME); in musb_save_context()
2677 musb->context.testmode = musb_readb(musb_base, MUSB_TESTMODE); in musb_save_context()
2678 musb->context.busctl = musb_readb(musb_base, MUSB_ULPI_BUSCONTROL); in musb_save_context()
2679 musb->context.power = musb_readb(musb_base, MUSB_POWER); in musb_save_context()
2680 musb->context.intrusbe = musb_readb(musb_base, MUSB_INTRUSBE); in musb_save_context()
2681 musb->context.index = musb_readb(musb_base, MUSB_INDEX); in musb_save_context()
2682 musb->context.devctl = musb_readb(musb_base, MUSB_DEVCTL); in musb_save_context()
2689 musb_writeb(musb_base, MUSB_INDEX, i); in musb_save_context()
2701 musb_readw(musb_base, MUSB_TXFIFOADD); in musb_save_context()
2703 musb_readw(musb_base, MUSB_RXFIFOADD); in musb_save_context()
2705 musb_readb(musb_base, MUSB_TXFIFOSZ); in musb_save_context()
2707 musb_readb(musb_base, MUSB_RXFIFOSZ); in musb_save_context()
2738 void __iomem *musb_base = musb->mregs; in musb_restore_context() local
2742 musb_writew(musb_base, MUSB_FRAME, musb->context.frame); in musb_restore_context()
2743 musb_writeb(musb_base, MUSB_TESTMODE, musb->context.testmode); in musb_restore_context()
2744 musb_writeb(musb_base, MUSB_ULPI_BUSCONTROL, musb->context.busctl); in musb_restore_context()
2747 power = musb_readb(musb_base, MUSB_POWER); in musb_restore_context()
2751 musb_writeb(musb_base, MUSB_POWER, power); in musb_restore_context()
2753 musb_writew(musb_base, MUSB_INTRTXE, musb->intrtxe); in musb_restore_context()
2754 musb_writew(musb_base, MUSB_INTRRXE, musb->intrrxe); in musb_restore_context()
2755 musb_writeb(musb_base, MUSB_INTRUSBE, musb->context.intrusbe); in musb_restore_context()
2757 musb_writeb(musb_base, MUSB_DEVCTL, musb->context.devctl); in musb_restore_context()
2764 musb_writeb(musb_base, MUSB_INDEX, i); in musb_restore_context()
2775 musb_writeb(musb_base, MUSB_TXFIFOSZ, in musb_restore_context()
2777 musb_writeb(musb_base, MUSB_RXFIFOSZ, in musb_restore_context()
2779 musb_writew(musb_base, MUSB_TXFIFOADD, in musb_restore_context()
2781 musb_writew(musb_base, MUSB_RXFIFOADD, in musb_restore_context()
2808 musb_writeb(musb_base, MUSB_INDEX, musb->context.index); in musb_restore_context()