Lines Matching refs:max_uA
227 int *min_uA, int *max_uA) in regulator_check_current_limit() argument
229 BUG_ON(*min_uA > *max_uA); in regulator_check_current_limit()
240 if (*max_uA > rdev->constraints->max_uA) in regulator_check_current_limit()
241 *max_uA = rdev->constraints->max_uA; in regulator_check_current_limit()
245 if (*min_uA > *max_uA) { in regulator_check_current_limit()
247 *min_uA, *max_uA); in regulator_check_current_limit()
449 return sprintf(buf, "%d\n", rdev->constraints->max_uA); in regulator_max_uA_show()
797 if (constraints->min_uA && constraints->max_uA) { in print_constraints()
798 if (constraints->min_uA == constraints->max_uA) in print_constraints()
804 constraints->max_uA / 1000); in print_constraints()
808 constraints->min_uA != constraints->max_uA) { in print_constraints()
2724 int min_uA, int max_uA) in regulator_set_current_limit() argument
2738 ret = regulator_check_current_limit(rdev, &min_uA, &max_uA); in regulator_set_current_limit()
2742 ret = rdev->desc->ops->set_current_limit(rdev, min_uA, max_uA); in regulator_set_current_limit()