Searched refs:gpio_to_bank (Results 1 – 2 of 2) sorted by relevance
56 int bank = gpio_to_bank(gpio); in __mfp_config_gpio()361 PGSR(gpio_to_bank(i)) |= GPIO_bit(i); in pxa2xx_mfp_suspend()363 PGSR(gpio_to_bank(i)) &= ~GPIO_bit(i); in pxa2xx_mfp_suspend()367 for (i = 0; i <= gpio_to_bank(pxa_last_gpio); i++) { in pxa2xx_mfp_suspend()380 if ((gpdr_lpm[gpio_to_bank(i)] & GPIO_bit(i)) || in pxa2xx_mfp_suspend()382 (saved_gpdr[gpio_to_bank(i)] & GPIO_bit(i)))) in pxa2xx_mfp_suspend()395 for (i = 0; i <= gpio_to_bank(pxa_last_gpio); i++) { in pxa2xx_mfp_resume()432 for (i = 0; i <= gpio_to_bank(pxa_last_gpio); i++) in pxa2xx_mfp_init()
7 #define gpio_to_bank(gpio) ((gpio) >> 5) macro