Lines Matching defs:volt_reg
366 int volt_reg, dcdc = rdev_get_id(rdev), mV,
383 volt_reg = WM8350_DCDC1_CONTROL;
386 volt_reg = WM8350_DCDC3_CONTROL;
389 volt_reg = WM8350_DCDC4_CONTROL;
392 volt_reg = WM8350_DCDC6_CONTROL;
401 val = wm8350_reg_read(wm8350, volt_reg) & ~WM8350_DC1_VSEL_MASK;
402 wm8350_reg_write(wm8350, volt_reg, val | mV);
409 int volt_reg, dcdc = rdev_get_id(rdev);
414 volt_reg = WM8350_DCDC1_CONTROL;
417 volt_reg = WM8350_DCDC3_CONTROL;
420 volt_reg = WM8350_DCDC4_CONTROL;
423 volt_reg = WM8350_DCDC6_CONTROL;
432 val = wm8350_reg_read(wm8350, volt_reg) & WM8350_DC1_VSEL_MASK;
447 int volt_reg, mV = uV / 1000, dcdc = rdev_get_id(rdev);
463 volt_reg = WM8350_DCDC1_LOW_POWER;
466 volt_reg = WM8350_DCDC3_LOW_POWER;
469 volt_reg = WM8350_DCDC4_LOW_POWER;
472 volt_reg = WM8350_DCDC6_LOW_POWER;
481 val = wm8350_reg_read(wm8350, volt_reg) & ~WM8350_DC1_VSEL_MASK;
482 wm8350_reg_write(wm8350, volt_reg,
663 int volt_reg, mV = uV / 1000, ldo = rdev_get_id(rdev);
676 volt_reg = WM8350_LDO1_LOW_POWER;
679 volt_reg = WM8350_LDO2_LOW_POWER;
682 volt_reg = WM8350_LDO3_LOW_POWER;
685 volt_reg = WM8350_LDO4_LOW_POWER;
692 val = wm8350_reg_read(wm8350, volt_reg) & ~WM8350_LDO1_VSEL_MASK;
693 wm8350_reg_write(wm8350, volt_reg,
701 int volt_reg, ldo = rdev_get_id(rdev);
706 volt_reg = WM8350_LDO1_LOW_POWER;
709 volt_reg = WM8350_LDO2_LOW_POWER;
712 volt_reg = WM8350_LDO3_LOW_POWER;
715 volt_reg = WM8350_LDO4_LOW_POWER;
722 val = wm8350_reg_read(wm8350, volt_reg) & ~WM8350_LDO1_HIB_MODE_MASK;
723 wm8350_reg_write(wm8350, volt_reg, val);
730 int volt_reg, ldo = rdev_get_id(rdev);
735 volt_reg = WM8350_LDO1_LOW_POWER;
738 volt_reg = WM8350_LDO2_LOW_POWER;
741 volt_reg = WM8350_LDO3_LOW_POWER;
744 volt_reg = WM8350_LDO4_LOW_POWER;
751 val = wm8350_reg_read(wm8350, volt_reg) & ~WM8350_LDO1_HIB_MODE_MASK;
752 wm8350_reg_write(wm8350, volt_reg, WM8350_LDO1_HIB_MODE_DIS);
760 int volt_reg, ldo = rdev_get_id(rdev), mV, min_mV = min_uV / 1000,
785 volt_reg = WM8350_LDO1_CONTROL;
788 volt_reg = WM8350_LDO2_CONTROL;
791 volt_reg = WM8350_LDO3_CONTROL;
794 volt_reg = WM8350_LDO4_CONTROL;
801 val = wm8350_reg_read(wm8350, volt_reg) & ~WM8350_LDO1_VSEL_MASK;
802 wm8350_reg_write(wm8350, volt_reg, val | mV);
809 int volt_reg, ldo = rdev_get_id(rdev);
814 volt_reg = WM8350_LDO1_CONTROL;
817 volt_reg = WM8350_LDO2_CONTROL;
820 volt_reg = WM8350_LDO3_CONTROL;
823 volt_reg = WM8350_LDO4_CONTROL;
830 val = wm8350_reg_read(wm8350, volt_reg) & WM8350_LDO1_VSEL_MASK;