Lines Matching refs:score
773 unsigned long l, score = 0; in of_fdt_is_compatible() local
779 score++; in of_fdt_is_compatible()
781 return score; in of_fdt_is_compatible()
805 unsigned int tmp, score = 0; in of_flat_dt_match() local
812 if (tmp && (score == 0 || (tmp < score))) in of_flat_dt_match()
813 score = tmp; in of_flat_dt_match()
817 return score; in of_flat_dt_match()
855 unsigned int best_score = ~1, score = 0; in of_flat_dt_match_machine() local
859 score = of_flat_dt_match(dt_root, compat); in of_flat_dt_match_machine()
860 if (score > 0 && score < best_score) { in of_flat_dt_match_machine()
862 best_score = score; in of_flat_dt_match_machine()