gpw                17 arch/powerpc/platforms/52xx/lite5200_pm.c static struct mpc52xx_gpio_wkup __iomem *gpw;
gpw                81 arch/powerpc/platforms/52xx/lite5200_pm.c 	gpw = mbar + 0xc00;
gpw               106 arch/powerpc/platforms/52xx/lite5200_pm.c 	_memcpy_fromio(&sgpw, gpw, sizeof(*gpw));
gpw               124 arch/powerpc/platforms/52xx/lite5200_pm.c 	_memcpy_toio(gpw, &sgpw, sizeof(*gpw));
gpw                38 drivers/power/reset/gemini-poweroff.c 	struct gemini_powercon *gpw = data;
gpw                42 drivers/power/reset/gemini-poweroff.c 	val = readl(gpw->base + GEMINI_PWC_CTRLREG);
gpw                44 drivers/power/reset/gemini-poweroff.c 	writel(val, gpw->base + GEMINI_PWC_CTRLREG);
gpw                46 drivers/power/reset/gemini-poweroff.c 	val = readl(gpw->base + GEMINI_PWC_STATREG);
gpw                55 drivers/power/reset/gemini-poweroff.c 		dev_info(gpw->dev, "infrared poweroff - ignored\n");
gpw                58 drivers/power/reset/gemini-poweroff.c 		dev_info(gpw->dev, "RTC poweroff\n");
gpw                62 drivers/power/reset/gemini-poweroff.c 		dev_info(gpw->dev, "poweroff button pressed\n");
gpw                66 drivers/power/reset/gemini-poweroff.c 		dev_info(gpw->dev, "other power management IRQ\n");
gpw                78 drivers/power/reset/gemini-poweroff.c 	struct gemini_powercon *gpw = gpw_poweroff;
gpw                81 drivers/power/reset/gemini-poweroff.c 	dev_crit(gpw->dev, "Gemini power off\n");
gpw                82 drivers/power/reset/gemini-poweroff.c 	val = readl(gpw->base + GEMINI_PWC_CTRLREG);
gpw                84 drivers/power/reset/gemini-poweroff.c 	writel(val, gpw->base + GEMINI_PWC_CTRLREG);
gpw                88 drivers/power/reset/gemini-poweroff.c 	writel(val, gpw->base + GEMINI_PWC_CTRLREG);
gpw                95 drivers/power/reset/gemini-poweroff.c 	struct gemini_powercon *gpw;
gpw               100 drivers/power/reset/gemini-poweroff.c 	gpw = devm_kzalloc(dev, sizeof(*gpw), GFP_KERNEL);
gpw               101 drivers/power/reset/gemini-poweroff.c 	if (!gpw)
gpw               105 drivers/power/reset/gemini-poweroff.c 	gpw->base = devm_ioremap_resource(dev, res);
gpw               106 drivers/power/reset/gemini-poweroff.c 	if (IS_ERR(gpw->base))
gpw               107 drivers/power/reset/gemini-poweroff.c 		return PTR_ERR(gpw->base);
gpw               113 drivers/power/reset/gemini-poweroff.c 	gpw->dev = dev;
gpw               115 drivers/power/reset/gemini-poweroff.c 	val = readl(gpw->base + GEMINI_PWC_IDREG);
gpw               129 drivers/power/reset/gemini-poweroff.c 	val = readl(gpw->base + GEMINI_PWC_CTRLREG);
gpw               131 drivers/power/reset/gemini-poweroff.c 	writel(val, gpw->base + GEMINI_PWC_CTRLREG);
gpw               134 drivers/power/reset/gemini-poweroff.c 	val = readl(gpw->base + GEMINI_PWC_CTRLREG);
gpw               136 drivers/power/reset/gemini-poweroff.c 	writel(val, gpw->base + GEMINI_PWC_CTRLREG);
gpw               139 drivers/power/reset/gemini-poweroff.c 	val = readl(gpw->base + GEMINI_PWC_STATREG);
gpw               141 drivers/power/reset/gemini-poweroff.c 		val = readl(gpw->base + GEMINI_PWC_STATREG);
gpw               144 drivers/power/reset/gemini-poweroff.c 	val = readl(gpw->base + GEMINI_PWC_CTRLREG);
gpw               146 drivers/power/reset/gemini-poweroff.c 	writel(val, gpw->base + GEMINI_PWC_CTRLREG);
gpw               149 drivers/power/reset/gemini-poweroff.c 			       "poweroff", gpw);
gpw               154 drivers/power/reset/gemini-poweroff.c 	gpw_poweroff = gpw;