Lines Matching refs:max_uV
45 unsigned int max_uV;
61 unsigned range_uV = max1586->max_uV - max1586->min_uV;
66 static int max1586_v3_set(struct regulator_dev *rdev, int min_uV, int max_uV)
70 unsigned range_uV = max1586->max_uV - max1586->min_uV;
74 if (min_uV > max1586->max_uV || max_uV < max1586->min_uV)
81 if (max1586_v3_calc_voltage(max1586, selector) > max_uV)
113 static int max1586_v6_set(struct regulator_dev *rdev, int min_uV, int max_uV)
121 if (max_uV < MAX1586_V6_MIN_UV || max_uV > MAX1586_V6_MAX_UV)
133 if (max1586_v6_calc_voltage(selector) > max_uV)
204 max1586->max_uV = MAX1586_V3_MAX_UV / 1000 * pdata->v3_gain / 1000;