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()
618 for (i = 0; i < ARRAY_SIZE(wm8737->supplies); i++) in wm8737_i2c_probe()
619 wm8737->supplies[i].supply = wm8737_supply_names[i]; in wm8737_i2c_probe()
621 ret = devm_regulator_bulk_get(&i2c->dev, ARRAY_SIZE(wm8737->supplies), in wm8737_i2c_probe()
622 wm8737->supplies); in wm8737_i2c_probe()
624 dev_err(&i2c->dev, "Failed to request supplies: %d\n", ret); in wm8737_i2c_probe()
668 for (i = 0; i < ARRAY_SIZE(wm8737->supplies); i++) in wm8737_spi_probe()
669 wm8737->supplies[i].supply = wm8737_supply_names[i]; in wm8737_spi_probe()
671 ret = devm_regulator_bulk_get(&spi->dev, ARRAY_SIZE(wm8737->supplies), in wm8737_spi_probe()
672 wm8737->supplies); in wm8737_spi_probe()
674 dev_err(&spi->dev, "Failed to request supplies: %d\n", ret); in wm8737_spi_probe()