Home
last modified time | relevance | path

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

/arch/blackfin/mach-bf538/
Dext-gpio.c130 static void __iomem * const port_bases[3] = { variable
140 for (i = 0; i < ARRAY_SIZE(port_bases); ++i) { in bfin_special_gpio_pm_hibernate_suspend()
141 gpio_bank_saved[i].data = read_PORTIO(port_bases[i]); in bfin_special_gpio_pm_hibernate_suspend()
142 gpio_bank_saved[i].inen = read_PORTIO_INEN(port_bases[i]); in bfin_special_gpio_pm_hibernate_suspend()
143 gpio_bank_saved[i].dir = read_PORTIO_DIR(port_bases[i]); in bfin_special_gpio_pm_hibernate_suspend()
151 for (i = 0; i < ARRAY_SIZE(port_bases); ++i) { in bfin_special_gpio_pm_hibernate_restore()
152 write_PORTIO_INEN(port_bases[i], gpio_bank_saved[i].inen); in bfin_special_gpio_pm_hibernate_restore()
153 write_PORTIO_SET(port_bases[i], in bfin_special_gpio_pm_hibernate_restore()
155 write_PORTIO_DIR(port_bases[i], gpio_bank_saved[i].dir); in bfin_special_gpio_pm_hibernate_restore()