Searched refs:prev_percent (Results 1 – 1 of 1) sorted by relevance
131 int prev_percent; member1202 int capacity = di->bat_cap.prev_percent; in ab8500_fg_calculate_scaled_capacity()1223 DIV_ROUND_CLOSEST(di->bat_cap.prev_percent * in ab8500_fg_calculate_scaled_capacity()1233 if (di->bat_cap.prev_percent >= in ab8500_fg_calculate_scaled_capacity()1237 capacity = di->bat_cap.prev_percent; in ab8500_fg_calculate_scaled_capacity()1271 cs->cap_to_scale[1] = di->bat_cap.prev_percent; in ab8500_fg_update_cap_scalers()1275 max(di->bat_cap.prev_percent, in ab8500_fg_update_cap_scalers()1325 di->bat_cap.prev_percent = 0; in ab8500_fg_check_capacity_limits()1337 di->bat_cap.prev_percent = percent; in ab8500_fg_check_capacity_limits()1347 di->bat_cap.prev_percent; in ab8500_fg_check_capacity_limits()[all …]