Searched refs:volt_reg (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/regulator/ |
D | wm8350-regulator.c | 266 int sel, volt_reg, dcdc = rdev_get_id(rdev); in wm8350_dcdc_set_suspend_voltage() local 273 volt_reg = WM8350_DCDC1_LOW_POWER; in wm8350_dcdc_set_suspend_voltage() 276 volt_reg = WM8350_DCDC3_LOW_POWER; in wm8350_dcdc_set_suspend_voltage() 279 volt_reg = WM8350_DCDC4_LOW_POWER; in wm8350_dcdc_set_suspend_voltage() 282 volt_reg = WM8350_DCDC6_LOW_POWER; in wm8350_dcdc_set_suspend_voltage() 295 val = wm8350_reg_read(wm8350, volt_reg) & ~WM8350_DC1_VSEL_MASK; in wm8350_dcdc_set_suspend_voltage() 296 wm8350_reg_write(wm8350, volt_reg, val | sel); in wm8350_dcdc_set_suspend_voltage() 481 int sel, volt_reg, ldo = rdev_get_id(rdev); in wm8350_ldo_set_suspend_voltage() local 488 volt_reg = WM8350_LDO1_LOW_POWER; in wm8350_ldo_set_suspend_voltage() 491 volt_reg = WM8350_LDO2_LOW_POWER; in wm8350_ldo_set_suspend_voltage() [all …]
|
D | tps80031-regulator.c | 61 u8 volt_reg; member 190 ri->rinfo->volt_reg, vsel, SMPS_VSEL_MASK); in tps80031_dcdc_set_voltage_sel() 193 ri->rinfo->volt_reg, ret); in tps80031_dcdc_set_voltage_sel() 217 ri->rinfo->volt_reg, &vsel); in tps80031_dcdc_get_voltage_sel() 220 ri->rinfo->volt_reg, ret); in tps80031_dcdc_get_voltage_sel() 415 .volt_reg = TPS80031_##_id##_CFG_VOLTAGE, \ 433 .volt_reg = TPS80031_##_id##_CFG_VOLTAGE, \
|