Home
last modified time | relevance | path

Searched refs:volt_reg (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/drivers/regulator/
Dwm8350-regulator.c366 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 …]
Dtps6586x-regulator.c60 int volt_reg; member
115 return tps6586x_update(parent, ri->volt_reg, val, mask); in __tps6586x_ldo_set_voltage()
139 ret = tps6586x_read(parent, ri->volt_reg, &val); in tps6586x_ldo_get_voltage()
254 .volt_reg = TPS6586X_##vreg, \