Lines Matching refs:prev_percent

131 	int prev_percent;  member
1197 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()
1345 } else if (di->bat_cap.prev_percent != percent) { in ab8500_fg_check_capacity_limits()
1350 di->bat_cap.prev_percent = percent; in ab8500_fg_check_capacity_limits()
1355 } else if (di->bat_cap.prev_percent != percent) { in ab8500_fg_check_capacity_limits()
1362 di->bat_cap.prev_percent = 1; in ab8500_fg_check_capacity_limits()
1367 percent > di->bat_cap.prev_percent) || init) { in ab8500_fg_check_capacity_limits()
1374 di->bat_cap.prev_percent, in ab8500_fg_check_capacity_limits()
1377 di->bat_cap.prev_percent = percent; in ab8500_fg_check_capacity_limits()
1384 di->bat_cap.prev_percent, in ab8500_fg_check_capacity_limits()
1396 di->bat_cap.prev_percent, in ab8500_fg_check_capacity_limits()
1782 di->bat_cap.prev_percent, in ab8500_fg_algorithm()
2162 val->intval = di->bat_cap.prev_percent; in ab8500_fg_get_property()