Lines Matching refs:max_mah_design
123 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()
1760 di->bat_cap.max_mah_design, in ab8500_fg_algorithm()
2113 di->bat_cap.max_mah_design); in ab8500_fg_get_property()
2129 val->intval = di->bat_cap.max_mah_design; in ab8500_fg_get_property()
2240 di->bat_cap.max_mah_design = in ab8500_fg_get_ext_psy_data()
2245 di->bat_cap.max_mah_design; in ab8500_fg_get_ext_psy_data()
3075 di->bat_cap.max_mah_design = MILLI_TO_MICRO * in ab8500_fg_probe()
3078 di->bat_cap.max_mah = di->bat_cap.max_mah_design; in ab8500_fg_probe()