Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/power/supply/
Dab8500_fg.c125 int max_mah_design; member
1002 return (cap_mah * 1000) / di->bat_cap.max_mah_design; in ab8500_fg_convert_mah_to_permille()
1014 return cap_pm * di->bat_cap.max_mah_design / 1000; in ab8500_fg_convert_permille_to_mah()
1067 if (di->bat_cap.mah >= di->bat_cap.max_mah_design || in ab8500_fg_calc_cap_charging()
1069 di->bat_cap.mah = di->bat_cap.max_mah_design; in ab8500_fg_calc_cap_charging()
1129 if (di->bat_cap.mah >= di->bat_cap.max_mah_design) in ab8500_fg_calc_cap_discharge_fg()
1130 di->bat_cap.mah = di->bat_cap.max_mah_design; in ab8500_fg_calc_cap_discharge_fg()
1493 if (cap > di->bat_cap.max_mah_design) { in force_capacity()
1495 " %d\n", cap, di->bat_cap.max_mah_design); in force_capacity()
1496 cap = di->bat_cap.max_mah_design; in force_capacity()
[all …]