Lines Matching full:consumers
739 * of_regulator_bulk_get_all - get multiple regulator consumers
742 * @np: device node to search for consumers
743 * @consumers: Configuration of consumers; clients are stored here.
748 * consumers in one operation. If any of the regulators cannot be
753 struct regulator_bulk_data **consumers) in of_regulator_bulk_get_all() argument
761 *consumers = NULL; in of_regulator_bulk_get_all()
765 * second pass: fill consumers in of_regulator_bulk_get_all()
772 if (!*consumers) { in of_regulator_bulk_get_all()
783 (*consumers)[n].consumer = tmp; in of_regulator_bulk_get_all()
788 if (*consumers) in of_regulator_bulk_get_all()
792 *consumers = kmalloc_array(num_consumers, in of_regulator_bulk_get_all()
795 if (!*consumers) in of_regulator_bulk_get_all()
801 regulator_put(consumers[n]->consumer); in of_regulator_bulk_get_all()