Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/platforms/52xx/
H A Dmpc52xx_pm.c23 static struct mpc52xx_gpio_wkup __iomem *gpiow; variable
44 out_8(&gpiow->wkup_gpioe, in_8(&gpiow->wkup_gpioe) | (1 << pin)); in mpc52xx_set_wakeup_gpio()
46 out_8(&gpiow->wkup_ddr, in_8(&gpiow->wkup_ddr) & ~(1 << pin)); in mpc52xx_set_wakeup_gpio()
48 out_8(&gpiow->wkup_inten, in_8(&gpiow->wkup_inten) | (1 << pin)); in mpc52xx_set_wakeup_gpio()
50 tmp = in_be16(&gpiow->wkup_itype); in mpc52xx_set_wakeup_gpio()
53 out_be16(&gpiow->wkup_itype, tmp); in mpc52xx_set_wakeup_gpio()
55 out_8(&gpiow->wkup_maste, 1); in mpc52xx_set_wakeup_gpio()
92 gpiow = mbar + 0xc00; in mpc52xx_pm_prepare()