Home
last modified time | relevance | path

Searched refs:streq (Results 1 – 7 of 7) sorted by relevance

/scripts/dtc/
Ddtc.c231 if (streq(optarg, "legacy")) in main()
233 else if (streq(optarg, "epapr")) in main()
235 else if (streq(optarg, "both")) in main()
300 if (streq(inform, "dts")) in main()
306 if (annotate && (!streq(inform, "dts") || !streq(outform, "dts"))) in main()
308 if (streq(inform, "dts")) in main()
310 else if (streq(inform, "fs")) in main()
312 else if(streq(inform, "dtb")) in main()
350 if (streq(outname, "-")) { in main()
359 if (streq(outform, "dts")) { in main()
[all …]
Dfstree.c27 if (streq(de->d_name, ".") in read_fstree()
28 || streq(de->d_name, "..")) in read_fstree()
Dchecks.c83 } else if (streq(dti->outname, "-")) { in check_msg()
285 if (streq(child->name, child2->name)) in check_duplicate_node_names()
299 if (streq(prop->name, prop2->name)) in check_duplicate_property_names()
413 if (streq(name, "device_type")) in check_property_name_chars_strict()
575 if (streq((*pp)->name, "name")) { in check_name_properties()
712 if (!streq(node->name, "aliases")) in check_alias_paths()
716 if (streq(prop->name, "phandle") in check_alias_paths()
717 || streq(prop->name, "linux,phandle")) { in check_alias_paths()
839 if (!prop || !streq(prop->val.val, "pci")) in check_pci_bridge()
934 if (streq(unitname, unit_addr)) in check_pci_device_reg()
[all …]
Dlivetree.c19 if (streq(new->label, label)) { in add_label()
170 if (streq(old_prop->name, new_prop->name)) { in merge_nodes()
207 if (streq(old_child->name, new_child->name)) { in merge_nodes()
285 if (streq(prop->name, name)) { in delete_property_by_name()
318 if (streq(node->name, name)) { in delete_node_by_name()
430 if (streq(prop->name, propname)) in get_property()
460 if (streq(l->label, label)) in get_property_by_label()
487 if (streq(m->ref, label)) in get_marker_label()
507 if (streq(child->name, nodename)) in get_subnode()
532 else if (!p && streq(path, child->name)) in get_node_by_path()
[all …]
Ddtc.h91 #define streq(a, b) (strcmp((a), (b)) == 0) macro
102 return streq(str + len - suffix_len, suffix); in strends()
Dflattree.c228 if (streq(str, d->val + i)) in stringtable_insert()
259 if (streq(prop->name, "name")) in flatten_tree()
725 if (!streq(ppath, "/")) in nodename_from_path()
Dsrcpos.c153 if (streq(fname, "-")) { in srcfile_relative_open()