Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/power/supply/
Dab8500_fg.c123 int max_mah_design; member
988 return (cap_mah * 1000) / di->bat_cap.max_mah_design; in ab8500_fg_convert_mah_to_permille()
1000 return cap_pm * di->bat_cap.max_mah_design / 1000; in ab8500_fg_convert_permille_to_mah()
1048 if (di->bat_cap.mah >= di->bat_cap.max_mah_design || in ab8500_fg_calc_cap_charging()
1050 di->bat_cap.mah = di->bat_cap.max_mah_design; in ab8500_fg_calc_cap_charging()
1114 if (di->bat_cap.mah >= di->bat_cap.max_mah_design) in ab8500_fg_calc_cap_discharge_fg()
1115 di->bat_cap.mah = di->bat_cap.max_mah_design; in ab8500_fg_calc_cap_discharge_fg()
1478 if (cap > di->bat_cap.max_mah_design) { in force_capacity()
1480 " %d\n", cap, di->bat_cap.max_mah_design); in force_capacity()
1481 cap = di->bat_cap.max_mah_design; in force_capacity()
[all …]