Searched refs:n_latches (Results 1 – 1 of 1) sorted by relevance
115 static bool gpio_latch_can_sleep(struct gpio_latch_priv *priv, unsigned int n_latches) in gpio_latch_can_sleep() argument119 for (i = 0; i < n_latches; i++) in gpio_latch_can_sleep()142 unsigned int n_latches; in gpio_latch_probe() local156 n_latches = priv->clk_gpios->ndescs; in gpio_latch_probe()159 priv->shadow = devm_bitmap_zalloc(dev, n_latches * priv->n_latched_gpios, in gpio_latch_probe()164 if (gpio_latch_can_sleep(priv, n_latches)) { in gpio_latch_probe()191 priv->gc.ngpio = n_latches * priv->n_latched_gpios; in gpio_latch_probe()