Searched refs:NMK_GPIO_PER_CHIP (Results 1 – 1 of 1) sorted by relevance
205 #define NMK_GPIO_PER_CHIP (1 << GPIO_BLOCK_SHIFT) macro206 #define NMK_MAX_BANKS DIV_ROUND_UP(ARCH_NR_GPIOS, NMK_GPIO_PER_CHIP)1073 chip->base = id * NMK_GPIO_PER_CHIP; in nmk_gpio_populate_chip()1074 chip->ngpio = NMK_GPIO_PER_CHIP; in nmk_gpio_populate_chip()1601 slpm[g->pins[i] / NMK_GPIO_PER_CHIP] &= ~BIT(g->pins[i]); in nmk_pmx_set()1619 bit = g->pins[i] % NMK_GPIO_PER_CHIP; in nmk_pmx_set()1681 bit = offset % NMK_GPIO_PER_CHIP; in nmk_gpio_request_enable()1794 bit = pin % NMK_GPIO_PER_CHIP; in nmk_pin_config_set()