Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/power/supply/
D88pm860x_battery.c620 int vbatt_sum2; in calc_resistor() local
673 for (i = 0, vbatt_sum2 = 0, ibatt_sum2 = 0; i < 10; i++) { in calc_resistor()
677 vbatt_sum2 += data; in calc_resistor()
692 if ((vbatt_sum1 > vbatt_sum2) && (ibatt_sum1 > ibatt_sum2) && in calc_resistor()
695 data = 1000 * (vbatt_sum1 - vbatt_sum2) in calc_resistor()