Lines Matching refs:consumers

4733 		       struct regulator_bulk_data *consumers)  in regulator_bulk_get()  argument
4739 consumers[i].consumer = NULL; in regulator_bulk_get()
4742 consumers[i].consumer = regulator_get(dev, in regulator_bulk_get()
4743 consumers[i].supply); in regulator_bulk_get()
4744 if (IS_ERR(consumers[i].consumer)) { in regulator_bulk_get()
4745 ret = PTR_ERR(consumers[i].consumer); in regulator_bulk_get()
4746 consumers[i].consumer = NULL; in regulator_bulk_get()
4756 consumers[i].supply, ERR_PTR(ret)); in regulator_bulk_get()
4759 consumers[i].supply); in regulator_bulk_get()
4762 regulator_put(consumers[i].consumer); in regulator_bulk_get()
4788 struct regulator_bulk_data *consumers) in regulator_bulk_enable() argument
4796 &consumers[i], &async_domain); in regulator_bulk_enable()
4803 if (consumers[i].ret != 0) { in regulator_bulk_enable()
4804 ret = consumers[i].ret; in regulator_bulk_enable()
4813 if (consumers[i].ret < 0) in regulator_bulk_enable()
4814 pr_err("Failed to enable %s: %pe\n", consumers[i].supply, in regulator_bulk_enable()
4815 ERR_PTR(consumers[i].ret)); in regulator_bulk_enable()
4817 regulator_disable(consumers[i].consumer); in regulator_bulk_enable()
4837 struct regulator_bulk_data *consumers) in regulator_bulk_disable() argument
4843 ret = regulator_disable(consumers[i].consumer); in regulator_bulk_disable()
4851 pr_err("Failed to disable %s: %pe\n", consumers[i].supply, ERR_PTR(ret)); in regulator_bulk_disable()
4853 r = regulator_enable(consumers[i].consumer); in regulator_bulk_disable()
4856 consumers[i].supply, ERR_PTR(r)); in regulator_bulk_disable()
4878 struct regulator_bulk_data *consumers) in regulator_bulk_force_disable() argument
4884 consumers[i].ret = in regulator_bulk_force_disable()
4885 regulator_force_disable(consumers[i].consumer); in regulator_bulk_force_disable()
4888 if (consumers[i].ret && !ret) in regulator_bulk_force_disable()
4889 ret = consumers[i].ret; in regulator_bulk_force_disable()
4906 struct regulator_bulk_data *consumers) in regulator_bulk_free() argument
4911 regulator_put(consumers[i].consumer); in regulator_bulk_free()
4912 consumers[i].consumer = NULL; in regulator_bulk_free()