Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A D88pm860x_battery.c335 int ibatt_sum; in calc_ocv() local
340 for (i = 0, ibatt_sum = 0, vbatt_sum = 0; i < 10; i++) { in calc_ocv()
348 ibatt_sum += data; in calc_ocv()
351 ibatt_avg = ibatt_sum / 10; in calc_ocv()