Searched refs:max_mv (Results 1 – 2 of 2) sorted by relevance
220 if ((mvolt < rdev->min_mv) || (mvolt > rdev->max_mv)) { in regulator_set_voltage()318 while ((n > 1U) && ((*levels)[n - 1U] > rdev->max_mv)) { in regulator_list_voltages()323 if (rdev->max_mv != (*levels)[n - 1]) { in regulator_list_voltages()325 rdev->desc->node_name, rdev->max_mv); in regulator_list_voltages()350 VERBOSE("rdev->min_mv=%u rdev->max_mv=%u\n", rdev->min_mv, rdev->max_mv); in regulator_list_voltages()363 void regulator_get_range(const struct rdev *rdev, uint16_t *min_mv, uint16_t *max_mv) in regulator_get_range() argument370 if (max_mv != NULL) { in regulator_get_range()371 *max_mv = rdev->max_mv; in regulator_get_range()468 if (min_mv <= rdev->max_mv) { in parse_dt()479 uint16_t max_mv; in parse_dt() local[all …]
57 void regulator_get_range(const struct rdev *rdev, uint16_t *min_mv, uint16_t *max_mv);101 uint16_t max_mv; member