Home
last modified time | relevance | path

Searched refs:gpw (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/power/reset/
Dgemini-poweroff.c38 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()
78 struct gemini_powercon *gpw = gpw_poweroff; in gemini_poweroff() local
81 dev_crit(gpw->dev, "Gemini power off\n"); in gemini_poweroff()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/52xx/
Dlite5200_pm.c17 static struct mpc52xx_gpio_wkup __iomem *gpw; variable
81 gpw = mbar + 0xc00; in lite5200_pm_prepare()
106 _memcpy_fromio(&sgpw, gpw, sizeof(*gpw)); in lite5200_save_regs()
124 _memcpy_toio(gpw, &sgpw, sizeof(*gpw)); in lite5200_restore_regs()