Home
last modified time | relevance | path

Searched refs:min_uV (Results 1 – 11 of 11) sorted by relevance

/external/u-boot/drivers/power/regulator/
Dregulator-uclass.c44 if (uc_pdata->min_uV != -ENODATA && uV < uc_pdata->min_uV) in regulator_set_value()
185 ret = regulator_set_value(dev, uc_pdata->min_uV); in regulator_autoset()
203 printf("set %d uV", uc_pdata->min_uV); in regulator_show()
312 uc_pdata->min_uV = dev_read_u32_default(dev, "regulator-min-microvolt", in regulator_pre_probe()
324 if ((uc_pdata->min_uV != -ENODATA) && in regulator_pre_probe()
326 (uc_pdata->min_uV == uc_pdata->max_uV)) in regulator_pre_probe()
Dpwm_regulator.c50 int min_uV = priv->min_voltage; in pwm_voltage_to_duty_cycle_percentage() local
52 int diff = max_uV - min_uV; in pwm_voltage_to_duty_cycle_percentage()
54 return ((req_uV * 100) - (min_uV * 100)) / diff; in pwm_voltage_to_duty_cycle_percentage()
130 priv->min_voltage = uc_pdata->min_uV; in pwm_regulator_probe()
Dfixed.c65 if (uc_pdata->min_uV != uc_pdata->max_uV) { in fixed_regulator_get_value()
70 return uc_pdata->min_uV; in fixed_regulator_get_value()
Dpfuze100.c467 if (uc_pdata->min_uV < 0) { in pfuze100_regulator_val()
475 *uV = uc_pdata->min_uV + (int)val * desc->uV_step; in pfuze100_regulator_val()
497 if (uc_pdata->min_uV < 0) { in pfuze100_regulator_val()
503 (*uV - uc_pdata->min_uV) / desc->uV_step); in pfuze100_regulator_val()
Dstpmu1.c195 if ((uv < uc_pdata->min_uV) || (uv > uc_pdata->max_uV)) in stpmu1_buck_set_enable()
196 stpmu1_buck_set_value(dev, uc_pdata->min_uV); in stpmu1_buck_set_enable()
373 if ((uv < uc_pdata->min_uV) || (uv > uc_pdata->max_uV)) in stpmu1_ldo_set_enable()
374 stpmu1_ldo_set_value(dev, uc_pdata->min_uV); in stpmu1_ldo_set_enable()
Dgpio-regulator.c81 if (uc_pdata->min_uV > uc_pdata->max_uV) { in gpio_regulator_get_value()
Dtps65910_regulator.c341 if (uV < uc_pdata->min_uV) { in buck_set_vdd1_vdd2_value()
/external/u-boot/arch/arm/mach-stm32mp/
Dpwr_regulator.c179 if (uc_pdata->min_uV != uV) { in stm32mp_pwr_regulator_set_value()
195 if (uc_pdata->min_uV != uc_pdata->max_uV) { in stm32mp_pwr_regulator_get_value()
200 return uc_pdata->min_uV; in stm32mp_pwr_regulator_get_value()
/external/u-boot/cmd/
Dregulator.c164 constraint(" - min uV:", uc_pdata->min_uV, NULL); in do_info()
288 if ((value < uc_pdata->min_uV || value > uc_pdata->max_uV) && !force) { in do_value()
290 uc_pdata->min_uV, uc_pdata->max_uV); in do_value()
/external/u-boot/include/power/
Dregulator.h168 int min_uV; member
/external/u-boot/test/dm/
Dregulator.c108 val_set = uc_pdata->min_uV; in dm_test_power_regulator_set_get_voltage()