Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/power/supply/
Dab8500_fg.c129 int prev_percent; member
1182 int capacity = di->bat_cap.prev_percent; in ab8500_fg_calculate_scaled_capacity()
1203 DIV_ROUND_CLOSEST(di->bat_cap.prev_percent * in ab8500_fg_calculate_scaled_capacity()
1213 if (di->bat_cap.prev_percent >= in ab8500_fg_calculate_scaled_capacity()
1217 capacity = di->bat_cap.prev_percent; in ab8500_fg_calculate_scaled_capacity()
1251 cs->cap_to_scale[1] = di->bat_cap.prev_percent; in ab8500_fg_update_cap_scalers()
1255 max(di->bat_cap.prev_percent, in ab8500_fg_update_cap_scalers()
1305 di->bat_cap.prev_percent = 0; in ab8500_fg_check_capacity_limits()
1317 di->bat_cap.prev_percent = percent; in ab8500_fg_check_capacity_limits()
1327 di->bat_cap.prev_percent; in ab8500_fg_check_capacity_limits()
[all …]