Lines Matching full:supplies
43 struct regulator_bulk_data supplies[CS35L32_NUM_SUPPLIES]; member
384 for (i = 0; i < ARRAY_SIZE(cs35l32->supplies); i++) in cs35l32_i2c_probe()
385 cs35l32->supplies[i].supply = cs35l32_supply_names[i]; in cs35l32_i2c_probe()
388 ARRAY_SIZE(cs35l32->supplies), in cs35l32_i2c_probe()
389 cs35l32->supplies); in cs35l32_i2c_probe()
392 "Failed to request supplies: %d\n", ret); in cs35l32_i2c_probe()
396 ret = regulator_bulk_enable(ARRAY_SIZE(cs35l32->supplies), in cs35l32_i2c_probe()
397 cs35l32->supplies); in cs35l32_i2c_probe()
400 "Failed to enable supplies: %d\n", ret); in cs35l32_i2c_probe()
492 regulator_bulk_disable(ARRAY_SIZE(cs35l32->supplies), in cs35l32_i2c_probe()
493 cs35l32->supplies); in cs35l32_i2c_probe()
519 regulator_bulk_disable(ARRAY_SIZE(cs35l32->supplies), in cs35l32_runtime_suspend()
520 cs35l32->supplies); in cs35l32_runtime_suspend()
531 ret = regulator_bulk_enable(ARRAY_SIZE(cs35l32->supplies), in cs35l32_runtime_resume()
532 cs35l32->supplies); in cs35l32_runtime_resume()
534 dev_err(dev, "Failed to enable supplies: %d\n", in cs35l32_runtime_resume()