Lines Matching defs:regulator
29 #include <linux/regulator/consumer.h>
90 struct regulator **regulators;
337 * up simplefb, and the regulator definitions in the device tree. Chances are
347 struct regulator *regulator;
354 /* Count the number of regulator supplies */
365 sizeof(struct regulator *), GFP_KERNEL);
379 regulator = devm_regulator_get_optional(&pdev->dev, name);
380 if (IS_ERR(regulator)) {
381 if (PTR_ERR(regulator) == -EPROBE_DEFER)
383 dev_err(&pdev->dev, "regulator %s not found: %ld\n",
384 name, PTR_ERR(regulator));
387 par->regulators[i++] = regulator;
404 "failed to enable regulator %d: %d\n",