Lines Matching refs:min_uA
23 int min_uA; member
34 unsigned range_uA = chip->max_uA - chip->min_uA; in ad5398_calc_current()
36 return chip->min_uA + (selector * range_uA / chip->current_level); in ad5398_calc_current()
85 static int ad5398_set_current_limit(struct regulator_dev *rdev, int min_uA, int max_uA) in ad5398_set_current_limit() argument
89 unsigned range_uA = chip->max_uA - chip->min_uA; in ad5398_set_current_limit()
94 if (min_uA < chip->min_uA) in ad5398_set_current_limit()
95 min_uA = chip->min_uA; in ad5398_set_current_limit()
99 if (min_uA > chip->max_uA || max_uA < chip->min_uA) in ad5398_set_current_limit()
102 selector = DIV_ROUND_UP((min_uA - chip->min_uA) * chip->current_level, in ad5398_set_current_limit()
203 int min_uA; member
238 chip->min_uA = df->min_uA; in ad5398_probe()