Lines Matching full:supplies
40 struct regulator_bulk_data supplies[WM8741_NUM_SUPPLIES]; member
479 ret = regulator_bulk_enable(ARRAY_SIZE(wm8741->supplies), in wm8741_probe()
480 wm8741->supplies); in wm8741_probe()
482 dev_err(component->dev, "Failed to enable supplies: %d\n", ret); in wm8741_probe()
508 regulator_bulk_disable(ARRAY_SIZE(wm8741->supplies), wm8741->supplies); in wm8741_probe()
517 regulator_bulk_disable(ARRAY_SIZE(wm8741->supplies), wm8741->supplies); in wm8741_remove()
579 for (i = 0; i < ARRAY_SIZE(wm8741->supplies); i++) in wm8741_i2c_probe()
580 wm8741->supplies[i].supply = wm8741_supply_names[i]; in wm8741_i2c_probe()
582 ret = devm_regulator_bulk_get(&i2c->dev, ARRAY_SIZE(wm8741->supplies), in wm8741_i2c_probe()
583 wm8741->supplies); in wm8741_i2c_probe()
585 dev_err(&i2c->dev, "Failed to request supplies: %d\n", ret); in wm8741_i2c_probe()
637 for (i = 0; i < ARRAY_SIZE(wm8741->supplies); i++) in wm8741_spi_probe()
638 wm8741->supplies[i].supply = wm8741_supply_names[i]; in wm8741_spi_probe()
640 ret = devm_regulator_bulk_get(&spi->dev, ARRAY_SIZE(wm8741->supplies), in wm8741_spi_probe()
641 wm8741->supplies); in wm8741_spi_probe()
643 dev_err(&spi->dev, "Failed to request supplies: %d\n", ret); in wm8741_spi_probe()