Lines Matching refs:compat
551 const char *compat, in probe_device_by_compat() argument
562 if (strcmp(dm->compatible, compat) == 0) in probe_device_by_compat()
579 const char *compat = NULL; in dt_driver_probe_device_by_node() local
589 compat = fdt_stringlist_get(fdt, nodeoffset, "compatible", in dt_driver_probe_device_by_node()
591 if (!compat) in dt_driver_probe_device_by_node()
594 res = probe_device_by_compat(fdt, nodeoffset, compat, type); in dt_driver_probe_device_by_node()
731 const char *compat) in add_probe_node_by_compat() argument
740 if (strcmp(dm->compatible, compat) == 0) { in add_probe_node_by_compat()
772 const char *compat = NULL; in dt_driver_maybe_add_probe_node() local
783 compat = fdt_stringlist_get(fdt, node, "compatible", idx, &len); in dt_driver_maybe_add_probe_node()
784 assert(compat && len > 0); in dt_driver_maybe_add_probe_node()
786 res = add_probe_node_by_compat(fdt, node, compat); in dt_driver_maybe_add_probe_node()