Lines Matching refs:match
84 const char *match = __of_get_property(np, "device_type", NULL);
86 return np && match && type && !strcmp(match, type);
293 * @compat: required compatible string, NULL or "" for any match
294 * @type: required device_type value, NULL or "" for any match
295 * @name: required node name, NULL or "" for any match
297 * Checks if the given @compat, @type and @name strings match the
301 * Returns 0 for no match, and a positive integer on match. The return
327 /* Compatible match has highest priority */
375 * a NULL terminated array of strings. Returns the best match
759 * @path: Either the full path to match, or if the path does not
828 * @name: The name string to match against
856 * @type: The type string to match against
884 * @type: The type string to match "device_type" or NULL to ignore
885 * @compatible: The string to match to one of the tokens in the device
967 * @matches: array of of device match structures to search in
968 * @node: the of device structure to match against
975 const struct of_device_id *match;
979 match = __of_match_node(matches, node);
981 return match;
987 * match table.
992 * @matches: array of of device match structures to search in
993 * @match: Updated to point at the matches entry which matched
1000 const struct of_device_id **match)
1006 if (match)
1007 *match = NULL;
1013 if (match)
1014 *match = m;
1352 int i, ret, map_len, match;
1386 /* Precalculate the match array - this simplifies match loop */
1405 match = 0;
1406 while (map_len > (list_size + 1) && !match) {
1408 match = 1;
1410 match &= !((match_array[i] ^ *map++) & mask[i]);
1422 match = 0;
1438 if (!match)