Home
last modified time | relevance | path

Searched refs:vbatt_sum (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/power/supply/
H A D88pm860x_battery.c333 int vbatt_sum; in calc_ocv() local
340 for (i = 0, ibatt_sum = 0, vbatt_sum = 0; i < 10; i++) { in calc_ocv()
344 vbatt_sum += data; in calc_ocv()
350 vbatt_avg = vbatt_sum / 10; in calc_ocv()