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

/linux-4.1.27/arch/blackfin/mach-bf538/
H A Dext-gpio.c128 } gpio_bank_saved[3]; variable in typeref:struct:__anon338
141 gpio_bank_saved[i].data = read_PORTIO(port_bases[i]); bfin_special_gpio_pm_hibernate_suspend()
142 gpio_bank_saved[i].inen = read_PORTIO_INEN(port_bases[i]); bfin_special_gpio_pm_hibernate_suspend()
143 gpio_bank_saved[i].dir = read_PORTIO_DIR(port_bases[i]); bfin_special_gpio_pm_hibernate_suspend()
152 write_PORTIO_INEN(port_bases[i], gpio_bank_saved[i].inen); bfin_special_gpio_pm_hibernate_restore()
154 gpio_bank_saved[i].data & gpio_bank_saved[i].dir); bfin_special_gpio_pm_hibernate_restore()
155 write_PORTIO_DIR(port_bases[i], gpio_bank_saved[i].dir); bfin_special_gpio_pm_hibernate_restore()
/linux-4.1.27/arch/blackfin/kernel/
H A Dbfin_gpio.c106 static struct gpio_port_s gpio_bank_saved[GPIO_BANK_NUM]; variable in typeref:struct:gpio_port_s
572 gpio_bank_saved[bank].fer = *port_fer[bank]; bfin_gpio_pm_hibernate_suspend()
574 gpio_bank_saved[bank].mux = *port_mux[bank]; bfin_gpio_pm_hibernate_suspend()
577 gpio_bank_saved[bank].mux = bfin_read_PORT_MUX(); bfin_gpio_pm_hibernate_suspend()
580 gpio_bank_saved[bank].data = gpio_array[bank]->data; bfin_gpio_pm_hibernate_suspend()
581 gpio_bank_saved[bank].inen = gpio_array[bank]->inen; bfin_gpio_pm_hibernate_suspend()
582 gpio_bank_saved[bank].polar = gpio_array[bank]->polar; bfin_gpio_pm_hibernate_suspend()
583 gpio_bank_saved[bank].dir = gpio_array[bank]->dir; bfin_gpio_pm_hibernate_suspend()
584 gpio_bank_saved[bank].edge = gpio_array[bank]->edge; bfin_gpio_pm_hibernate_suspend()
585 gpio_bank_saved[bank].both = gpio_array[bank]->both; bfin_gpio_pm_hibernate_suspend()
586 gpio_bank_saved[bank].maska = gpio_array[bank]->maska; bfin_gpio_pm_hibernate_suspend()
610 *port_mux[bank] = gpio_bank_saved[bank].mux; bfin_gpio_pm_hibernate_restore()
613 bfin_write_PORT_MUX(gpio_bank_saved[bank].mux); bfin_gpio_pm_hibernate_restore()
615 *port_fer[bank] = gpio_bank_saved[bank].fer; bfin_gpio_pm_hibernate_restore()
617 gpio_array[bank]->inen = gpio_bank_saved[bank].inen; bfin_gpio_pm_hibernate_restore()
618 gpio_array[bank]->data_set = gpio_bank_saved[bank].data bfin_gpio_pm_hibernate_restore()
619 & gpio_bank_saved[bank].dir; bfin_gpio_pm_hibernate_restore()
620 gpio_array[bank]->dir = gpio_bank_saved[bank].dir; bfin_gpio_pm_hibernate_restore()
621 gpio_array[bank]->polar = gpio_bank_saved[bank].polar; bfin_gpio_pm_hibernate_restore()
622 gpio_array[bank]->edge = gpio_bank_saved[bank].edge; bfin_gpio_pm_hibernate_restore()
623 gpio_array[bank]->both = gpio_bank_saved[bank].both; bfin_gpio_pm_hibernate_restore()
624 gpio_array[bank]->maska = gpio_bank_saved[bank].maska; bfin_gpio_pm_hibernate_restore()

Completed in 93 milliseconds