Lines Matching refs:max_uA
175 int *min_uA, int *max_uA) in regulator_check_current_limit() argument
177 BUG_ON(*min_uA > *max_uA); in regulator_check_current_limit()
188 if (*max_uA > rdev->constraints->max_uA) in regulator_check_current_limit()
189 *max_uA = rdev->constraints->max_uA; in regulator_check_current_limit()
193 if (*min_uA > *max_uA) in regulator_check_current_limit()
393 return sprintf(buf, "%d\n", rdev->constraints->max_uA); in regulator_max_uA_show()
721 if (constraints->min_uA && constraints->max_uA) { in print_constraints()
722 if (constraints->min_uA == constraints->max_uA) in print_constraints()
728 constraints->max_uA / 1000); in print_constraints()
732 constraints->min_uA != constraints->max_uA) { in print_constraints()
1915 int min_uA, int max_uA) in regulator_set_current_limit() argument
1929 ret = regulator_check_current_limit(rdev, &min_uA, &max_uA); in regulator_set_current_limit()
1933 ret = rdev->desc->ops->set_current_limit(rdev, min_uA, max_uA); in regulator_set_current_limit()