Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/regulator/
Drt4801-regulator.c32 struct gpio_desc *enable_gpios[DSV_OUT_MAX]; member
44 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 …]
/Linux-v6.1/drivers/nfc/nxp-nci/
Di2c.c258 static const struct acpi_gpio_params enable_gpios = { 2, 0, false }; variable
261 { "enable-gpios", &enable_gpios, 1 },
/Linux-v6.1/drivers/nfc/st21nfca/
Di2c.c483 static const struct acpi_gpio_params enable_gpios = { 1, 0, false }; variable
486 { "enable-gpios", &enable_gpios, 1 },
/Linux-v6.1/drivers/nfc/pn544/
Di2c.c860 static const struct acpi_gpio_params enable_gpios = { 1, 0, false }; variable
864 { "enable-gpios", &enable_gpios, 1 },