Home
last modified time | relevance | path

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

/Linux-v5.4/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()
/Linux-v5.4/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.c296 int min_ua, int max_ua) in max8973_set_current_limit() argument
302 if (max_ua <= 9000000) in max8973_set_current_limit()
304 else if (max_ua <= 12000000) in max8973_set_current_limit()
/Linux-v5.4/include/linux/mfd/
Dmax14577.h96 unsigned int min_ua, unsigned int max_ua, u8 *dst);