Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pinctrl/nomadik/
H A Dpinctrl-nomadik.c208 #define NMK_GPIO_PER_CHIP (1 << GPIO_BLOCK_SHIFT) macro
209 #define NMK_MAX_BANKS DIV_ROUND_UP(512, NMK_GPIO_PER_CHIP)
1057 chip->base = id * NMK_GPIO_PER_CHIP; in nmk_gpio_populate_chip()
1058 chip->ngpio = NMK_GPIO_PER_CHIP; in nmk_gpio_populate_chip()
1579 unsigned int bit = g->grp.pins[i] % NMK_GPIO_PER_CHIP; in nmk_pmx_set()
1580 slpm[g->grp.pins[i] / NMK_GPIO_PER_CHIP] &= ~BIT(bit); in nmk_pmx_set()
1599 bit = g->grp.pins[i] % NMK_GPIO_PER_CHIP; in nmk_pmx_set()
1661 bit = offset % NMK_GPIO_PER_CHIP; in nmk_gpio_request_enable()
1774 bit = pin % NMK_GPIO_PER_CHIP; in nmk_pin_config_set()