Lines Matching defs:matches
455 * __of_device_is_compatible() - Check if the node matches given constraints
467 * matches. The score is weighted for the most specific compatible value
470 * order for matches:
522 /** Checks if the given "compat" string matches one of the strings in
1082 const struct of_device_id *__of_match_node(const struct of_device_id *matches,
1088 if (!matches)
1091 for (; matches->name[0] || matches->type[0] || matches->compatible[0]; matches++) {
1092 score = __of_device_is_compatible(node, matches->compatible,
1093 matches->type, matches->name);
1095 best_match = matches;
1105 * @matches: array of of device match structures to search in
1110 const struct of_device_id *of_match_node(const struct of_device_id *matches,
1117 match = __of_match_node(matches, node);
1130 * @matches: array of of device match structures to search in
1131 * @match: Updated to point at the matches entry which matched
1137 const struct of_device_id *matches,
1149 m = __of_match_node(matches, np);
1389 * index matches, then fill the out_args structure and return,
2062 * @matches: Array of OF device match structures to search in
2073 int of_alias_get_alias_list(const struct of_device_id *matches,
2095 if (of_match_node(matches, app->np)) {
2145 * Check if the given device node matches the stdout-path property in the