Searched refs:gpw (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/power/reset/ |
H A D | gemini-poweroff.c | 38 struct gemini_powercon *gpw = data; in gemini_powerbutton_interrupt() local 42 val = readl(gpw->base + GEMINI_PWC_CTRLREG); in gemini_powerbutton_interrupt() 44 writel(val, gpw->base + GEMINI_PWC_CTRLREG); in gemini_powerbutton_interrupt() 46 val = readl(gpw->base + GEMINI_PWC_STATREG); in gemini_powerbutton_interrupt() 55 dev_info(gpw->dev, "infrared poweroff - ignored\n"); in gemini_powerbutton_interrupt() 58 dev_info(gpw->dev, "RTC poweroff\n"); in gemini_powerbutton_interrupt() 62 dev_info(gpw->dev, "poweroff button pressed\n"); in gemini_powerbutton_interrupt() 66 dev_info(gpw->dev, "other power management IRQ\n"); in gemini_powerbutton_interrupt() 75 struct gemini_powercon *gpw = data->cb_data; in gemini_poweroff() local 78 dev_crit(gpw->dev, "Gemini power off\n"); in gemini_poweroff() [all …]
|
/linux/arch/powerpc/platforms/52xx/ |
H A D | lite5200_pm.c | 19 static struct mpc52xx_gpio_wkup __iomem *gpw; variable 80 gpw = mbar + 0xc00; in lite5200_pm_prepare() 105 _memcpy_fromio(&sgpw, gpw, sizeof(*gpw)); in lite5200_save_regs() 123 _memcpy_toio(gpw, &sgpw, sizeof(*gpw)); in lite5200_restore_regs()
|