Lines Matching refs:volt_reg

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()
494 volt_reg = WM8350_LDO3_LOW_POWER; in wm8350_ldo_set_suspend_voltage()
497 volt_reg = WM8350_LDO4_LOW_POWER; in wm8350_ldo_set_suspend_voltage()
508 val = wm8350_reg_read(wm8350, volt_reg) & ~WM8350_LDO1_VSEL_MASK; in wm8350_ldo_set_suspend_voltage()
509 wm8350_reg_write(wm8350, volt_reg, val | sel); in wm8350_ldo_set_suspend_voltage()
516 int volt_reg, ldo = rdev_get_id(rdev); in wm8350_ldo_set_suspend_enable() local
521 volt_reg = WM8350_LDO1_LOW_POWER; in wm8350_ldo_set_suspend_enable()
524 volt_reg = WM8350_LDO2_LOW_POWER; in wm8350_ldo_set_suspend_enable()
527 volt_reg = WM8350_LDO3_LOW_POWER; in wm8350_ldo_set_suspend_enable()
530 volt_reg = WM8350_LDO4_LOW_POWER; in wm8350_ldo_set_suspend_enable()
537 val = wm8350_reg_read(wm8350, volt_reg) & ~WM8350_LDO1_HIB_MODE_MASK; in wm8350_ldo_set_suspend_enable()
538 wm8350_reg_write(wm8350, volt_reg, val); in wm8350_ldo_set_suspend_enable()
545 int volt_reg, ldo = rdev_get_id(rdev); in wm8350_ldo_set_suspend_disable() local
550 volt_reg = WM8350_LDO1_LOW_POWER; in wm8350_ldo_set_suspend_disable()
553 volt_reg = WM8350_LDO2_LOW_POWER; in wm8350_ldo_set_suspend_disable()
556 volt_reg = WM8350_LDO3_LOW_POWER; in wm8350_ldo_set_suspend_disable()
559 volt_reg = WM8350_LDO4_LOW_POWER; in wm8350_ldo_set_suspend_disable()
566 val = wm8350_reg_read(wm8350, volt_reg) & ~WM8350_LDO1_HIB_MODE_MASK; in wm8350_ldo_set_suspend_disable()
567 wm8350_reg_write(wm8350, volt_reg, val | WM8350_LDO1_HIB_MODE_DIS); in wm8350_ldo_set_suspend_disable()