Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
H A Dug3105_battery.c152 int i, ocv_diff, ocv_step; in ug3105_get_capacity() local
164 ocv_diff = ocv_capacity_tbl[i] - chip->ocv_avg; in ug3105_get_capacity()
168 return (i * 500 - ocv_diff * 500 / ocv_step) / 110; in ug3105_get_capacity()
170 return i * 5 - ocv_diff * 5 / ocv_step; in ug3105_get_capacity()