Lines Matching refs:supply
45 struct regulator *supply;
81 if (pd->supply)
82 regulator_disable(pd->supply);
93 if (pd->supply) {
94 ret = regulator_enable(pd->supply);
166 /* try to get the domain supply regulator */
167 domain->supply = devm_regulator_get_optional(dev, "power");
168 if (IS_ERR(domain->supply)) {
169 if (PTR_ERR(domain->supply) == -ENODEV)
170 domain->supply = NULL;
172 return PTR_ERR(domain->supply);
372 domain->supply = devm_regulator_get(dev, "pu");
373 if (IS_ERR(domain->supply))
374 return PTR_ERR(domain->supply);