Searched refs:cap_mah (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() argument1007 return (cap_mah * 1000) / di->bat_cap.max_mah_design; in ab8500_fg_convert_mah_to_permille()1029 static int ab8500_fg_convert_mah_to_uwh(struct ab8500_fg *di, int cap_mah) in ab8500_fg_convert_mah_to_uwh() argument1039 div_res = ((u64) cap_mah) * ((u64) di->vbat_nom_uv); in ab8500_fg_convert_mah_to_uwh()