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