Lines Matching full:supplies
82 struct regulator_bulk_data supplies[WM8770_NUM_SUPPLIES]; member
511 ret = regulator_bulk_enable(ARRAY_SIZE(wm8770->supplies), in wm8770_set_bias_level()
512 wm8770->supplies); in wm8770_set_bias_level()
515 "Failed to enable supplies: %d\n", in wm8770_set_bias_level()
529 regulator_bulk_disable(ARRAY_SIZE(wm8770->supplies), in wm8770_set_bias_level()
530 wm8770->supplies); in wm8770_set_bias_level()
576 ret = regulator_bulk_enable(ARRAY_SIZE(wm8770->supplies), in wm8770_probe()
577 wm8770->supplies); in wm8770_probe()
579 dev_err(component->dev, "Failed to enable supplies: %d\n", ret); in wm8770_probe()
605 regulator_bulk_disable(ARRAY_SIZE(wm8770->supplies), wm8770->supplies); in wm8770_probe()
651 for (i = 0; i < ARRAY_SIZE(wm8770->supplies); i++) in wm8770_spi_probe()
652 wm8770->supplies[i].supply = wm8770_supply_names[i]; in wm8770_spi_probe()
654 ret = devm_regulator_bulk_get(&spi->dev, ARRAY_SIZE(wm8770->supplies), in wm8770_spi_probe()
655 wm8770->supplies); in wm8770_spi_probe()
657 dev_err(&spi->dev, "Failed to request supplies: %d\n", ret); in wm8770_spi_probe()
666 for (i = 0; i < ARRAY_SIZE(wm8770->supplies); i++) { in wm8770_spi_probe()
668 wm8770->supplies[i].consumer, in wm8770_spi_probe()