Searched refs:prev_percent (Results 1 – 1 of 1) sorted by relevance
129 int prev_percent; member1182 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 …]