Lines Matching refs:match

84 	const char *match = __of_get_property(np, "device_type", NULL);
86 return np && match && type && !strcmp(match, type);
296 * However this __weak function provides a default match of physical
298 * from the device tree which must match the hardware internal registers.
457 * @compat: required compatible string, NULL or "" for any match
458 * @type: required device_type value, NULL or "" for any match
459 * @name: required node name, NULL or "" for any match
461 * Checks if the given @compat, @type and @name strings match the
465 * Returns 0 for no match, and a positive integer on match. The return
491 /* Compatible match has highest priority */
539 * a NULL terminated array of strings. Returns the best match
897 * @path: Either the full path to match, or if the path does not
966 * @name: The name string to match against
994 * @type: The type string to match against
1022 * @type: The type string to match "device_type" or NULL to ignore
1023 * @compatible: The string to match to one of the tokens in the device
1105 * @matches: array of of device match structures to search in
1106 * @node: the of device structure to match against
1113 const struct of_device_id *match;
1117 match = __of_match_node(matches, node);
1119 return match;
1125 * match table.
1130 * @matches: array of of device match structures to search in
1131 * @match: Updated to point at the matches entry which matched
1138 const struct of_device_id **match)
1144 if (match)
1145 *match = NULL;
1151 if (match)
1152 *match = m;
1558 int i, ret, map_len, match;
1592 /* Precalculate the match array - this simplifies match loop */
1611 match = 0;
1612 while (map_len > (list_size + 1) && !match) {
1614 match = 1;
1616 match &= !((match_array[i] ^ *map++) & mask[i]);
1628 match = 0;
1644 if (!match)
2062 * @matches: Array of OF device match structures to search in
2068 * device match structures and alias stem.