Searched refs:volt_reg (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/regulator/ |
D | wm8350-regulator.c | 338 int sel, volt_reg, dcdc = rdev_get_id(rdev); in wm8350_dcdc_set_suspend_voltage() local 345 volt_reg = WM8350_DCDC1_LOW_POWER; in wm8350_dcdc_set_suspend_voltage() 348 volt_reg = WM8350_DCDC3_LOW_POWER; in wm8350_dcdc_set_suspend_voltage() 351 volt_reg = WM8350_DCDC4_LOW_POWER; in wm8350_dcdc_set_suspend_voltage() 354 volt_reg = WM8350_DCDC6_LOW_POWER; in wm8350_dcdc_set_suspend_voltage() 367 val = wm8350_reg_read(wm8350, volt_reg) & ~WM8350_DC1_VSEL_MASK; in wm8350_dcdc_set_suspend_voltage() 368 wm8350_reg_write(wm8350, volt_reg, val | sel); in wm8350_dcdc_set_suspend_voltage() 553 int sel, volt_reg, ldo = rdev_get_id(rdev); in wm8350_ldo_set_suspend_voltage() local 560 volt_reg = WM8350_LDO1_LOW_POWER; in wm8350_ldo_set_suspend_voltage() 563 volt_reg = WM8350_LDO2_LOW_POWER; in wm8350_ldo_set_suspend_voltage() [all …]
|
D | tps80031-regulator.c | 75 u8 volt_reg; member 205 ri->rinfo->volt_reg, vsel, SMPS_VSEL_MASK); in tps80031_dcdc_set_voltage_sel() 208 ri->rinfo->volt_reg, ret); in tps80031_dcdc_set_voltage_sel() 232 ri->rinfo->volt_reg, &vsel); in tps80031_dcdc_get_voltage_sel() 235 ri->rinfo->volt_reg, ret); in tps80031_dcdc_get_voltage_sel() 430 .volt_reg = TPS80031_##_id##_CFG_VOLTAGE, \ 448 .volt_reg = TPS80031_##_id##_CFG_VOLTAGE, \
|