Searched refs:lim_uV (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/regulator/ |
| H A D | max5970-regulator.c | 184 static int max597x_set_vp(struct regulator_dev *rdev, int lim_uV, int severity, in max597x_set_vp() argument 211 reg = ADC_MASK * lim_uV / data->mon_rng; in max597x_set_vp() 226 static int max597x_set_uvp(struct regulator_dev *rdev, int lim_uV, int severity, in max597x_set_uvp() argument 235 if ((lim_uV && !enable) || (!lim_uV && enable)) in max597x_set_uvp() 242 return max597x_set_vp(rdev, lim_uV, severity, enable, false); in max597x_set_uvp() 245 static int max597x_set_ovp(struct regulator_dev *rdev, int lim_uV, int severity, in max597x_set_ovp() argument 254 if ((lim_uV && !enable) || (!lim_uV && enable)) in max597x_set_ovp() 261 return max597x_set_vp(rdev, lim_uV, severity, enable, true); in max597x_set_ovp()
|
| H A D | bd9576-regulator.c | 384 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()
|
| H A D | bd718x7-regulator.c | 439 static int bd718x7_xvp_sanity_check(struct regulator_dev *rdev, int lim_uV, in bd718x7_xvp_sanity_check() argument 456 if (lim_uV) in bd718x7_xvp_sanity_check() 462 static int bd718x7_set_ldo_uvp(struct regulator_dev *rdev, int lim_uV, in bd718x7_set_ldo_uvp() argument 468 ret = bd718x7_xvp_sanity_check(rdev, lim_uV, severity); in bd718x7_set_ldo_uvp() 524 static int bd718x7_set_buck_uvp(struct regulator_dev *rdev, int lim_uV, in bd718x7_set_buck_uvp() argument 529 ret = bd718x7_xvp_sanity_check(rdev, lim_uV, severity); in bd718x7_set_buck_uvp() 544 static int bd718x7_set_buck_ovp(struct regulator_dev *rdev, int lim_uV, in bd718x7_set_buck_ovp() argument 550 ret = bd718x7_xvp_sanity_check(rdev, lim_uV, severity); in bd718x7_set_buck_ovp()
|
| H A D | da9063-regulator.c | 210 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()
|
| /linux/include/linux/regulator/ |
| H A D | driver.h | 180 int (*set_over_voltage_protection)(struct regulator_dev *, int lim_uV, 182 int (*set_under_voltage_protection)(struct regulator_dev *, int lim_uV,
|