Lines Matching full:supplies
34 struct regulator_bulk_data supplies[AK5558_NUM_SUPPLIES]; member
310 regulator_bulk_disable(ARRAY_SIZE(ak5558->supplies), in ak5558_runtime_suspend()
311 ak5558->supplies); in ak5558_runtime_suspend()
320 ret = regulator_bulk_enable(ARRAY_SIZE(ak5558->supplies), in ak5558_runtime_resume()
321 ak5558->supplies); in ak5558_runtime_resume()
323 dev_err(dev, "Failed to enable supplies: %d\n", ret); in ak5558_runtime_resume()
389 for (i = 0; i < ARRAY_SIZE(ak5558->supplies); i++) in ak5558_i2c_probe()
390 ak5558->supplies[i].supply = ak5558_supply_names[i]; in ak5558_i2c_probe()
392 ret = devm_regulator_bulk_get(&i2c->dev, ARRAY_SIZE(ak5558->supplies), in ak5558_i2c_probe()
393 ak5558->supplies); in ak5558_i2c_probe()
395 dev_err(&i2c->dev, "Failed to request supplies: %d\n", ret); in ak5558_i2c_probe()