Searched refs:ocv_avg (Results 1 – 1 of 1) sorted by relevance
79 int ocv_avg; /* micro-volt */ member114 if (chip->supplied && chip->ocv_avg > full) in ug3105_get_status()154 if (chip->ocv_avg < ocv_capacity_tbl[0]) in ug3105_get_capacity()161 if (chip->ocv_avg > ocv_capacity_tbl[i]) in ug3105_get_capacity()164 ocv_diff = ocv_capacity_tbl[i] - chip->ocv_avg; in ug3105_get_capacity()226 chip->ocv_avg = 0; in ug3105_work()229 chip->ocv_avg += chip->ocv[i]; in ug3105_work()230 chip->ocv_avg /= win_size; in ug3105_work()333 val->intval = chip->ocv_avg; in ug3105_get_property()