Searched refs:ibatt_sum1 (Results 1 – 1 of 1) sorted by relevance
622 int ibatt_sum1; in calc_resistor() local650 for (i = 0, vbatt_sum1 = 0, ibatt_sum1 = 0; i < 10; i++) { in calc_resistor()660 ibatt_sum1 = ibatt_sum1 - data; /* discharging */ in calc_resistor()662 ibatt_sum1 = ibatt_sum1 + data; /* charging */ in calc_resistor()692 if ((vbatt_sum1 > vbatt_sum2) && (ibatt_sum1 > ibatt_sum2) && in calc_resistor()696 / (ibatt_sum1 - ibatt_sum2); in calc_resistor()