Home
last modified time | relevance | path

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

/linux/drivers/regulator/
A Dgpio-regulator.c36 struct gpio_desc **gpiods; member
79 gpiod_set_value_cansleep(data->gpiods[ptr], state); in gpio_regulator_set_voltage()
116 gpiod_set_value_cansleep(data->gpiods[ptr], state); in gpio_regulator_set_current_limit()
260 drvdata->gpiods = devm_kzalloc(dev, sizeof(struct gpio_desc *), in gpio_regulator_probe()
262 if (!drvdata->gpiods) in gpio_regulator_probe()
265 drvdata->gpiods[i] = devm_gpiod_get_index(dev, in gpio_regulator_probe()
269 if (IS_ERR(drvdata->gpiods[i])) in gpio_regulator_probe()
270 return PTR_ERR(drvdata->gpiods[i]); in gpio_regulator_probe()
272 gpiod_set_consumer_name(drvdata->gpiods[i], drvdata->desc.name); in gpio_regulator_probe()

Completed in 5 milliseconds