Home
last modified time | relevance | path

Searched refs:max_ua (Results 1 – 4 of 4) sorted by relevance

/drivers/mfd/
Dmax14577.c62 unsigned int min_ua, unsigned int max_ua, u8 *dst) in maxim_charger_calc_reg_current() argument
66 if (min_ua > max_ua) in maxim_charger_calc_reg_current()
69 if (min_ua > limits->max || max_ua < limits->min) in maxim_charger_calc_reg_current()
72 if (max_ua < limits->high_start) { in maxim_charger_calc_reg_current()
82 max_ua = min(limits->max, max_ua); in maxim_charger_calc_reg_current()
83 max_ua -= limits->high_start; in maxim_charger_calc_reg_current()
89 current_bits = max_ua / limits->high_step; in maxim_charger_calc_reg_current()
/drivers/regulator/
D88pm800-regulator.c74 int max_ua; member
104 .max_ua = (amax), \
133 .max_ua = (amax), \
172 return info->max_ua; in pm800_get_current_limit()
Dmax8973-regulator.c269 int min_ua, int max_ua) in max8973_set_current_limit() argument
275 if (max_ua <= 9000000) in max8973_set_current_limit()
277 else if (max_ua <= 12000000) in max8973_set_current_limit()
Dda9121-regulator.c241 int min_ua, int max_ua) in da9121_set_current_limit() argument
251 max_ua > range->val_max) { in da9121_set_current_limit()
261 ret = da9121_ceiling_selector(rdev, min_ua, max_ua, &sel); in da9121_set_current_limit()