Lines Matching defs:compat
293 * @compat: required compatible string, NULL or "" for any match
297 * Checks if the given @compat, @type and @name strings match the
321 const char *compat, const char *type, const char *name)
328 if (compat && compat[0]) {
332 if (of_compat_cmp(cp, compat, strlen(compat)) == 0) {
358 /** Checks if the given "compat" string matches one of the strings in
362 const char *compat)
368 res = __of_device_is_compatible(device, compat, NULL, NULL);
379 const char *const *compat)
383 if (!compat)
386 while (*compat) {
387 tmp = of_device_is_compatible(device, *compat);
390 compat++;
399 * @compat: compatible string to look for in root node's compatible property.
404 int of_machine_is_compatible(const char *compat)
411 rc = of_device_is_compatible(root, compat);