Lines Matching full:regulators
65 struct regulator_bulk_data regulators[2]; member
109 ret = regulator_bulk_disable(ARRAY_SIZE(chip->regulators), in aw2013_chip_disable()
110 chip->regulators); in aw2013_chip_disable()
113 "Failed to disable regulators: %d\n", ret); in aw2013_chip_disable()
127 ret = regulator_bulk_enable(ARRAY_SIZE(chip->regulators), in aw2013_chip_enable()
128 chip->regulators); in aw2013_chip_enable()
131 "Failed to enable regulators: %d\n", ret); in aw2013_chip_enable()
359 chip->regulators[0].supply = "vcc"; in aw2013_probe()
360 chip->regulators[1].supply = "vio"; in aw2013_probe()
362 ARRAY_SIZE(chip->regulators), in aw2013_probe()
363 chip->regulators); in aw2013_probe()
367 "Failed to request regulators: %d\n", ret); in aw2013_probe()
371 ret = regulator_bulk_enable(ARRAY_SIZE(chip->regulators), in aw2013_probe()
372 chip->regulators); in aw2013_probe()
375 "Failed to enable regulators: %d\n", ret); in aw2013_probe()
401 ret = regulator_bulk_disable(ARRAY_SIZE(chip->regulators), in aw2013_probe()
402 chip->regulators); in aw2013_probe()
405 "Failed to disable regulators: %d\n", ret); in aw2013_probe()
414 regulator_bulk_disable(ARRAY_SIZE(chip->regulators), in aw2013_probe()
415 chip->regulators); in aw2013_probe()