Searched refs:n_latches (Results 1 - 1 of 1) sorted by relevance

/linux-master/drivers/gpio/
H A Dgpio-latch.c116 static bool gpio_latch_can_sleep(struct gpio_latch_priv *priv, unsigned int n_latches) argument
120 for (i = 0; i < n_latches; i++)
142 unsigned int n_latches; local
157 n_latches = priv->clk_gpios->ndescs;
160 priv->shadow = devm_bitmap_zalloc(&pdev->dev, n_latches * priv->n_latched_gpios,
165 if (gpio_latch_can_sleep(priv, n_latches)) {
190 priv->gc.ngpio = n_latches * priv->n_latched_gpios;

Completed in 217 milliseconds