Searched refs:NMK_GPIO_PER_CHIP (Results 1 – 1 of 1) sorted by relevance
205 #define NMK_GPIO_PER_CHIP (1 << GPIO_BLOCK_SHIFT) macro285 nmk_gpio_chips[DIV_ROUND_UP(ARCH_NR_GPIOS, NMK_GPIO_PER_CHIP)];621 nmk_chip = nmk_gpio_chips[gpio / NMK_GPIO_PER_CHIP]; in nmk_gpio_get_mode()625 bit = 1 << (gpio % NMK_GPIO_PER_CHIP); in nmk_gpio_get_mode()642 return 1 << (gpio % NMK_GPIO_PER_CHIP); in nmk_gpio_get_bitmask()708 __nmk_gpio_set_slpm(nmk_chip, gpio % NMK_GPIO_PER_CHIP, in __nmk_gpio_set_wake()1246 chip->base = dev->id * NMK_GPIO_PER_CHIP; in nmk_gpio_probe()1247 chip->ngpio = NMK_GPIO_PER_CHIP; in nmk_gpio_probe()1692 slpm[g->pins[i] / NMK_GPIO_PER_CHIP] &= ~BIT(g->pins[i]); in nmk_pmx_set()1719 bit = g->pins[i] % NMK_GPIO_PER_CHIP; in nmk_pmx_set()[all …]