Lines Matching refs:score
302 * value is a relative score with larger values indicating better
303 * matches. The score is weighted for the most specific compatible value
304 * to get the highest score. Matching type is next, followed by matching
325 int index = 0, score = 0;
333 score = INT_MAX/2 - (index << 2);
337 if (!score)
345 score += 2;
352 score++;
355 return score;
376 * score or 0.
381 unsigned int tmp, score = 0;
388 if (tmp > score)
389 score = tmp;
393 return score;
948 int score, best_score = 0;
954 score = __of_device_is_compatible(node, matches->compatible,
956 if (score > best_score) {
958 best_score = score;