Searched refs:enable_gpios (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/regulator/ |
H A D | rt4801-regulator.c | 32 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() 202 if (IS_ERR(priv->enable_gpios[i])) { in rt4801_probe() [all …]
|
/openbmc/linux/drivers/nfc/nxp-nci/ |
H A D | i2c.c | 258 static const struct acpi_gpio_params enable_gpios = { 2, 0, false }; variable 261 { "enable-gpios", &enable_gpios, 1 },
|
/openbmc/linux/drivers/nfc/st21nfca/ |
H A D | i2c.c | 483 static const struct acpi_gpio_params enable_gpios = { 1, 0, false }; variable 486 { "enable-gpios", &enable_gpios, 1 },
|
/openbmc/linux/drivers/nfc/pn544/ |
H A D | i2c.c | 860 static const struct acpi_gpio_params enable_gpios = { 1, 0, false }; variable 864 { "enable-gpios", &enable_gpios, 1 },
|