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()
463 for (i = 0; i < ARRAY_SIZE(wm8523->supplies); i++) in wm8523_i2c_probe()
464 wm8523->supplies[i].supply = wm8523_supply_names[i]; in wm8523_i2c_probe()
466 ret = devm_regulator_bulk_get(&i2c->dev, ARRAY_SIZE(wm8523->supplies), in wm8523_i2c_probe()
467 wm8523->supplies); in wm8523_i2c_probe()
469 dev_err(&i2c->dev, "Failed to request supplies: %d\n", ret); in wm8523_i2c_probe()
473 ret = regulator_bulk_enable(ARRAY_SIZE(wm8523->supplies), in wm8523_i2c_probe()
474 wm8523->supplies); in wm8523_i2c_probe()
476 dev_err(&i2c->dev, "Failed to enable supplies: %d\n", ret); in wm8523_i2c_probe()
505 regulator_bulk_disable(ARRAY_SIZE(wm8523->supplies), wm8523->supplies); in wm8523_i2c_probe()
515 regulator_bulk_disable(ARRAY_SIZE(wm8523->supplies), wm8523->supplies); in wm8523_i2c_probe()