Searched refs:enable_gpios (Results 1 – 2 of 2) sorted by relevance
32 struct gpio_desc *enable_gpios[DSV_OUT_MAX]; member44 if (priv->enable_gpios[id]) { in rt4801_of_parse_cb()48 priv->enable_gpios[id] = devm_fwnode_gpiod_get_index(priv->dev, in rt4801_of_parse_cb()53 if (IS_ERR(priv->enable_gpios[id])) in rt4801_of_parse_cb()54 priv->enable_gpios[id] = NULL; in rt4801_of_parse_cb()90 if (!priv->enable_gpios[id]) { in rt4801_enable()95 gpiod_set_value(priv->enable_gpios[id], 1); in rt4801_enable()111 if (!priv->enable_gpios[id]) { in rt4801_disable()116 gpiod_set_value(priv->enable_gpios[id], 0); in rt4801_disable()198 priv->enable_gpios[i] = devm_gpiod_get_index_optional(&i2c->dev, in rt4801_probe()[all …]
258 static const struct acpi_gpio_params enable_gpios = { 2, 0, false }; variable261 { "enable-gpios", &enable_gpios, 1 },