Lines Matching refs:compat
386 const char *compat, in probe_device_by_compat() argument
397 if (strcmp(dm->compatible, compat) == 0) in probe_device_by_compat()
414 const char *compat = NULL; in dt_driver_probe_device_by_node() local
424 compat = fdt_stringlist_get(fdt, nodeoffset, "compatible", in dt_driver_probe_device_by_node()
426 if (!compat) in dt_driver_probe_device_by_node()
429 res = probe_device_by_compat(fdt, nodeoffset, compat, type); in dt_driver_probe_device_by_node()
566 const char *compat) in add_probe_node_by_compat() argument
575 if (strcmp(dm->compatible, compat) == 0) { in add_probe_node_by_compat()
607 const char *compat = NULL; in dt_driver_maybe_add_probe_node() local
618 compat = fdt_stringlist_get(fdt, node, "compatible", idx, &len); in dt_driver_maybe_add_probe_node()
619 assert(compat && len > 0); in dt_driver_maybe_add_probe_node()
621 res = add_probe_node_by_compat(fdt, node, compat); in dt_driver_maybe_add_probe_node()