Searched refs:vbatt_avg (Results 1 – 1 of 1) sorted by relevance
332 int vbatt_avg; in calc_ocv() local350 vbatt_avg = vbatt_sum / 10; in calc_ocv()355 *ocv = vbatt_avg - ibatt_avg * info->resistor / 1000; in calc_ocv()357 *ocv = vbatt_avg; in calc_ocv()359 dev_dbg(info->dev, "VBAT average:%d, OCV:%d\n", vbatt_avg, *ocv); in calc_ocv()