Home
last modified time | relevance | path

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

/arch/blackfin/mach-bf538/
Dext-gpio.c128 } gpio_bank_saved[3]; variable
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()
152 write_PORTIO_INEN(port_bases[i], gpio_bank_saved[i].inen); in bfin_special_gpio_pm_hibernate_restore()
154 gpio_bank_saved[i].data & gpio_bank_saved[i].dir); 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()
/arch/blackfin/kernel/
Dbfin_gpio.c106 static struct gpio_port_s gpio_bank_saved[GPIO_BANK_NUM]; variable
572 gpio_bank_saved[bank].fer = *port_fer[bank]; in bfin_gpio_pm_hibernate_suspend()
574 gpio_bank_saved[bank].mux = *port_mux[bank]; in bfin_gpio_pm_hibernate_suspend()
577 gpio_bank_saved[bank].mux = bfin_read_PORT_MUX(); in bfin_gpio_pm_hibernate_suspend()
580 gpio_bank_saved[bank].data = gpio_array[bank]->data; in bfin_gpio_pm_hibernate_suspend()
581 gpio_bank_saved[bank].inen = gpio_array[bank]->inen; in bfin_gpio_pm_hibernate_suspend()
582 gpio_bank_saved[bank].polar = gpio_array[bank]->polar; in bfin_gpio_pm_hibernate_suspend()
583 gpio_bank_saved[bank].dir = gpio_array[bank]->dir; in bfin_gpio_pm_hibernate_suspend()
584 gpio_bank_saved[bank].edge = gpio_array[bank]->edge; in bfin_gpio_pm_hibernate_suspend()
585 gpio_bank_saved[bank].both = gpio_array[bank]->both; in bfin_gpio_pm_hibernate_suspend()
[all …]