Lines Matching full:supplies
42 struct regulator_bulk_data supplies[WM8737_NUM_SUPPLIES]; member
469 ret = regulator_bulk_enable(ARRAY_SIZE(wm8737->supplies), in wm8737_set_bias_level()
470 wm8737->supplies); in wm8737_set_bias_level()
473 "Failed to enable supplies: %d\n", in wm8737_set_bias_level()
506 regulator_bulk_disable(ARRAY_SIZE(wm8737->supplies), in wm8737_set_bias_level()
507 wm8737->supplies); in wm8737_set_bias_level()
542 ret = regulator_bulk_enable(ARRAY_SIZE(wm8737->supplies), in wm8737_probe()
543 wm8737->supplies); in wm8737_probe()
545 dev_err(component->dev, "Failed to enable supplies: %d\n", ret); in wm8737_probe()
563 regulator_bulk_disable(ARRAY_SIZE(wm8737->supplies), wm8737->supplies); in wm8737_probe()
568 regulator_bulk_disable(ARRAY_SIZE(wm8737->supplies), wm8737->supplies); in wm8737_probe()
620 for (i = 0; i < ARRAY_SIZE(wm8737->supplies); i++) in wm8737_i2c_probe()
621 wm8737->supplies[i].supply = wm8737_supply_names[i]; in wm8737_i2c_probe()
623 ret = devm_regulator_bulk_get(&i2c->dev, ARRAY_SIZE(wm8737->supplies), in wm8737_i2c_probe()
624 wm8737->supplies); in wm8737_i2c_probe()
626 dev_err(&i2c->dev, "Failed to request supplies: %d\n", ret); in wm8737_i2c_probe()
670 for (i = 0; i < ARRAY_SIZE(wm8737->supplies); i++) in wm8737_spi_probe()
671 wm8737->supplies[i].supply = wm8737_supply_names[i]; in wm8737_spi_probe()
673 ret = devm_regulator_bulk_get(&spi->dev, ARRAY_SIZE(wm8737->supplies), in wm8737_spi_probe()
674 wm8737->supplies); in wm8737_spi_probe()
676 dev_err(&spi->dev, "Failed to request supplies: %d\n", ret); in wm8737_spi_probe()