Searched refs:div_res (Results 1 – 1 of 1) sorted by relevance
1019 u64 div_res; in ab8500_fg_convert_mah_to_uwh() local1022 div_res = ((u64) cap_mah) * ((u64) di->vbat_nom); in ab8500_fg_convert_mah_to_uwh()1023 div_rem = do_div(div_res, 1000); in ab8500_fg_convert_mah_to_uwh()1027 div_res++; in ab8500_fg_convert_mah_to_uwh()1029 return (int) div_res; in ab8500_fg_convert_mah_to_uwh()