Lines Matching full:supplies
48 struct regulator_bulk_data supplies[TAS5720_NUM_SUPPLIES]; member
285 ret = regulator_bulk_enable(ARRAY_SIZE(tas5720->supplies), in tas5720_codec_probe()
286 tas5720->supplies); in tas5720_codec_probe()
288 dev_err(component->dev, "failed to enable supplies: %d\n", ret); in tas5720_codec_probe()
345 regulator_bulk_disable(ARRAY_SIZE(tas5720->supplies), in tas5720_codec_probe()
346 tas5720->supplies); in tas5720_codec_probe()
357 ret = regulator_bulk_disable(ARRAY_SIZE(tas5720->supplies), in tas5720_codec_remove()
358 tas5720->supplies); in tas5720_codec_remove()
360 dev_err(component->dev, "failed to disable supplies: %d\n", ret); in tas5720_codec_remove()
419 ret = regulator_bulk_disable(ARRAY_SIZE(tas5720->supplies), in tas5720_suspend()
420 tas5720->supplies); in tas5720_suspend()
422 dev_err(component->dev, "failed to disable supplies: %d\n", ret); in tas5720_suspend()
432 ret = regulator_bulk_enable(ARRAY_SIZE(tas5720->supplies), in tas5720_resume()
433 tas5720->supplies); in tas5720_resume()
435 dev_err(component->dev, "failed to enable supplies: %d\n", ret); in tas5720_resume()
670 for (i = 0; i < ARRAY_SIZE(data->supplies); i++) in tas5720_probe()
671 data->supplies[i].supply = tas5720_supply_names[i]; in tas5720_probe()
673 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(data->supplies), in tas5720_probe()
674 data->supplies); in tas5720_probe()
676 dev_err(dev, "failed to request supplies: %d\n", ret); in tas5720_probe()