Home
last modified time | relevance | path

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

/linux-6.12.1/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()
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-6.12.1/arch/powerpc/platforms/52xx/
Dlite5200_pm.c19 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()