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()
83 static int ad5398_set_current_limit(struct regulator_dev *rdev, int min_uA, int max_uA) in ad5398_set_current_limit() argument
87 unsigned range_uA = chip->max_uA - chip->min_uA; in ad5398_set_current_limit()
92 if (min_uA < chip->min_uA) in ad5398_set_current_limit()
93 min_uA = chip->min_uA; in ad5398_set_current_limit()
97 if (min_uA > chip->max_uA || max_uA < chip->min_uA) in ad5398_set_current_limit()
100 selector = DIV_ROUND_UP((min_uA - chip->min_uA) * chip->current_level, in ad5398_set_current_limit()
201 int min_uA; member
236 chip->min_uA = df->min_uA; in ad5398_probe()