Home
last modified time | relevance | path

Searched refs:lim_uV (Results 1 – 4 of 4) sorted by relevance

/drivers/regulator/
Dmax5970-regulator.c57 static int max597x_set_vp(struct regulator_dev *rdev, int lim_uV, int severity, in max597x_set_vp() argument
84 reg = ADC_MASK * lim_uV / data->mon_rng; in max597x_set_vp()
99 static int max597x_set_uvp(struct regulator_dev *rdev, int lim_uV, int severity, in max597x_set_uvp() argument
108 if ((lim_uV && !enable) || (!lim_uV && enable)) in max597x_set_uvp()
115 return max597x_set_vp(rdev, lim_uV, severity, enable, false); in max597x_set_uvp()
118 static int max597x_set_ovp(struct regulator_dev *rdev, int lim_uV, int severity, in max597x_set_ovp() argument
127 if ((lim_uV && !enable) || (!lim_uV && enable)) in max597x_set_ovp()
134 return max597x_set_vp(rdev, lim_uV, severity, enable, true); in max597x_set_ovp()
Dbd9576-regulator.c384 static int bd9576_set_uvp(struct regulator_dev *rdev, int lim_uV, int severity, in bd9576_set_uvp() argument
392 if (!enable || lim_uV) in bd9576_set_uvp()
401 if ((lim_uV && !enable) || (!lim_uV && enable)) in bd9576_set_uvp()
421 reg, mask, lim_uV); in bd9576_set_uvp()
424 static int bd9576_set_ovp(struct regulator_dev *rdev, int lim_uV, int severity, in bd9576_set_ovp() argument
432 if (!enable || lim_uV) in bd9576_set_ovp()
441 if ((lim_uV && !enable) || (!lim_uV && enable)) in bd9576_set_ovp()
461 reg, mask, lim_uV); in bd9576_set_ovp()
Dbd718x7-regulator.c437 static int bd718x7_xvp_sanity_check(struct regulator_dev *rdev, int lim_uV, in bd718x7_xvp_sanity_check() argument
454 if (lim_uV) in bd718x7_xvp_sanity_check()
460 static int bd718x7_set_ldo_uvp(struct regulator_dev *rdev, int lim_uV, in bd718x7_set_ldo_uvp() argument
466 ret = bd718x7_xvp_sanity_check(rdev, lim_uV, severity); in bd718x7_set_ldo_uvp()
522 static int bd718x7_set_buck_uvp(struct regulator_dev *rdev, int lim_uV, in bd718x7_set_buck_uvp() argument
527 ret = bd718x7_xvp_sanity_check(rdev, lim_uV, severity); in bd718x7_set_buck_uvp()
542 static int bd718x7_set_buck_ovp(struct regulator_dev *rdev, int lim_uV, in bd718x7_set_buck_ovp() argument
548 ret = bd718x7_xvp_sanity_check(rdev, lim_uV, severity); in bd718x7_set_buck_ovp()
Dda9063-regulator.c210 static int da9063_set_xvp(struct regulator_dev *rdev, int lim_uV, int severity, bool enable) in da9063_set_xvp() argument
215 dev_dbg(dev, "%s: lim: %d, sev: %d, en: %d\n", regl->desc.name, lim_uV, severity, enable); in da9063_set_xvp()
222 if (lim_uV) in da9063_set_xvp()