Searched refs:uamp (Results 1 – 6 of 6) sorted by relevance
262 unsigned int uamp) in max14577_init_eoc() argument269 if (uamp < 5000) in max14577_init_eoc()272 if (uamp >= 7500 && uamp < 10000) in max14577_init_eoc()274 else if (uamp <= 50000) { in max14577_init_eoc()276 current_bits = uamp / 5000; in max14577_init_eoc()278 uamp = min(uamp, 100000U) - 50000U; in max14577_init_eoc()279 current_bits = 0xa + uamp / 10000; in max14577_init_eoc()285 if (uamp < MAX14577_CHARGER_EOC_CURRENT_LIMIT_MIN) in max14577_init_eoc()288 uamp = min(uamp, MAX14577_CHARGER_EOC_CURRENT_LIMIT_MAX); in max14577_init_eoc()289 uamp -= MAX14577_CHARGER_EOC_CURRENT_LIMIT_MIN; in max14577_init_eoc()[all …]
476 unsigned long uamp; in top_off_threshold_current_store() local479 err = kstrtoul(buf, 10, &uamp); in top_off_threshold_current_store()483 if (uamp < 50000 || uamp > 200000) in top_off_threshold_current_store()486 priv->toffs = uamp / 50000 - 1; in top_off_threshold_current_store()
545 static int twl4030_charger_enable_backup(int uvolt, int uamp) in twl4030_charger_enable_backup() argument551 uamp < 25) { in twl4030_charger_enable_backup()568 if (uamp >= 1000) in twl4030_charger_enable_backup()570 else if (uamp >= 500) in twl4030_charger_enable_backup()572 else if (uamp >= 150) in twl4030_charger_enable_backup()
60 ti,bb-uamp = <150>;
91 ti,bb-uamp = <150>;
449 ti,bb-uamp = <150>;