• Home
  • Raw
  • Download

Lines Matching refs:consumers

3109 		       struct regulator_bulk_data *consumers)  in regulator_bulk_get()  argument
3115 consumers[i].consumer = NULL; in regulator_bulk_get()
3118 consumers[i].consumer = regulator_get(dev, in regulator_bulk_get()
3119 consumers[i].supply); in regulator_bulk_get()
3120 if (IS_ERR(consumers[i].consumer)) { in regulator_bulk_get()
3121 ret = PTR_ERR(consumers[i].consumer); in regulator_bulk_get()
3123 consumers[i].supply, ret); in regulator_bulk_get()
3124 consumers[i].consumer = NULL; in regulator_bulk_get()
3133 regulator_put(consumers[i].consumer); in regulator_bulk_get()
3155 struct regulator_bulk_data *consumers) in devm_regulator_bulk_get() argument
3161 consumers[i].consumer = NULL; in devm_regulator_bulk_get()
3164 consumers[i].consumer = devm_regulator_get(dev, in devm_regulator_bulk_get()
3165 consumers[i].supply); in devm_regulator_bulk_get()
3166 if (IS_ERR(consumers[i].consumer)) { in devm_regulator_bulk_get()
3167 ret = PTR_ERR(consumers[i].consumer); in devm_regulator_bulk_get()
3169 consumers[i].supply, ret); in devm_regulator_bulk_get()
3170 consumers[i].consumer = NULL; in devm_regulator_bulk_get()
3178 for (i = 0; i < num_consumers && consumers[i].consumer; i++) in devm_regulator_bulk_get()
3179 devm_regulator_put(consumers[i].consumer); in devm_regulator_bulk_get()
3205 struct regulator_bulk_data *consumers) in regulator_bulk_enable() argument
3212 if (consumers[i].consumer->always_on) in regulator_bulk_enable()
3213 consumers[i].ret = 0; in regulator_bulk_enable()
3216 &consumers[i], &async_domain); in regulator_bulk_enable()
3223 if (consumers[i].ret != 0) { in regulator_bulk_enable()
3224 ret = consumers[i].ret; in regulator_bulk_enable()
3233 if (consumers[i].ret < 0) in regulator_bulk_enable()
3234 pr_err("Failed to enable %s: %d\n", consumers[i].supply, in regulator_bulk_enable()
3235 consumers[i].ret); in regulator_bulk_enable()
3237 regulator_disable(consumers[i].consumer); in regulator_bulk_enable()
3257 struct regulator_bulk_data *consumers) in regulator_bulk_disable() argument
3263 ret = regulator_disable(consumers[i].consumer); in regulator_bulk_disable()
3271 pr_err("Failed to disable %s: %d\n", consumers[i].supply, ret); in regulator_bulk_disable()
3273 r = regulator_enable(consumers[i].consumer); in regulator_bulk_disable()
3276 consumers[i].supply, r); in regulator_bulk_disable()
3298 struct regulator_bulk_data *consumers) in regulator_bulk_force_disable() argument
3304 consumers[i].ret = in regulator_bulk_force_disable()
3305 regulator_force_disable(consumers[i].consumer); in regulator_bulk_force_disable()
3308 if (consumers[i].ret != 0) { in regulator_bulk_force_disable()
3309 ret = consumers[i].ret; in regulator_bulk_force_disable()
3330 struct regulator_bulk_data *consumers) in regulator_bulk_free() argument
3335 regulator_put(consumers[i].consumer); in regulator_bulk_free()
3336 consumers[i].consumer = NULL; in regulator_bulk_free()