Lines Matching refs:min_uA
23 int min_uA;
34 unsigned range_uA = chip->max_uA - chip->min_uA;
36 return chip->min_uA + (selector * range_uA / chip->current_level);
83 static int ad5398_set_current_limit(struct regulator_dev *rdev, int min_uA, int max_uA)
87 unsigned range_uA = chip->max_uA - chip->min_uA;
92 if (min_uA > chip->max_uA || min_uA < chip->min_uA)
94 if (max_uA > chip->max_uA || max_uA < chip->min_uA)
97 selector = ((min_uA - chip->min_uA) * chip->current_level +
198 int min_uA;
229 chip->min_uA = df->min_uA;