vbatt_avg 332 drivers/power/supply/88pm860x_battery.c int vbatt_avg; vbatt_avg 350 drivers/power/supply/88pm860x_battery.c vbatt_avg = vbatt_sum / 10; vbatt_avg 355 drivers/power/supply/88pm860x_battery.c *ocv = vbatt_avg - ibatt_avg * info->resistor / 1000; vbatt_avg 357 drivers/power/supply/88pm860x_battery.c *ocv = vbatt_avg; vbatt_avg 359 drivers/power/supply/88pm860x_battery.c dev_dbg(info->dev, "VBAT average:%d, OCV:%d\n", vbatt_avg, *ocv);