Searched refs:div_res (Results 1 – 1 of 1) sorted by relevance
1014 u64 div_res; in ab8500_fg_convert_mah_to_uwh() local1017 div_res = ((u64) cap_mah) * ((u64) di->vbat_nom); in ab8500_fg_convert_mah_to_uwh()1018 div_rem = do_div(div_res, 1000); in ab8500_fg_convert_mah_to_uwh()1022 div_res++; in ab8500_fg_convert_mah_to_uwh()1024 return (int) div_res; in ab8500_fg_convert_mah_to_uwh()