Searched refs:uv (Results 1 – 4 of 4) sorted by relevance
/u-boot/drivers/power/regulator/ |
A D | s5m8767.c | 100 int ret, uv, val; in reg_get_value() local 108 uv = desc->min + val * desc->step; in reg_get_value() 110 return uv; in reg_get_value() 114 int uv) in reg_set_value() argument 120 if (uv < desc->min || uv > desc->max) in reg_set_value() 122 val = (uv - desc->min) / desc->step; in reg_set_value() 149 static int ldo_set_value(struct udevice *dev, int uv) in ldo_set_value() argument 153 return reg_set_value(dev, &ldo_param[ldo], uv); in ldo_set_value() 219 static int buck_set_value(struct udevice *dev, int uv) in buck_set_value() argument 223 return reg_set_value(dev, &buck_param[buck], uv); in buck_set_value()
|
A D | stpmic1.c | 61 static int stpmic1_output_find_sel(int uv, in stpmic1_output_find_sel() argument 69 if (uv == range->min_uv && !range->step) in stpmic1_output_find_sel() 72 if (uv >= range->min_uv && in stpmic1_output_find_sel() 73 uv <= range->min_uv + in stpmic1_output_find_sel() 76 (uv - range->min_uv) / range->step; in stpmic1_output_find_sel() 190 int ret, uv; in stpmic1_buck_set_enable() local 198 uv = stpmic1_buck_get_value(dev); in stpmic1_buck_set_enable() 199 if (uv < uc_pdata->min_uV || uv > uc_pdata->max_uV) in stpmic1_buck_set_enable() 369 int ret, uv; in stpmic1_ldo_set_enable() local 377 uv = stpmic1_ldo_get_value(dev); in stpmic1_ldo_set_enable() [all …]
|
/u-boot/board/samsung/common/ |
A D | exynos5-dt.c | 45 static int exynos_set_regulator(const char *name, uint uv) in exynos_set_regulator() argument 55 ret = regulator_set_value(dev, uv); in exynos_set_regulator()
|
/u-boot/arch/arm/dts/ |
A D | rk3399-gru-kevin.dts | 69 pullup-uv = <1800000>; 78 pullup-uv = <1800000>;
|
Completed in 5 milliseconds