Lines Matching refs:supplies
57 struct regulator_bulk_data supplies[ARRAY_SIZE(regulator_names)]; member
262 for (i = 0; i < ARRAY_SIZE(ctx->supplies); i++) { in truly_35597_power_on()
263 ret = regulator_set_load(ctx->supplies[i].consumer, in truly_35597_power_on()
269 ret = regulator_bulk_enable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in truly_35597_power_on()
295 for (i = 0; i < ARRAY_SIZE(ctx->supplies); i++) { in truly_nt35597_power_off()
296 ret = regulator_set_load(ctx->supplies[i].consumer, in truly_nt35597_power_off()
304 ret = regulator_bulk_disable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in truly_nt35597_power_off()
476 for (i = 0; i < ARRAY_SIZE(ctx->supplies); i++) in truly_nt35597_panel_add()
477 ctx->supplies[i].supply = regulator_names[i]; in truly_nt35597_panel_add()
479 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(ctx->supplies), in truly_nt35597_panel_add()
480 ctx->supplies); in truly_nt35597_panel_add()