Lines Matching refs:score
727 unsigned long l, score = 0; in of_fdt_is_compatible() local
733 score++; in of_fdt_is_compatible()
735 return score; in of_fdt_is_compatible()
759 unsigned int tmp, score = 0; in of_flat_dt_match() local
766 if (tmp && (score == 0 || (tmp < score))) in of_flat_dt_match()
767 score = tmp; in of_flat_dt_match()
771 return score; in of_flat_dt_match()
818 unsigned int best_score = ~1, score = 0; in of_flat_dt_match_machine() local
822 score = of_flat_dt_match(dt_root, compat); in of_flat_dt_match_machine()
823 if (score > 0 && score < best_score) { in of_flat_dt_match_machine()
825 best_score = score; in of_flat_dt_match_machine()