Searched refs:UNIPHIER_GPIO_LINES_PER_BANK (Results 1 - 3 of 3) sorted by path

/linux-master/include/dt-bindings/gpio/
H A Duniphier-gpio.h9 #define UNIPHIER_GPIO_LINES_PER_BANK 8 macro
11 #define UNIPHIER_GPIO_IRQ_OFFSET ((UNIPHIER_GPIO_LINES_PER_BANK) * 15)
14 ((UNIPHIER_GPIO_LINES_PER_BANK) * (bank) + (line))
/linux-master/scripts/dtc/include-prefixes/dt-bindings/gpio/
H A Duniphier-gpio.h9 #define UNIPHIER_GPIO_LINES_PER_BANK 8 macro
11 #define UNIPHIER_GPIO_IRQ_OFFSET ((UNIPHIER_GPIO_LINES_PER_BANK) * 15)
14 ((UNIPHIER_GPIO_LINES_PER_BANK) * (bank) + (line))
/linux-master/drivers/gpio/
H A Dgpio-uniphier.c54 *bank = offset / UNIPHIER_GPIO_LINES_PER_BANK;
55 *mask = BIT(offset % UNIPHIER_GPIO_LINES_PER_BANK);
152 bank = i / UNIPHIER_GPIO_LINES_PER_BANK;
335 return DIV_ROUND_UP(ngpio, UNIPHIER_GPIO_LINES_PER_BANK);

Completed in 198 milliseconds