Home
last modified time | relevance | path

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

/linux-6.12.1/arch/arm/mach-pxa/
Dmfp-pxa2xx.c57 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()
/linux-6.12.1/include/linux/
Dgpio-pxa.h7 #define gpio_to_bank(gpio) ((gpio) >> 5) macro