Searched refs:min_uvol (Results 1 - 9 of 9) sorted by relevance
/netbsd-current/sys/dev/fdt/ |
H A D | fdt_regulator.c | 152 fdtbus_regulator_set_voltage(struct fdtbus_regulator *reg, u_int min_uvol, argument 160 return rc->rc_funcs->set_voltage(rc->rc_dev, min_uvol, max_uvol); 175 fdtbus_regulator_supports_voltage(struct fdtbus_regulator *reg, u_int min_uvol, argument 185 if (uvol < min_uvol)
|
H A D | fixedregulator.c | 183 fixedregulator_set_voltage(device_t dev, u_int min_uvol, u_int max_uvol) argument 187 if (sc->sc_min_uvol > max_uvol || sc->sc_max_uvol < min_uvol)
|
/netbsd-current/sys/dev/i2c/ |
H A D | fan53555.c | 165 fan53555_set_voltage(device_t dev, u_int min_uvol, u_int max_uvol) argument 179 val |= __SHIFTIN((min_uvol - sc->sc_base) / sc->sc_step, VSEL_NSEL); 186 delay((abs(cur_uvol - min_uvol) / sc->sc_step) * sc->sc_ramp_delay);
|
H A D | sy8106a.c | 134 sy8106a_set_voltage(device_t dev, u_int min_uvol, u_int max_uvol) argument 148 val = SEL_GO | ((min_uvol - SEL_VOLTAGE_BASE) / SEL_VOLTAGE_STEP); 155 delay((abs(cur_uvol - min_uvol) / SEL_VOLTAGE_STEP) * sc->sc_ramp_delay);
|
H A D | as3722.c | 594 as3722reg_set_voltage_ldo(device_t dev, u_int min_uvol, u_int max_uvol) argument 606 if (uvol >= min_uvol && uvol <= max_uvol) { 613 if (uvol >= min_uvol && uvol <= max_uvol) { 661 as3722reg_set_voltage_sd0(device_t dev, u_int min_uvol, u_int max_uvol) argument 674 if (uvol >= min_uvol && uvol <= max_uvol) { 682 if (uvol >= min_uvol && uvol <= max_uvol) { 738 as3722reg_set_voltage_sd4(device_t dev, u_int min_uvol, u_int max_uvol) argument 751 if (uvol >= min_uvol && uvol <= max_uvol) { 758 if (uvol >= min_uvol && uvol <= max_uvol) { 765 if (uvol >= min_uvol 815 as3722reg_set_voltage(device_t dev, u_int min_uvol, u_int max_uvol) argument [all...] |
H A D | rkpmic.c | 569 rkreg_set_voltage(device_t dev, u_int min_uvol, u_int max_uvol) argument 579 if (min_uvol < c->base) 582 vsel = (min_uvol - c->base) / c->step;
|
H A D | axppmic.c | 1255 axpreg_set_voltage(device_t dev, u_int min_uvol, u_int max_uvol) argument 1261 min_uvol / 1000, max_uvol / 1000); 1301 u_int uvol, min_uvol, max_uvol; local 1322 if (of_getprop_uint32(phandle, "regulator-min-microvolt", &min_uvol) == 0 && 1324 if (uvol < min_uvol || uvol > max_uvol) { 1326 uvol, min_uvol, max_uvol); 1327 axpreg_set_voltage(self, min_uvol, max_uvol);
|
H A D | tps65217pmic.c | 1008 tps65217reg_set_voltage(device_t dev, u_int min_uvol, u_int max_uvol) argument 1019 error = tps65217pmic_set_volt(pmic_sc->sc_dev, regulator->name, min_uvol / 1000);
|
H A D | axp20x.c | 712 axp20xreg_set_voltage(device_t dev, u_int min_uvol, u_int max_uvol) argument 716 return axp20x_set_dcdc(device_parent(dev), sc->sc_regdef->dcdc, min_uvol / 1000);
|
Completed in 281 milliseconds