Lines Matching full:consumers

237 	struct regulator_bulk_data *consumers;  member
245 regulator_bulk_free(devres->num_consumers, devres->consumers); in devm_regulator_bulk_release()
249 struct regulator_bulk_data *consumers, in _devm_regulator_bulk_get() argument
260 ret = _regulator_bulk_get(dev, num_consumers, consumers, get_type); in _devm_regulator_bulk_get()
262 devres->consumers = consumers; in _devm_regulator_bulk_get()
273 * devm_regulator_bulk_get - managed get multiple regulator consumers
276 * @num_consumers: number of consumers to register
277 * @consumers: configuration of consumers; clients are stored here.
282 * consumers in one operation with management, the regulators will
288 struct regulator_bulk_data *consumers) in devm_regulator_bulk_get() argument
290 return _devm_regulator_bulk_get(dev, num_consumers, consumers, NORMAL_GET); in devm_regulator_bulk_get()
296 * regulator consumers
299 * @num_consumers: number of consumers to register
300 * @consumers: configuration of consumers; clients are stored here.
305 * regulator consumers in one operation with management, the regulators
311 struct regulator_bulk_data *consumers) in devm_regulator_bulk_get_exclusive() argument
313 return _devm_regulator_bulk_get(dev, num_consumers, consumers, EXCLUSIVE_GET); in devm_regulator_bulk_get_exclusive()
321 * @num_consumers: number of consumers to register
322 * @in_consumers: const configuration of consumers
357 return match->consumers == target; in devm_regulator_bulk_match()
362 * @consumers: consumers to free
368 void devm_regulator_bulk_put(struct regulator_bulk_data *consumers) in devm_regulator_bulk_put() argument
371 struct regulator *regulator = consumers[0].consumer; in devm_regulator_bulk_put()
374 devm_regulator_bulk_match, consumers); in devm_regulator_bulk_put()
386 regulator_disable(devres->consumers[i].consumer); in devm_regulator_bulk_disable()
393 * @num_consumers: number of consumers to register
399 * consumers in one operation with management, the regulators will
408 struct regulator_bulk_data *consumers; in devm_regulator_bulk_get_enable() local
415 devres->consumers = devm_kcalloc(dev, num_consumers, sizeof(*consumers), in devm_regulator_bulk_get_enable()
417 consumers = devres->consumers; in devm_regulator_bulk_get_enable()
418 if (!consumers) in devm_regulator_bulk_get_enable()
424 consumers[i].supply = id[i]; in devm_regulator_bulk_get_enable()
426 ret = devm_regulator_bulk_get(dev, num_consumers, consumers); in devm_regulator_bulk_get_enable()
431 ret = regulator_enable(consumers[i].consumer); in devm_regulator_bulk_get_enable()
442 regulator_disable(consumers[i].consumer); in devm_regulator_bulk_get_enable()
444 devm_regulator_bulk_put(consumers); in devm_regulator_bulk_get_enable()