Lines Matching full:regulators
49 struct regulator_bulk_data regulators[2]; member
175 error = regulator_bulk_enable(ARRAY_SIZE(ts->regulators), in cy8ctma140_power_up()
176 ts->regulators); in cy8ctma140_power_up()
178 dev_err(ts->dev, "failed to enable regulators\n"); in cy8ctma140_power_up()
189 regulator_bulk_disable(ARRAY_SIZE(ts->regulators), in cy8ctma140_power_down()
190 ts->regulators); in cy8ctma140_power_down()
257 ts->regulators[0].supply = "vcpin"; in cy8ctma140_probe()
258 ts->regulators[1].supply = "vdd"; in cy8ctma140_probe()
259 error = devm_regulator_bulk_get(dev, ARRAY_SIZE(ts->regulators), in cy8ctma140_probe()
260 ts->regulators); in cy8ctma140_probe()
262 return dev_err_probe(dev, error, "Failed to get regulators\n"); in cy8ctma140_probe()