Home
last modified time | relevance | path

Searched refs:uamp (Results 1 – 10 of 10) sorted by relevance

/linux-4.4.14/drivers/power/
Dmax14577_charger.c272 unsigned int uamp) in max14577_init_eoc() argument
279 if (uamp < 5000) in max14577_init_eoc()
282 if (uamp >= 7500 && uamp < 10000) in max14577_init_eoc()
284 else if (uamp <= 50000) { in max14577_init_eoc()
286 current_bits = uamp / 5000; in max14577_init_eoc()
288 uamp = min(uamp, 100000U) - 50000U; in max14577_init_eoc()
289 current_bits = 0xa + uamp / 10000; in max14577_init_eoc()
295 if (uamp < MAX14577_CHARGER_EOC_CURRENT_LIMIT_MIN) in max14577_init_eoc()
298 uamp = min(uamp, MAX14577_CHARGER_EOC_CURRENT_LIMIT_MAX); in max14577_init_eoc()
299 uamp -= MAX14577_CHARGER_EOC_CURRENT_LIMIT_MIN; in max14577_init_eoc()
[all …]
Dmax77693_charger.c374 unsigned long uamp) in max77693_set_top_off_threshold_current() argument
378 if (uamp < 100000 || uamp > 350000) in max77693_set_top_off_threshold_current()
381 if (uamp <= 200000) in max77693_set_top_off_threshold_current()
382 data = (uamp - 100000) / 25000; in max77693_set_top_off_threshold_current()
385 data = uamp / 50000; in max77693_set_top_off_threshold_current()
534 unsigned int uamp) in max77693_set_batttery_overcurrent() argument
538 if (uamp && (uamp < 2000000 || uamp > 3500000)) { in max77693_set_batttery_overcurrent()
543 if (uamp) in max77693_set_batttery_overcurrent()
544 data = ((uamp - 2000000) / 250000) + 1; in max77693_set_batttery_overcurrent()
550 dev_dbg(chg->dev, "Battery overcurrent: %u (0x%x)\n", uamp, data); in max77693_set_batttery_overcurrent()
Dtwl4030_charger.c552 static int twl4030_charger_enable_backup(int uvolt, int uamp) in twl4030_charger_enable_backup() argument
558 uamp < 25) { in twl4030_charger_enable_backup()
575 if (uamp >= 1000) in twl4030_charger_enable_backup()
577 else if (uamp >= 500) in twl4030_charger_enable_backup()
579 else if (uamp >= 150) in twl4030_charger_enable_backup()
/linux-4.4.14/Documentation/devicetree/bindings/mfd/
Dmax14577.txt23 - maxim,fast-charge-uamp : Current in uA for Fast Charge;
27 - maxim,eoc-uamp : Current in uA for End-Of-Charge mode;
97 maxim,fast-charge-uamp = <450000>;
98 maxim,eoc-uamp = <50000>;
142 maxim,fast-charge-uamp = <225000>;
143 maxim,eoc-uamp = <7500>;
/linux-4.4.14/Documentation/devicetree/bindings/power/
Dtwl-charger.txt21 - ti,bb-uamp: microamps for charging the backup battery.
29 ti,bb-uamp = <150>;
/linux-4.4.14/arch/arm/boot/dts/
Dlogicpd-torpedo-37xx-devkit.dts72 ti,bb-uamp = <150>;
Dexynos3250-monk.dts106 maxim,fast-charge-uamp = <225000>;
107 maxim,eoc-uamp = <7500>;
Dexynos3250-rinato.dts97 maxim,fast-charge-uamp = <225000>;
98 maxim,eoc-uamp = <7500>;
Domap3-gta04.dtsi428 ti,bb-uamp = <150>;
Domap3-pandora-common.dtsi430 ti,bb-uamp = <150>;