Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/drivers/power/regulator/
H A Drk8xx.c317 int num, int uvolt) in get_buck_reg() argument
325 if (uvolt < 1500000) in get_buck_reg()
327 else if (uvolt < 3400000) in get_buck_reg()
337 if (uvolt <= 1450000) in get_buck_reg()
339 else if (uvolt <= 2200000) in get_buck_reg()
351 if (uvolt < 1500000) in get_buck_reg()
353 else if (uvolt < 2400000) in get_buck_reg()
358 if (uvolt < 1500000) in get_buck_reg()
360 else if (uvolt < 3400000) in get_buck_reg()
366 if (uvolt < 1800000) in get_buck_reg()
[all …]
H A Dfan53555_regulator.c248 int uvolt = 0, val; in fan53555_regulator_get_voltage() local
252 uvolt = (val * priv->vsel_step) + priv->vsel_min; in fan53555_regulator_get_voltage()
254 return uvolt; in fan53555_regulator_get_voltage()
257 static int fan53555_regulator_set_voltage(struct udevice *dev, int uvolt) in fan53555_regulator_set_voltage() argument
262 val = ((uvolt - priv->vsel_min) / priv->vsel_step); in fan53555_regulator_set_voltage()
271 int uvolt = 0, val; in fan53555_regulator_get_suspend_voltage() local
275 uvolt = (val * priv->vsel_step) + priv->vsel_min; in fan53555_regulator_get_suspend_voltage()
277 return uvolt; in fan53555_regulator_get_suspend_voltage()
281 int uvolt) in fan53555_regulator_set_suspend_voltage() argument
286 val = ((uvolt - priv->vsel_min) / priv->vsel_step); in fan53555_regulator_set_suspend_voltage()
H A Drk860x_regulator.c225 int uvolt = 0, ret; in rk860x_regulator_get_voltage() local
233 uvolt = (val * priv->vsel_step) + priv->vsel_min; in rk860x_regulator_get_voltage()
235 return uvolt; in rk860x_regulator_get_voltage()
238 static int rk860x_regulator_set_voltage(struct udevice *dev, int uvolt) in rk860x_regulator_set_voltage() argument
243 val = ((uvolt - priv->vsel_min) / priv->vsel_step); in rk860x_regulator_set_voltage()
252 int uvolt = 0, ret; in rk860x_regulator_get_suspend_voltage() local
260 uvolt = (val * priv->vsel_step) + priv->vsel_min; in rk860x_regulator_get_suspend_voltage()
262 return uvolt; in rk860x_regulator_get_suspend_voltage()
266 int uvolt) in rk860x_regulator_set_suspend_voltage() argument
271 val = ((uvolt - priv->vsel_min) / priv->vsel_step); in rk860x_regulator_set_suspend_voltage()
H A Dact8846.c75 static int check_volt_table(const u16 *volt_table, int uvolt) in check_volt_table() argument
80 if (uvolt <= (volt_table[i] * 1000)) in check_volt_table()
98 static int reg_set_value(struct udevice *dev, int uvolt) in reg_set_value() argument
103 val = check_volt_table(voltage_map, uvolt); in reg_set_value()
H A Dpwm_regulator.c68 static int pwm_regulator_set_voltage(struct udevice *dev, int uvolt) in pwm_regulator_set_voltage() argument
74 duty_cycle = pwm_voltage_to_duty_cycle_percentage(dev, uvolt); in pwm_regulator_set_voltage()
89 priv->volt_uV = uvolt; in pwm_regulator_set_voltage()
H A Das3722_regulator.c22 static int stepdown_set_value(struct udevice *dev, int uvolt) in stepdown_set_value() argument
64 static int ldo_set_value(struct udevice *dev, int uvolt) in ldo_set_value() argument
/rk3399_rockchip-uboot/include/power/
H A Drk8xx_pmic.h462 int rk8xx_spl_configure_buck(struct udevice *pmic, int buck, int uvolt);
464 int rk818_spl_configure_usb_chrg_shutdown(struct udevice *pmic, int uvolt);
/rk3399_rockchip-uboot/arch/arm/dts/
H A Dlogicpd-som-lv-37xx-devkit.dts74 ti,bb-uvolt = <3200000>;
H A Dlogicpd-torpedo-37xx-devkit.dts104 ti,bb-uvolt = <3200000>;