Lines Matching defs:compat
760 * compat in its compatible list
763 * @compat: compatible string to compare with compatible list.
769 unsigned long node, const char *compat)
780 if (of_compat_cmp(cp, compat, strlen(compat)) == 0)
791 * of_flat_dt_is_compatible - Return true if given node has compat in compatible list
793 * @compat: compatible string to compare with compatible list.
795 int __init of_flat_dt_is_compatible(unsigned long node, const char *compat)
797 return of_fdt_is_compatible(initial_boot_params, node, compat);
803 static int __init of_flat_dt_match(unsigned long node, const char *const *compat)
807 if (!compat)
810 while (*compat) {
811 tmp = of_fdt_is_compatible(initial_boot_params, node, *compat);
814 compat++;
853 const char *const *compat;
858 while ((data = get_next_compat(&compat))) {
859 score = of_flat_dt_match(dt_root, compat);