Searched refs:score (Results 1 – 2 of 2) sorted by relevance
98 unsigned long l, score = 0; in of_fdt_is_compatible() local104 score++; in of_fdt_is_compatible()106 return score; in of_fdt_is_compatible()153 unsigned int tmp, score = 0; in of_fdt_match() local160 if (tmp && (score == 0 || (tmp < score))) in of_fdt_match()161 score = tmp; in of_fdt_match()165 return score; in of_fdt_match()862 unsigned int best_score = ~1, score = 0; in of_flat_dt_match_machine() local866 score = of_flat_dt_match(dt_root, compat); in of_flat_dt_match_machine()867 if (score > 0 && score < best_score) { in of_flat_dt_match_machine()[all …]
505 int index = 0, score = 0; in __of_device_is_compatible() local513 score = INT_MAX/2 - (index << 2); in __of_device_is_compatible()517 if (!score) in __of_device_is_compatible()525 score += 2; in __of_device_is_compatible()532 score++; in __of_device_is_compatible()535 return score; in __of_device_is_compatible()561 unsigned int tmp, score = 0; in of_device_compatible_match() local568 if (tmp > score) in of_device_compatible_match()569 score = tmp; in of_device_compatible_match()573 return score; in of_device_compatible_match()[all …]