Searched refs:min_uV (Results 1 – 10 of 10) sorted by relevance
| /rk3399_rockchip-uboot/drivers/power/regulator/ |
| H A D | pwm_regulator.c | 54 int min_uV = priv->min_voltage; in pwm_voltage_to_duty_cycle_percentage() local 56 int diff = max_uV - min_uV; in pwm_voltage_to_duty_cycle_percentage() 58 return ((req_uV * 100) - (min_uV * 100)) / diff; in pwm_voltage_to_duty_cycle_percentage() 140 priv->min_voltage = uc_pdata->min_uV; in pwm_regulator_probe()
|
| H A D | regulator-uclass.c | 49 if (uc_pdata->min_uV != -ENODATA && uV < uc_pdata->min_uV) in regulator_set_value() 297 ret = regulator_set_value(dev, uc_pdata->min_uV); in regulator_autoset() 300 (uc_pdata->min_uV != -ENODATA) && in regulator_autoset() 333 uc_pdata->min_uV, uc_pdata->max_uV, uV, in regulator_show() 450 uc_pdata->min_uV = dev_read_u32_default(dev, "regulator-min-microvolt", in regulator_pre_probe() 476 if ((uc_pdata->min_uV != -ENODATA) && in regulator_pre_probe() 478 (uc_pdata->min_uV == uc_pdata->max_uV)) in regulator_pre_probe() 489 dev->name, uc_pdata->min_uV, uc_pdata->max_uV, uc_pdata->boot_on, in regulator_pre_probe()
|
| H A D | fixed.c | 71 if (uc_pdata->min_uV != uc_pdata->max_uV) { in fixed_regulator_get_value() 76 return uc_pdata->min_uV; in fixed_regulator_get_value()
|
| H A D | pfuze100.c | 468 if (uc_pdata->min_uV < 0) { in pfuze100_regulator_val() 476 *uV = uc_pdata->min_uV + (int)val * desc->uV_step; in pfuze100_regulator_val() 498 if (uc_pdata->min_uV < 0) { in pfuze100_regulator_val() 504 (*uV - uc_pdata->min_uV) / desc->uV_step); in pfuze100_regulator_val()
|
| H A D | rk801_regulator.c | 32 unsigned int min_uV; member 221 int min_uV, int max_uV) in regulator_map_voltage_linear_range() argument 235 ret = linear_range_get_selector_high(range, min_uV, &sel, in regulator_map_voltage_linear_range() 250 if (voltage >= min_uV && voltage <= max_uV) in regulator_map_voltage_linear_range()
|
| H A D | gpio-regulator.c | 84 if (uc_pdata->min_uV > uc_pdata->max_uV) { in gpio_regulator_get_value()
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | regulator.c | 165 constraint(" - min uV:", uc_pdata->min_uV, NULL); in do_info() 289 if ((value < uc_pdata->min_uV || value > uc_pdata->max_uV) && !force) { in do_value() 291 uc_pdata->min_uV, uc_pdata->max_uV); in do_value()
|
| /rk3399_rockchip-uboot/include/power/ |
| H A D | regulator.h | 169 int min_uV; member
|
| /rk3399_rockchip-uboot/test/rockchip/ |
| H A D | test-power.c | 27 if ((uc_pdata->max_uV == uc_pdata->min_uV) || in regulator_change_voltage()
|
| /rk3399_rockchip-uboot/test/dm/ |
| H A D | regulator.c | 111 val_set = uc_pdata->min_uV; in dm_test_power_regulator_set_get_voltage()
|