Searched refs:intern_res_avg (Results 1 – 1 of 1) sorted by relevance
82 int intern_res_avg; /* milli-ohm */ member204 chip->volt - chip->curr * chip->intern_res_avg / 1000; in ug3105_work()258 if ((res < (chip->intern_res_avg * 2 / 3)) || in ug3105_work()259 (res > (chip->intern_res_avg * 4 / 3))) { in ug3105_work()270 chip->intern_res_avg = 0; in ug3105_work()273 chip->intern_res_avg += chip->intern_res[i]; in ug3105_work()274 chip->intern_res_avg /= win_size; in ug3105_work()429 chip->intern_res_avg = chip->info->factory_internal_resistance_uohm / 1000; in ug3105_probe()431 chip->intern_res[0] = chip->intern_res_avg; in ug3105_probe()