Searched refs:min_uV (Results 1 – 11 of 11) sorted by relevance
44 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()
50 int min_uV = priv->min_voltage; in pwm_voltage_to_duty_cycle_percentage() local52 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()
65 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()
467 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()
195 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()
81 if (uc_pdata->min_uV > uc_pdata->max_uV) { in gpio_regulator_get_value()
341 if (uV < uc_pdata->min_uV) { in buck_set_vdd1_vdd2_value()
179 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()
164 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()
168 int min_uV; member
108 val_set = uc_pdata->min_uV; in dm_test_power_regulator_set_get_voltage()