Lines Matching +full:0 +full:x500
33 return 0; in mpc52xx_pm_valid()
49 tmp &= ~(0x3 << (pin * 2)); in mpc52xx_set_wakeup_gpio()
55 return 0; in mpc52xx_set_wakeup_gpio()
73 if (of_address_to_resource(np, 0, &res)) { in mpc52xx_pm_prepare()
79 mbar = ioremap(res.start, 0xc000); /* we should map whole region including SRAM */ in mpc52xx_pm_prepare()
87 sdram = mbar + 0x100; in mpc52xx_pm_prepare()
88 cdm = mbar + 0x200; in mpc52xx_pm_prepare()
89 intr = mbar + 0x500; in mpc52xx_pm_prepare()
90 gpiow = mbar + 0xc00; in mpc52xx_pm_prepare()
91 sram = mbar + 0x8000; /* Those will be handled by the */ in mpc52xx_pm_prepare()
92 sram_size = 0x4000; /* bestcomm driver soon */ in mpc52xx_pm_prepare()
103 return 0; in mpc52xx_pm_prepare()
111 char saved_sram[0x4000];
118 void __iomem * irq_0x500 = (void __iomem *)CONFIG_KERNEL_START + 0x500; in mpc52xx_pm_enter()
120 char saved_0x500[0x600-0x500]; in mpc52xx_pm_enter()
127 out_be32(&intr->main_mask, intr_main_mask | 0x1ffff); in mpc52xx_pm_enter()
130 mtspr(SPRN_DEC, 0x7fffffff); in mpc52xx_pm_enter()
144 out_be32(&cdm->clk_enables, clk_enables & 0x00088000); in mpc52xx_pm_enter()
172 out_8(&cdm->ccs_sleep_enable, 0); in mpc52xx_pm_enter()
173 out_8(&cdm->osc_sleep_enable, 0); in mpc52xx_pm_enter()
181 return 0; in mpc52xx_pm_enter()
203 return 0; in mpc52xx_pm_init()