Lines Matching defs:compat
457 * @compat: required compatible string, NULL or "" for any match
461 * Checks if the given @compat, @type and @name strings match the
485 const char *compat, const char *type, const char *name)
492 if (compat && compat[0]) {
496 if (of_compat_cmp(cp, compat, strlen(compat)) == 0) {
522 /** Checks if the given "compat" string matches one of the strings in
526 const char *compat)
532 res = __of_device_is_compatible(device, compat, NULL, NULL);
543 const char *const *compat)
547 if (!compat)
550 while (*compat) {
551 tmp = of_device_is_compatible(device, *compat);
554 compat++;
562 * @compat: compatible string to look for in root node's compatible property.
567 int of_machine_is_compatible(const char *compat)
574 rc = of_device_is_compatible(root, compat);