Lines Matching refs:matches
18 const struct of_device_id *of_match_node(const struct of_device_id *matches,
21 while (matches->name[0] || matches->type[0] || matches->compatible[0]) {
23 if (matches->name[0])
25 && !strcmp(matches->name, node->name);
26 if (matches->type[0])
28 && !strcmp(matches->type, node->type);
29 if (matches->compatible[0])
31 matches->compatible);
33 return matches;
34 matches++;
48 const struct of_device_id *of_match_device(const struct of_device_id *matches,
53 return of_match_node(matches, dev->node);