Home
last modified time | relevance | path

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

/linux/drivers/gpio/
H A Dgpio-latch.c54 int n_latched_gpios; member
77 int latch = offset / priv->n_latched_gpios, i, ret; in gpio_latch_set_unlocked()
81 for (i = 0; i < priv->n_latched_gpios; i++) { in gpio_latch_set_unlocked()
83 test_bit(latch * priv->n_latched_gpios + i, in gpio_latch_set_unlocked()
123 for (i = 0; i < priv->n_latched_gpios; i++) in gpio_latch_can_sleep()
157 priv->n_latched_gpios = priv->latched_gpios->ndescs; in gpio_latch_probe()
159 priv->shadow = devm_bitmap_zalloc(dev, n_latches * priv->n_latched_gpios, in gpio_latch_probe()
191 priv->gc.ngpio = n_latches * priv->n_latched_gpios; in gpio_latch_probe()