Searched refs:UNIPHIER_GPIO_LINES_PER_BANK (Results 1 – 2 of 2) sorted by relevance
9 #define UNIPHIER_GPIO_LINES_PER_BANK 8 macro11 #define UNIPHIER_GPIO_IRQ_OFFSET ((UNIPHIER_GPIO_LINES_PER_BANK) * 15)14 ((UNIPHIER_GPIO_LINES_PER_BANK) * (bank) + (line))
54 *bank = offset / UNIPHIER_GPIO_LINES_PER_BANK; in uniphier_gpio_get_bank_and_mask()55 *mask = BIT(offset % UNIPHIER_GPIO_LINES_PER_BANK); in uniphier_gpio_get_bank_and_mask()152 bank = i / UNIPHIER_GPIO_LINES_PER_BANK; in uniphier_gpio_set_multiple()335 return DIV_ROUND_UP(ngpio, UNIPHIER_GPIO_LINES_PER_BANK); in uniphier_gpio_get_nbanks()