Lines Matching defs:score
337 * value is a relative score with larger values indicating better
338 * matches. The score is weighted for the most specific compatible value
339 * to get the highest score. Matching type is next, followed by matching
360 int index = 0, score = 0;
368 score = INT_MAX/2 - (index << 2);
372 if (!score)
380 score += 2;
387 score++;
390 return score;
411 * score or 0.
416 unsigned int tmp, score = 0;
423 if (tmp > score)
424 score = tmp;
428 return score;
1161 int score, best_score = 0;
1167 score = __of_device_is_compatible(node, matches->compatible,
1169 if (score > best_score) {
1171 best_score = score;