Home
last modified time | relevance | path

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

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