Searched refs:ab8500_fg_convert_mah_to_permille (Results 1 – 1 of 1) sorted by relevance
1005 static int ab8500_fg_convert_mah_to_permille(struct ab8500_fg *di, int cap_mah) in ab8500_fg_convert_mah_to_permille() function1079 ab8500_fg_convert_mah_to_permille(di, di->bat_cap.mah); in ab8500_fg_calc_cap_charging()1106 ab8500_fg_convert_mah_to_permille(di, di->bat_cap.mah); in ab8500_fg_calc_cap_discharge_voltage()1141 permille = ab8500_fg_convert_mah_to_permille(di, di->bat_cap.mah); in ab8500_fg_calc_cap_discharge_fg()1158 ab8500_fg_convert_mah_to_permille(di, di->bat_cap.mah); in ab8500_fg_calc_cap_discharge_fg()1504 di->bat_cap.permille = ab8500_fg_convert_mah_to_permille(di, cap); in force_capacity()1516 cap_permille = ab8500_fg_convert_mah_to_permille(di, in check_sysfs_capacity()