Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpio/
H A Dgpio-sprd.c29 #define SPRD_GPIO_BANK_NR 16 macro
33 #define SPRD_GPIO_BIT(x) ((x) & (SPRD_GPIO_BANK_NR - 1))
53 offset / SPRD_GPIO_BANK_NR); in sprd_gpio_update()
73 offset / SPRD_GPIO_BANK_NR); in sprd_gpio_read()
198 for (bank = 0; bank * SPRD_GPIO_BANK_NR < chip->ngpio; bank++) { in sprd_gpio_irq_handler()
203 for_each_set_bit(n, &reg, SPRD_GPIO_BANK_NR) in sprd_gpio_irq_handler()
205 bank * SPRD_GPIO_BANK_NR + n); in sprd_gpio_irq_handler()