Lines Matching defs:compat
713 * compat in its compatible list
716 * @compat: compatible string to compare with compatible list.
722 unsigned long node, const char *compat)
733 if (of_compat_cmp(cp, compat, strlen(compat)) == 0)
744 * of_flat_dt_is_compatible - Return true if given node has compat in compatible list
746 * @compat: compatible string to compare with compatible list.
748 int __init of_flat_dt_is_compatible(unsigned long node, const char *compat)
750 return of_fdt_is_compatible(initial_boot_params, node, compat);
756 static int __init of_flat_dt_match(unsigned long node, const char *const *compat)
760 if (!compat)
763 while (*compat) {
764 tmp = of_fdt_is_compatible(initial_boot_params, node, *compat);
767 compat++;
815 const char *const *compat;
820 while ((data = get_next_compat(&compat))) {
821 score = of_flat_dt_match(dt_root, compat);