Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pinctrl/
H A Dpinctrl-stmfx.c89 unsigned long gpio_valid_mask; member
622 pctl->gpio_valid_mask = GENMASK(15, 0); in stmfx_pinctrl_gpio_function_enable()
627 pctl->gpio_valid_mask |= GENMASK(19, 16); in stmfx_pinctrl_gpio_function_enable()
633 pctl->gpio_valid_mask |= GENMASK(23, 20); in stmfx_pinctrl_gpio_function_enable()
732 "%ld GPIOs available\n", hweight_long(pctl->gpio_valid_mask)); in stmfx_pinctrl_probe()
/openbmc/linux/drivers/tty/serial/
H A Dsc16is7xx.c341 unsigned long gpio_valid_mask; member
1364 *valid_mask = s->gpio_valid_mask; in sc16is7xx_gpio_init_valid_mask()
1378 s->gpio_valid_mask = GENMASK(7, 0); in sc16is7xx_setup_gpio_chip()
1381 s->gpio_valid_mask = GENMASK(3, 0); in sc16is7xx_setup_gpio_chip()
1384 s->gpio_valid_mask = GENMASK(7, 4); in sc16is7xx_setup_gpio_chip()
1390 if (s->gpio_valid_mask == 0) in sc16is7xx_setup_gpio_chip()
1643 if (s->gpio_valid_mask) in sc16is7xx_probe()
1666 if (s->gpio_valid_mask) in sc16is7xx_remove()
/openbmc/linux/drivers/iio/addac/
H A Dad74115.c214 unsigned long gpio_valid_mask; member
500 *valid_mask = st->gpio_valid_mask; in ad74115_gpio_init_valid_mask()
1569 if (!st->gpio_valid_mask) in ad74115_setup_gpio_chip()
1739 st->gpio_valid_mask |= BIT(i); in ad74115_setup()