Searched refs:cap_mah (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/power/
H A Dab8500_fg.c989 * @cap_mah: capacity in mAh
993 static int ab8500_fg_convert_mah_to_permille(struct ab8500_fg *di, int cap_mah) ab8500_fg_convert_mah_to_permille() argument
995 return (cap_mah * 1000) / di->bat_cap.max_mah_design; ab8500_fg_convert_mah_to_permille()
1013 * @cap_mah: capacity in mAh
1017 static int ab8500_fg_convert_mah_to_uwh(struct ab8500_fg *di, int cap_mah) ab8500_fg_convert_mah_to_uwh() argument
1022 div_res = ((u64) cap_mah) * ((u64) di->vbat_nom); ab8500_fg_convert_mah_to_uwh()
1041 dev_dbg(di->dev, "%s cap_mah %d accu_charge %d\n", ab8500_fg_calc_cap_charging()
1110 dev_dbg(di->dev, "%s cap_mah %d accu_charge %d\n", ab8500_fg_calc_cap_discharge_fg()

Completed in 94 milliseconds