Home
last modified time | relevance | path

Searched refs:REGULATOR_MODE_NORMAL (Results 1 – 25 of 75) sorted by relevance

123

/openbmc/linux/drivers/regulator/
H A Dtps6286x-regulator.c36 case REGULATOR_MODE_NORMAL: in tps6286x_set_mode()
59 return (val & TPS6286X_CONTROL_FPWM) ? REGULATOR_MODE_FAST : REGULATOR_MODE_NORMAL; in tps6286x_get_mode()
77 return REGULATOR_MODE_NORMAL; in tps6286x_of_map_mode()
H A Dtps6287x-regulator.c56 case REGULATOR_MODE_NORMAL: in tps6287x_set_mode()
80 REGULATOR_MODE_NORMAL; in tps6287x_get_mode()
86 case REGULATOR_MODE_NORMAL: in tps6287x_of_map_mode()
H A Dwm8350-regulator.c457 case REGULATOR_MODE_NORMAL: in wm8350_dcdc_set_suspend_mode()
742 case REGULATOR_MODE_NORMAL: in wm8350_dcdc_set_mode()
769 int mode = REGULATOR_MODE_NORMAL; in wm8350_dcdc_get_mode()
801 mode = REGULATOR_MODE_NORMAL; in wm8350_dcdc_get_mode()
812 return REGULATOR_MODE_NORMAL; in wm8350_ldo_get_mode()
824 {100000, 1000000, REGULATOR_MODE_NORMAL}, /* > 100mA - Active */
825 {-1, -1, REGULATOR_MODE_NORMAL},
831 {100000, 800000, REGULATOR_MODE_NORMAL}, /* > 100mA - Active */
832 {-1, -1, REGULATOR_MODE_NORMAL},
844 return REGULATOR_MODE_NORMAL; in get_mode()
[all …]
H A Drt4803.c44 case REGULATOR_MODE_NORMAL: in rt4803_set_mode()
73 return REGULATOR_MODE_NORMAL; in rt4803_get_mode()
138 return REGULATOR_MODE_NORMAL; in rt4803_of_map_mode()
H A Drt5739.c66 case REGULATOR_MODE_NORMAL: in rt5739_set_mode()
95 return REGULATOR_MODE_NORMAL; in rt5739_get_mode()
163 case REGULATOR_MODE_NORMAL: in rt5739_set_suspend_mode()
193 return REGULATOR_MODE_NORMAL; in rt5739_of_map_mode()
H A Dhi6421v600-regulator.c130 return REGULATOR_MODE_NORMAL; in hi6421_spmi_regulator_get_mode()
141 case REGULATOR_MODE_NORMAL: in hi6421_spmi_regulator_set_mode()
168 return REGULATOR_MODE_NORMAL; in hi6421_spmi_regulator_get_optimum_mode()
H A Drtq2134-regulator.c83 if (mode == REGULATOR_MODE_NORMAL) in rtq2134_buck_set_mode()
108 return REGULATOR_MODE_NORMAL; in rtq2134_buck_get_mode()
153 if (mode == REGULATOR_MODE_NORMAL) in rtq2134_buck_set_suspend_mode()
226 return REGULATOR_MODE_NORMAL; in rtq2134_buck_of_map_mode()
H A Dhi6421-regulator.c395 return REGULATOR_MODE_NORMAL; in hi6421_regulator_ldo_get_mode()
408 return REGULATOR_MODE_NORMAL; in hi6421_regulator_buck_get_mode()
419 case REGULATOR_MODE_NORMAL: in hi6421_regulator_ldo_set_mode()
444 case REGULATOR_MODE_NORMAL: in hi6421_regulator_buck_set_mode()
470 return REGULATOR_MODE_NORMAL; in hi6421_regulator_ldo_get_optimum_mode()
H A Dwm8400-regulator.c54 return REGULATOR_MODE_NORMAL; in wm8400_dcdc_get_mode()
75 case REGULATOR_MODE_NORMAL: in wm8400_dcdc_set_mode()
99 return REGULATOR_MODE_NORMAL; in wm8400_dcdc_get_optimum_mode()
H A Drt6160-regulator.c101 case REGULATOR_MODE_NORMAL: in rt6160_set_mode()
125 return REGULATOR_MODE_NORMAL; in rt6160_get_mode()
195 return REGULATOR_MODE_NORMAL; in rt6160_of_map_mode()
H A Dhi6421v530-regulator.c123 return REGULATOR_MODE_NORMAL; in hi6421v530_regulator_ldo_get_mode()
134 case REGULATOR_MODE_NORMAL: in hi6421v530_regulator_ldo_set_mode()
H A Dmcp16502.c60 #define MCP16502_OPMODE_ACTIVE REGULATOR_MODE_NORMAL
104 if (mode == REGULATOR_MODE_NORMAL || mode == REGULATOR_MODE_IDLE) in mcp16502_of_map_mode()
216 return REGULATOR_MODE_NORMAL; in mcp16502_get_mode()
242 case REGULATOR_MODE_NORMAL: in _mcp16502_set_mode()
H A Dmt6315-regulator.c66 return REGULATOR_MODE_NORMAL; in mt6315_map_mode()
103 return REGULATOR_MODE_NORMAL; in mt6315_regulator_get_mode()
124 case REGULATOR_MODE_NORMAL: in mt6315_regulator_set_mode()
H A Dqcom-rpmh-regulator.c325 return REGULATOR_MODE_NORMAL; in rpmh_regulator_vrm_get_optimum_mode()
499 [REGULATOR_MODE_NORMAL] = PMIC4_LDO_MODE_HPM,
507 [REGULATOR_MODE_NORMAL] = PMIC5_LDO_MODE_HPM,
517 mode = REGULATOR_MODE_NORMAL; in rpmh_regulator_pmic4_ldo_of_map_mode()
537 [REGULATOR_MODE_NORMAL] = PMIC4_SMPS_MODE_AUTO,
545 [REGULATOR_MODE_NORMAL] = PMIC5_SMPS_MODE_AUTO,
559 mode = REGULATOR_MODE_NORMAL; in rpmh_regulator_pmic4_smps_of_map_mode()
579 [REGULATOR_MODE_NORMAL] = PMIC4_BOB_MODE_AUTO,
587 [REGULATOR_MODE_NORMAL] = PMIC5_BOB_MODE_AUTO,
600 mode = REGULATOR_MODE_NORMAL; in rpmh_regulator_pmic4_bob_of_map_mode()
H A Drt5759-regulator.c63 case REGULATOR_MODE_NORMAL: in rt5759_set_mode()
90 return REGULATOR_MODE_NORMAL; in rt5759_get_mode()
202 return REGULATOR_MODE_NORMAL; in rt5759_of_map_mode()
H A Dsy8827n.c48 case REGULATOR_MODE_NORMAL: in sy8827n_set_mode()
70 return REGULATOR_MODE_NORMAL; in sy8827n_get_mode()
H A Dwm831x-ldo.c92 return REGULATOR_MODE_NORMAL; in wm831x_gp_ldo_get_mode()
115 case REGULATOR_MODE_NORMAL: in wm831x_gp_ldo_set_mode()
192 return REGULATOR_MODE_NORMAL; in wm831x_gp_ldo_get_optimum_mode()
347 return REGULATOR_MODE_NORMAL; in wm831x_aldo_get_mode()
360 case REGULATOR_MODE_NORMAL: in wm831x_aldo_set_mode()
H A Dsy8824x.c48 case REGULATOR_MODE_NORMAL: in sy8824_set_mode()
71 return REGULATOR_MODE_NORMAL; in sy8824_get_mode()
H A Dda9055-regulator.c97 mode = REGULATOR_MODE_NORMAL; in da9055_buck_get_mode()
118 case REGULATOR_MODE_NORMAL: in da9055_buck_set_mode()
143 return REGULATOR_MODE_NORMAL; in da9055_ldo_get_mode()
154 case REGULATOR_MODE_NORMAL: in da9055_ldo_set_mode()
H A Drt5120-regulator.c65 case REGULATOR_MODE_NORMAL: in rt5120_buck_set_mode()
91 return REGULATOR_MODE_NORMAL; in rt5120_buck_get_mode()
208 return REGULATOR_MODE_NORMAL; in rt5120_buck_of_map_mode()
H A Dmt6397-regulator.c150 return REGULATOR_MODE_NORMAL; in mt6397_map_mode()
168 case REGULATOR_MODE_NORMAL: in mt6397_regulator_set_mode()
210 return REGULATOR_MODE_NORMAL; in mt6397_regulator_get_mode()
H A Dmt6360-regulator.c230 case REGULATOR_MODE_NORMAL: in mt6360_regulator_set_mode()
273 return REGULATOR_MODE_NORMAL; in mt6360_regulator_get_mode()
312 return REGULATOR_MODE_NORMAL; in mt6360_regulator_of_map_mode()
H A Dda9062-regulator.c109 return REGULATOR_MODE_NORMAL; in da9062_map_buck_mode()
124 case REGULATOR_MODE_NORMAL: in da9062_buck_set_mode()
162 return REGULATOR_MODE_NORMAL; in da9062_buck_get_mode()
186 case REGULATOR_MODE_NORMAL: in da9062_ldo_set_mode()
211 return REGULATOR_MODE_NORMAL; in da9062_ldo_get_mode()
290 case REGULATOR_MODE_NORMAL: in da9062_buck_set_suspend_mode()
310 case REGULATOR_MODE_NORMAL: in da9062_ldo_set_suspend_mode()
H A Dmax8649.c91 case REGULATOR_MODE_NORMAL: in max8649_set_mode()
112 return REGULATOR_MODE_NORMAL; in max8649_get_mode()
/openbmc/linux/Documentation/power/regulator/
H A Dmachine.rst46 .valid_modes_mask = REGULATOR_MODE_NORMAL,
69 .valid_modes_mask = REGULATOR_MODE_NORMAL,

123