Lines Matching full:consumers
730 * of_regulator_bulk_get_all - get multiple regulator consumers
733 * @np: device node to search for consumers
734 * @consumers: Configuration of consumers; clients are stored here.
739 * consumers in one operation. If any of the regulators cannot be
744 struct regulator_bulk_data **consumers) in of_regulator_bulk_get_all() argument
752 *consumers = NULL; in of_regulator_bulk_get_all()
756 * second pass: fill consumers in of_regulator_bulk_get_all()
763 if (!*consumers) { in of_regulator_bulk_get_all()
774 (*consumers)[n].consumer = tmp; in of_regulator_bulk_get_all()
779 if (*consumers) in of_regulator_bulk_get_all()
783 *consumers = kmalloc_array(num_consumers, in of_regulator_bulk_get_all()
786 if (!*consumers) in of_regulator_bulk_get_all()
792 regulator_put(consumers[n]->consumer); in of_regulator_bulk_get_all()