Lines Matching full:regulators
25 struct regulator_bulk_data regulators[2]; member
68 regulator_bulk_disable(ARRAY_SIZE(touchkey->regulators), in cypress_sf_disable_regulators()
69 touchkey->regulators); in cypress_sf_disable_regulators()
84 touchkey->regulators[0].supply = "vdd"; in cypress_sf_probe()
85 touchkey->regulators[1].supply = "avdd"; in cypress_sf_probe()
88 ARRAY_SIZE(touchkey->regulators), in cypress_sf_probe()
89 touchkey->regulators); in cypress_sf_probe()
91 dev_err(&client->dev, "Failed to get regulators: %d\n", error); in cypress_sf_probe()
124 error = regulator_bulk_enable(ARRAY_SIZE(touchkey->regulators), in cypress_sf_probe()
125 touchkey->regulators); in cypress_sf_probe()
128 "Failed to enable regulators: %d\n", error); in cypress_sf_probe()
179 error = regulator_bulk_disable(ARRAY_SIZE(touchkey->regulators), in cypress_sf_suspend()
180 touchkey->regulators); in cypress_sf_suspend()
182 dev_err(dev, "Failed to disable regulators: %d", error); in cypress_sf_suspend()
196 error = regulator_bulk_enable(ARRAY_SIZE(touchkey->regulators), in cypress_sf_resume()
197 touchkey->regulators); in cypress_sf_resume()
199 dev_err(dev, "Failed to enable regulators: %d", error); in cypress_sf_resume()