Lines Matching full:sram
10 extern void mpc52xx_deep_sleep(void __iomem *sram, void __iomem *sdram_regs,
22 static void __iomem *sram; variable
79 mbar = ioremap(res.start, 0xc000); /* we should map whole region including SRAM */ in mpc52xx_pm_prepare()
91 sram = mbar + 0x8000; /* Those will be handled by the */ in mpc52xx_pm_prepare()
132 /* save SRAM */ in mpc52xx_pm_enter()
133 memcpy(saved_sram, sram, sram_size); in mpc52xx_pm_enter()
135 /* copy low level suspend code to sram */ in mpc52xx_pm_enter()
136 memcpy(sram, mpc52xx_ds_sram, mpc52xx_ds_sram_size); in mpc52xx_pm_enter()
142 /* disable all but SDRAM and bestcomm (SRAM) clocks */ in mpc52xx_pm_enter()
160 mpc52xx_deep_sleep(sram, sdram, cdm, intr); in mpc52xx_pm_enter()
175 /* restore SRAM */ in mpc52xx_pm_enter()
176 memcpy(sram, saved_sram, sram_size); in mpc52xx_pm_enter()