Searched refs:uamp (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.1/drivers/power/supply/ |
D | max14577_charger.c | 262 unsigned int uamp) in max14577_init_eoc() argument 269 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 …]
|
D | max77693_charger.c | 364 unsigned long uamp) in max77693_set_top_off_threshold_current() argument 368 if (uamp < 100000 || uamp > 350000) in max77693_set_top_off_threshold_current() 371 if (uamp <= 200000) in max77693_set_top_off_threshold_current() 372 data = (uamp - 100000) / 25000; in max77693_set_top_off_threshold_current() 375 data = uamp / 50000; in max77693_set_top_off_threshold_current() 524 unsigned int uamp) in max77693_set_batttery_overcurrent() argument 528 if (uamp && (uamp < 2000000 || uamp > 3500000)) { in max77693_set_batttery_overcurrent() 533 if (uamp) in max77693_set_batttery_overcurrent() 534 data = ((uamp - 2000000) / 250000) + 1; in max77693_set_batttery_overcurrent() 540 dev_dbg(chg->dev, "Battery overcurrent: %u (0x%x)\n", uamp, data); in max77693_set_batttery_overcurrent()
|
D | twl4030_charger.c | 545 static int twl4030_charger_enable_backup(int uvolt, int uamp) in twl4030_charger_enable_backup() argument 551 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()
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | logicpd-som-lv-baseboard.dtsi | 60 ti,bb-uamp = <150>;
|
D | exynos3250-monk.dts | 106 maxim,fast-charge-uamp = <225000>; 107 maxim,eoc-uamp = <7500>;
|
D | exynos3250-rinato.dts | 107 maxim,fast-charge-uamp = <225000>; 108 maxim,eoc-uamp = <7500>;
|
D | logicpd-torpedo-baseboard.dtsi | 91 ti,bb-uamp = <150>;
|
D | omap3-pandora-common.dtsi | 449 ti,bb-uamp = <150>;
|
D | omap3-gta04.dtsi | 701 ti,bb-uamp = <150>;
|