Lines Matching +full:0 +full:x500
35 return 0; in mpc52xx_pm_valid()
51 tmp &= ~(0x3 << (pin * 2)); in mpc52xx_set_wakeup_gpio()
57 return 0; in mpc52xx_set_wakeup_gpio()
75 if (of_address_to_resource(np, 0, &res)) { in mpc52xx_pm_prepare()
81 mbar = ioremap(res.start, 0xc000); /* we should map whole region including SRAM */ in mpc52xx_pm_prepare()
89 sdram = mbar + 0x100; in mpc52xx_pm_prepare()
90 cdm = mbar + 0x200; in mpc52xx_pm_prepare()
91 intr = mbar + 0x500; in mpc52xx_pm_prepare()
92 gpiow = mbar + 0xc00; in mpc52xx_pm_prepare()
93 sram = mbar + 0x8000; /* Those will be handled by the */ in mpc52xx_pm_prepare()
94 sram_size = 0x4000; /* bestcomm driver soon */ in mpc52xx_pm_prepare()
105 return 0; in mpc52xx_pm_prepare()
113 char saved_sram[0x4000];
120 void __iomem * irq_0x500 = (void __iomem *)CONFIG_KERNEL_START + 0x500; in mpc52xx_pm_enter()
122 char saved_0x500[0x600-0x500]; in mpc52xx_pm_enter()
129 out_be32(&intr->main_mask, intr_main_mask | 0x1ffff); in mpc52xx_pm_enter()
132 mtspr(SPRN_DEC, 0x7fffffff); in mpc52xx_pm_enter()
146 out_be32(&cdm->clk_enables, clk_enables & 0x00088000); in mpc52xx_pm_enter()
174 out_8(&cdm->ccs_sleep_enable, 0); in mpc52xx_pm_enter()
175 out_8(&cdm->osc_sleep_enable, 0); in mpc52xx_pm_enter()
183 return 0; in mpc52xx_pm_enter()
205 return 0; in mpc52xx_pm_init()