Lines Matching refs:uV
45 int (*write)(struct regmap *grf, uint offset, int idx, int uV);
48 static int rk3568_iodomain_write(struct regmap *grf, uint offset, int idx, int uV)
50 u32 is_3v3 = uV > MAX_VOLTAGE_1_8;
88 static int rockchip_iodomain_write(struct regmap *grf, uint offset, int idx, int uV)
93 val = (uV > MAX_VOLTAGE_1_8) ? 0 : 1;
102 static int rk3328_iodomain_write(struct regmap *grf, uint offset, int idx, int uV)
104 int ret = rockchip_iodomain_write(grf, offset, idx, uV);
118 static int rk3399_pmu_iodomain_write(struct regmap *grf, uint offset, int idx, int uV)
120 int ret = rockchip_iodomain_write(grf, offset, idx, uV);
238 int uV;
252 uV = regulator_get_value(reg);
253 if (uV <= 0)
256 if (uV > MAX_VOLTAGE_3_3) {
257 dev_crit(dev, "%s: %d uV is too high. May damage SoC!\n",
258 supply_name, uV);
262 ret = soc_data->write(grf, soc_data->grf_offset, i, uV);