Searched refs:volt_reg (Results 1 – 2 of 2) sorted by relevance
/linux-2.6.39/drivers/regulator/ |
D | wm8350-regulator.c | 366 int volt_reg, dcdc = rdev_get_id(rdev), mV, in wm8350_dcdc_set_voltage() local 383 volt_reg = WM8350_DCDC1_CONTROL; in wm8350_dcdc_set_voltage() 386 volt_reg = WM8350_DCDC3_CONTROL; in wm8350_dcdc_set_voltage() 389 volt_reg = WM8350_DCDC4_CONTROL; in wm8350_dcdc_set_voltage() 392 volt_reg = WM8350_DCDC6_CONTROL; in wm8350_dcdc_set_voltage() 403 val = wm8350_reg_read(wm8350, volt_reg) & ~WM8350_DC1_VSEL_MASK; in wm8350_dcdc_set_voltage() 404 wm8350_reg_write(wm8350, volt_reg, val | mV); in wm8350_dcdc_set_voltage() 411 int volt_reg, dcdc = rdev_get_id(rdev); in wm8350_dcdc_get_voltage_sel() local 415 volt_reg = WM8350_DCDC1_CONTROL; in wm8350_dcdc_get_voltage_sel() 418 volt_reg = WM8350_DCDC3_CONTROL; in wm8350_dcdc_get_voltage_sel() [all …]
|
D | tps6586x-regulator.c | 59 int volt_reg; member 109 return tps6586x_update(parent, ri->volt_reg, val, mask); in __tps6586x_ldo_set_voltage() 133 ret = tps6586x_read(parent, ri->volt_reg, &val); in tps6586x_ldo_get_voltage() 248 .volt_reg = TPS6586X_##vreg, \
|