Lines Matching refs:min_uA
324 int *min_uA, int *max_uA) in regulator_check_current_limit() argument
326 BUG_ON(*min_uA > *max_uA); in regulator_check_current_limit()
335 if (*min_uA < rdev->constraints->min_uA) in regulator_check_current_limit()
336 *min_uA = rdev->constraints->min_uA; in regulator_check_current_limit()
338 if (*min_uA > *max_uA) { in regulator_check_current_limit()
340 *min_uA, *max_uA); in regulator_check_current_limit()
532 return sprintf(buf, "%d\n", rdev->constraints->min_uA); in regulator_min_uA_show()
889 if (constraints->min_uA && constraints->max_uA) { in print_constraints()
890 if (constraints->min_uA == constraints->max_uA) in print_constraints()
892 constraints->min_uA / 1000); in print_constraints()
896 constraints->min_uA / 1000, in print_constraints()
900 if (!constraints->min_uA || in print_constraints()
901 constraints->min_uA != constraints->max_uA) { in print_constraints()
1065 if (!constraints->min_uA && !constraints->max_uA) in machine_constraints_current()
1068 if (constraints->min_uA > constraints->max_uA) { in machine_constraints_current()
1079 ret = ops->set_current_limit(rdev, constraints->min_uA, in machine_constraints_current()
3509 int min_uA, int max_uA) in regulator_set_current_limit() argument
3523 ret = regulator_check_current_limit(rdev, &min_uA, &max_uA); in regulator_set_current_limit()
3527 ret = rdev->desc->ops->set_current_limit(rdev, min_uA, max_uA); in regulator_set_current_limit()
4765 c->min_uA / 1000, c->max_uA / 1000); in regulator_summary_show_subtree()