Lines Matching refs:max_mah_design
125 int max_mah_design; member
1007 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()
1781 di->bat_cap.max_mah_design, in ab8500_fg_algorithm()
2134 di->bat_cap.max_mah_design); in ab8500_fg_get_property()
2150 val->intval = di->bat_cap.max_mah_design; in ab8500_fg_get_property()
2261 di->bat_cap.max_mah_design = in ab8500_fg_get_ext_psy_data()
2265 di->bat_cap.max_mah_design; in ab8500_fg_get_ext_psy_data()
3040 di->bat_cap.max_mah_design = di->bm->bi->charge_full_design_uah; in ab8500_fg_bind()
3041 di->bat_cap.max_mah = di->bat_cap.max_mah_design; in ab8500_fg_bind()