Lines Matching refs:WM2000_NUM_SUPPLIES
45 #define WM2000_NUM_SUPPLIES 3 macro
47 static const char *wm2000_supplies[WM2000_NUM_SUPPLIES] = {
65 struct regulator_bulk_data supplies[WM2000_NUM_SUPPLIES];
131 ret = regulator_bulk_enable(WM2000_NUM_SUPPLIES, wm2000->supplies); in wm2000_power_up()
155 regulator_bulk_disable(WM2000_NUM_SUPPLIES, wm2000->supplies); in wm2000_power_up()
162 regulator_bulk_disable(WM2000_NUM_SUPPLIES, wm2000->supplies); in wm2000_power_up()
177 regulator_bulk_disable(WM2000_NUM_SUPPLIES, wm2000->supplies); in wm2000_power_up()
183 regulator_bulk_disable(WM2000_NUM_SUPPLIES, wm2000->supplies); in wm2000_power_up()
205 regulator_bulk_disable(WM2000_NUM_SUPPLIES, wm2000->supplies); in wm2000_power_up()
222 regulator_bulk_disable(WM2000_NUM_SUPPLIES, wm2000->supplies); in wm2000_power_up()
260 regulator_bulk_disable(WM2000_NUM_SUPPLIES, wm2000->supplies); in wm2000_power_down()
834 for (i = 0; i < WM2000_NUM_SUPPLIES; i++) in wm2000_i2c_probe()
837 ret = devm_regulator_bulk_get(&i2c->dev, WM2000_NUM_SUPPLIES, in wm2000_i2c_probe()
844 ret = regulator_bulk_enable(WM2000_NUM_SUPPLIES, wm2000->supplies); in wm2000_i2c_probe()
924 regulator_bulk_disable(WM2000_NUM_SUPPLIES, wm2000->supplies); in wm2000_i2c_probe()