Searched refs:prev_percent (Results 1 – 1 of 1) sorted by relevance
131 int prev_percent; member1197 int capacity = di->bat_cap.prev_percent; in ab8500_fg_calculate_scaled_capacity()1218 DIV_ROUND_CLOSEST(di->bat_cap.prev_percent * in ab8500_fg_calculate_scaled_capacity()1228 if (di->bat_cap.prev_percent >= in ab8500_fg_calculate_scaled_capacity()1232 capacity = di->bat_cap.prev_percent; in ab8500_fg_calculate_scaled_capacity()1266 cs->cap_to_scale[1] = di->bat_cap.prev_percent; in ab8500_fg_update_cap_scalers()1270 max(di->bat_cap.prev_percent, in ab8500_fg_update_cap_scalers()1320 di->bat_cap.prev_percent = 0; in ab8500_fg_check_capacity_limits()1332 di->bat_cap.prev_percent = percent; in ab8500_fg_check_capacity_limits()1342 di->bat_cap.prev_percent; in ab8500_fg_check_capacity_limits()[all …]