Searched refs:max_mah_design (Results 1 – 1 of 1) sorted by relevance
125 int max_mah_design; member1007 return (cap_mah * 1000) / di->bat_cap.max_mah_design; in ab8500_fg_convert_mah_to_permille()1019 return cap_pm * di->bat_cap.max_mah_design / 1000; in ab8500_fg_convert_permille_to_mah()1072 if (di->bat_cap.mah >= di->bat_cap.max_mah_design || in ab8500_fg_calc_cap_charging()1074 di->bat_cap.mah = di->bat_cap.max_mah_design; in ab8500_fg_calc_cap_charging()1134 if (di->bat_cap.mah >= di->bat_cap.max_mah_design) in ab8500_fg_calc_cap_discharge_fg()1135 di->bat_cap.mah = di->bat_cap.max_mah_design; in ab8500_fg_calc_cap_discharge_fg()1498 if (cap > di->bat_cap.max_mah_design) { in force_capacity()1500 " %d\n", cap, di->bat_cap.max_mah_design); in force_capacity()1501 cap = di->bat_cap.max_mah_design; in force_capacity()[all …]