Lines Matching refs:max_mah_design
125 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()
1776 di->bat_cap.max_mah_design, in ab8500_fg_algorithm()
2129 di->bat_cap.max_mah_design); in ab8500_fg_get_property()
2145 val->intval = di->bat_cap.max_mah_design; in ab8500_fg_get_property()
2256 di->bat_cap.max_mah_design = in ab8500_fg_get_ext_psy_data()
2260 di->bat_cap.max_mah_design; in ab8500_fg_get_ext_psy_data()
3032 di->bat_cap.max_mah_design = di->bm->bi->charge_full_design_uah; in ab8500_fg_bind()
3033 di->bat_cap.max_mah = di->bat_cap.max_mah_design; in ab8500_fg_bind()