Lines Matching refs:compat
680 unsigned long node, const char *compat) in of_fdt_is_compatible() argument
691 if (of_compat_cmp(cp, compat, strlen(compat)) == 0) in of_fdt_is_compatible()
706 int __init of_flat_dt_is_compatible(unsigned long node, const char *compat) in of_flat_dt_is_compatible() argument
708 return of_fdt_is_compatible(initial_boot_params, node, compat); in of_flat_dt_is_compatible()
714 static int __init of_flat_dt_match(unsigned long node, const char *const *compat) in of_flat_dt_match() argument
718 if (!compat) in of_flat_dt_match()
721 while (*compat) { in of_flat_dt_match()
722 tmp = of_fdt_is_compatible(initial_boot_params, node, *compat); in of_flat_dt_match()
725 compat++; in of_flat_dt_match()
764 const char *const *compat; in of_flat_dt_match_machine() local
769 while ((data = get_next_compat(&compat))) { in of_flat_dt_match_machine()
770 score = of_flat_dt_match(dt_root, compat); in of_flat_dt_match_machine()