Lines Matching full:supplies
40 struct regulator_bulk_data supplies[WM8523_NUM_SUPPLIES]; member
334 ret = regulator_bulk_enable(ARRAY_SIZE(wm8523->supplies), in wm8523_set_bias_level()
335 wm8523->supplies); in wm8523_set_bias_level()
338 "Failed to enable supplies: %d\n", in wm8523_set_bias_level()
365 regulator_bulk_disable(ARRAY_SIZE(wm8523->supplies), in wm8523_set_bias_level()
366 wm8523->supplies); in wm8523_set_bias_level()
465 for (i = 0; i < ARRAY_SIZE(wm8523->supplies); i++) in wm8523_i2c_probe()
466 wm8523->supplies[i].supply = wm8523_supply_names[i]; in wm8523_i2c_probe()
468 ret = devm_regulator_bulk_get(&i2c->dev, ARRAY_SIZE(wm8523->supplies), in wm8523_i2c_probe()
469 wm8523->supplies); in wm8523_i2c_probe()
471 dev_err(&i2c->dev, "Failed to request supplies: %d\n", ret); in wm8523_i2c_probe()
475 ret = regulator_bulk_enable(ARRAY_SIZE(wm8523->supplies), in wm8523_i2c_probe()
476 wm8523->supplies); in wm8523_i2c_probe()
478 dev_err(&i2c->dev, "Failed to enable supplies: %d\n", ret); in wm8523_i2c_probe()
507 regulator_bulk_disable(ARRAY_SIZE(wm8523->supplies), wm8523->supplies); in wm8523_i2c_probe()
517 regulator_bulk_disable(ARRAY_SIZE(wm8523->supplies), wm8523->supplies); in wm8523_i2c_probe()