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()
353 chip->regulators[0].supply = "vcc"; in aw2013_probe()
354 chip->regulators[1].supply = "vio"; in aw2013_probe()
356 ARRAY_SIZE(chip->regulators), in aw2013_probe()
357 chip->regulators); in aw2013_probe()
361 "Failed to request regulators: %d\n", ret); in aw2013_probe()
365 ret = regulator_bulk_enable(ARRAY_SIZE(chip->regulators), in aw2013_probe()
366 chip->regulators); in aw2013_probe()
369 "Failed to enable regulators: %d\n", ret); in aw2013_probe()
391 ret = regulator_bulk_disable(ARRAY_SIZE(chip->regulators), in aw2013_probe()
392 chip->regulators); in aw2013_probe()
395 "Failed to disable regulators: %d\n", ret); in aw2013_probe()
404 regulator_bulk_disable(ARRAY_SIZE(chip->regulators), in aw2013_probe()
405 chip->regulators); in aw2013_probe()