Searched refs:div_res (Results 1 – 1 of 1) sorted by relevance
1031 u64 div_res; in ab8500_fg_convert_mah_to_uwh() local1039 div_res = ((u64) cap_mah) * ((u64) di->vbat_nom_uv); in ab8500_fg_convert_mah_to_uwh()1040 div_rem = do_div(div_res, 1000000); in ab8500_fg_convert_mah_to_uwh()1044 div_res++; in ab8500_fg_convert_mah_to_uwh()1046 return (int) div_res; in ab8500_fg_convert_mah_to_uwh()