Lines Matching refs:consumers

178 	struct regulator_bulk_data *consumers;  member
186 regulator_bulk_free(devres->num_consumers, devres->consumers); in devm_regulator_bulk_release()
205 struct regulator_bulk_data *consumers) in devm_regulator_bulk_get() argument
215 ret = regulator_bulk_get(dev, num_consumers, consumers); in devm_regulator_bulk_get()
217 devres->consumers = consumers; in devm_regulator_bulk_get()
268 return match->consumers == target; in devm_regulator_bulk_match()
279 void devm_regulator_bulk_put(struct regulator_bulk_data *consumers) in devm_regulator_bulk_put() argument
282 struct regulator *regulator = consumers[0].consumer; in devm_regulator_bulk_put()
285 devm_regulator_bulk_match, consumers); in devm_regulator_bulk_put()
297 regulator_disable(devres->consumers[i].consumer); in devm_regulator_bulk_disable()
319 struct regulator_bulk_data *consumers; in devm_regulator_bulk_get_enable() local
326 devres->consumers = devm_kcalloc(dev, num_consumers, sizeof(*consumers), in devm_regulator_bulk_get_enable()
328 consumers = devres->consumers; in devm_regulator_bulk_get_enable()
329 if (!consumers) in devm_regulator_bulk_get_enable()
335 consumers[i].supply = id[i]; in devm_regulator_bulk_get_enable()
337 ret = devm_regulator_bulk_get(dev, num_consumers, consumers); in devm_regulator_bulk_get_enable()
342 ret = regulator_enable(consumers[i].consumer); in devm_regulator_bulk_get_enable()
353 regulator_disable(consumers[i].consumer); in devm_regulator_bulk_get_enable()
355 devm_regulator_bulk_put(consumers); in devm_regulator_bulk_get_enable()