Searched refs:gpio_to_bank (Results 1 – 2 of 2) sorted by relevance
57 int bank = gpio_to_bank(gpio); in __mfp_config_gpio()358 PGSR(gpio_to_bank(i)) |= GPIO_bit(i); in pxa2xx_mfp_suspend()360 PGSR(gpio_to_bank(i)) &= ~GPIO_bit(i); in pxa2xx_mfp_suspend()364 for (i = 0; i <= gpio_to_bank(pxa_last_gpio); i++) { in pxa2xx_mfp_suspend()377 if ((gpdr_lpm[gpio_to_bank(i)] & GPIO_bit(i)) || in pxa2xx_mfp_suspend()379 (saved_gpdr[gpio_to_bank(i)] & GPIO_bit(i)))) in pxa2xx_mfp_suspend()392 for (i = 0; i <= gpio_to_bank(pxa_last_gpio); i++) { in pxa2xx_mfp_resume()429 for (i = 0; i <= gpio_to_bank(pxa_last_gpio); i++) in pxa2xx_mfp_init()
7 #define gpio_to_bank(gpio) ((gpio) >> 5) macro