Home
last modified time | relevance | path

Searched refs:max_uV (Results 1 – 9 of 9) sorted by relevance

/rk3399_rockchip-uboot/drivers/power/regulator/
H A Dpwm_regulator.c55 int max_uV = priv->max_voltage; in pwm_voltage_to_duty_cycle_percentage() local
56 int diff = max_uV - min_uV; in pwm_voltage_to_duty_cycle_percentage()
139 priv->max_voltage = uc_pdata->max_uV; in pwm_regulator_probe()
H A Dregulator-uclass.c51 if (uc_pdata->max_uV != -ENODATA && uV > uc_pdata->max_uV) in regulator_set_value()
301 (uc_pdata->max_uV != -ENODATA) && in regulator_autoset()
333 uc_pdata->min_uV, uc_pdata->max_uV, uV, in regulator_show()
452 uc_pdata->max_uV = dev_read_u32_default(dev, "regulator-max-microvolt", in regulator_pre_probe()
477 (uc_pdata->max_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 Dgpio-regulator.c84 if (uc_pdata->min_uV > uc_pdata->max_uV) { in gpio_regulator_get_value()
H A Dfixed.c71 if (uc_pdata->min_uV != uc_pdata->max_uV) { in fixed_regulator_get_value()
H A Drk801_regulator.c221 int min_uV, int max_uV) in regulator_map_voltage_linear_range() argument
250 if (voltage >= min_uV && voltage <= max_uV) in regulator_map_voltage_linear_range()
/rk3399_rockchip-uboot/board/st/stm32mp1/
H A Dstm32mp1.c268 int max_uV = 0; in board_check_usb_power() local
321 if (uV > max_uV) in board_check_usb_power()
322 max_uV = uV; in board_check_usb_power()
336 if (max_uV > USB_START_LOW_THRESHOLD_UV && in board_check_usb_power()
337 max_uV < USB_START_HIGH_THRESHOLD_UV) in board_check_usb_power()
343 if (max_uV < USB_WARNING_LOW_THRESHOLD_UV) { in board_check_usb_power()
/rk3399_rockchip-uboot/cmd/
H A Dregulator.c166 constraint(" - max uV:", uc_pdata->max_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 Dregulator.h170 int max_uV; member
/rk3399_rockchip-uboot/test/rockchip/
H A Dtest-power.c27 if ((uc_pdata->max_uV == uc_pdata->min_uV) || in regulator_change_voltage()