Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
H A Dug3105_battery.c180 int i, val, curr_diff, volt_diff, res, win_size; in ug3105_work() local
251 curr_diff = abs(chip->curr - prev_curr); in ug3105_work()
252 if (curr_diff < UG3105_CURR_HYST_UA) in ug3105_work()
256 res = volt_diff * 1000 / curr_diff; in ug3105_work()