Home
last modified time | relevance | path

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

12

/openbmc/linux/scripts/dtc/
H A Ddtc.c229 if (streq(optarg, "legacy")) in main()
231 else if (streq(optarg, "epapr")) in main()
233 else if (streq(optarg, "both")) in main()
293 if (streq(inform, "dts")) in main()
299 if (annotate && (!streq(inform, "dts") || !streq(outform, "dts"))) in main()
301 if (streq(inform, "dts")) in main()
303 else if (streq(inform, "fs")) in main()
305 else if(streq(inform, "dtb")) in main()
343 if (streq(outname, "-")) { in main()
352 if (streq(outform, "dts")) { in main()
[all …]
H A Dchecks.c83 } else if (streq(dti->outname, "-")) { in check_msg()
284 if (streq(child->name, child2->name)) in check_duplicate_node_names()
298 if (streq(prop->name, prop2->name)) in check_duplicate_property_names()
412 if (streq(name, "device_type")) in check_property_name_chars_strict()
574 if (streq((*pp)->name, "name")) { in check_name_properties()
711 if (!streq(node->name, "aliases")) in check_alias_paths()
715 if (streq(prop->name, "phandle") in check_alias_paths()
716 || streq(prop->name, "linux,phandle")) { in check_alias_paths()
838 if (!prop || !streq(prop->val.val, "pci")) in check_pci_bridge()
933 if (streq(unitname, unit_addr)) in check_pci_device_reg()
[all …]
H A 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()
284 if (streq(prop->name, name)) { in delete_property_by_name()
317 if (streq(node->name, name)) { in delete_node_by_name()
429 if (streq(prop->name, propname)) in get_property()
459 if (streq(l->label, label)) in get_property_by_label()
486 if (streq(m->ref, label)) in get_marker_label()
506 if (streq(child->name, nodename)) in get_subnode()
531 else if (!p && streq(path, child->name)) in get_node_by_path()
[all …]
H A Dfstree.c27 if (streq(de->d_name, ".") in read_fstree()
28 || streq(de->d_name, "..")) in read_fstree()
H A Ddtc.h91 #define streq(a, b) (strcmp((a), (b)) == 0) macro
102 return streq(str + len - suffix_len, suffix); in strends()
/openbmc/u-boot/scripts/dtc/
H A Ddtc.c233 if (streq(optarg, "legacy")) in main()
235 else if (streq(optarg, "epapr")) in main()
237 else if (streq(optarg, "both")) in main()
294 if (streq(inform, "dts")) in main()
300 if (streq(inform, "dts")) in main()
302 else if (streq(inform, "fs")) in main()
304 else if(streq(inform, "dtb")) in main()
342 if (streq(outname, "-")) { in main()
351 if (streq(outform, "dts")) { in main()
353 } else if (streq(outform, "dtb")) { in main()
[all …]
H A Dlivetree.c33 if (streq(new->label, label)) { in add_label()
165 if (streq(old_prop->name, new_prop->name)) { in merge_nodes()
200 if (streq(old_child->name, new_child->name)) { in merge_nodes()
268 if (streq(prop->name, name)) { in delete_property_by_name()
301 if (streq(node->name, name)) { in delete_node_by_name()
410 if (streq(prop->name, propname)) in get_property()
440 if (streq(l->label, label)) in get_property_by_label()
467 if (streq(m->ref, label)) in get_marker_label()
487 if (streq(child->name, nodename)) in get_subnode()
513 else if (!p && streq(path, child->name)) in get_node_by_path()
[all …]
H A Dchecks.c257 if (streq(child->name, child2->name)) in check_duplicate_node_names()
271 if (streq(prop->name, prop2->name)) in check_duplicate_property_names()
365 if (streq(name, "device_type")) in check_property_name_chars_strict()
527 if (streq((*pp)->name, "name")) { in check_name_properties()
638 if (!s || !streq(s, "-names")) in check_names_is_string_list()
652 if (!streq(node->name, "aliases")) in check_alias_paths()
771 if (!prop || !streq(prop->val.val, "pci")) in check_pci_bridge()
869 if (streq(unitname, unit_addr)) in check_pci_device_reg()
874 if (streq(unitname, unit_addr)) in check_pci_device_reg()
943 if (!streq(unitname, unit_addr)) in check_simple_bus_reg()
[all …]
H A Dfstree.c42 if (streq(de->d_name, ".") in read_fstree()
43 || streq(de->d_name, "..")) in read_fstree()
/openbmc/linux/drivers/clk/socfpga/
H A Dclk-gate.c35 if (streq(name, SOCFPGA_L4_MP_CLK)) { in socfpga_clk_get_parent()
39 if (streq(name, SOCFPGA_L4_SP_CLK)) { in socfpga_clk_get_parent()
45 if (streq(name, SOCFPGA_MMC_CLK)) in socfpga_clk_get_parent()
47 if (streq(name, SOCFPGA_NAND_CLK) || in socfpga_clk_get_parent()
48 streq(name, SOCFPGA_NAND_X_CLK)) in socfpga_clk_get_parent()
61 if (streq(name, SOCFPGA_L4_MP_CLK)) { in socfpga_clk_set_parent()
66 } else if (streq(name, SOCFPGA_L4_SP_CLK)) { in socfpga_clk_set_parent()
73 if (streq(name, SOCFPGA_MMC_CLK)) { in socfpga_clk_set_parent()
76 } else if (streq(name, SOCFPGA_NAND_CLK) || in socfpga_clk_set_parent()
77 streq(name, SOCFPGA_NAND_X_CLK)) { in socfpga_clk_set_parent()
H A Dclk-gate-s10.c64 if (streq(name, SOCFPGA_EMAC0_CLK) || in socfpga_gate_get_parent()
65 streq(name, SOCFPGA_EMAC1_CLK) || in socfpga_gate_get_parent()
66 streq(name, SOCFPGA_EMAC2_CLK)) { in socfpga_gate_get_parent()
94 if (streq(name, SOCFPGA_EMAC0_CLK) || in socfpga_agilex_gate_get_parent()
95 streq(name, SOCFPGA_EMAC1_CLK) || in socfpga_agilex_gate_get_parent()
96 streq(name, SOCFPGA_EMAC2_CLK)) { in socfpga_agilex_gate_get_parent()
161 if (streq(clks->name, "cs_pdbg_clk")) in s10_register_gate()
219 if (streq(clks->name, "cs_pdbg_clk")) in agilex_register_gate()
H A Dclk-periph-a10.c46 if (streq(name, SOCFPGA_MPU_FREE_CLK) || in clk_periclk_get_parent()
47 streq(name, SOCFPGA_NOC_FREE_CLK) || in clk_periclk_get_parent()
48 streq(name, SOCFPGA_SDMMC_FREE_CLK)) in clk_periclk_get_parent()
H A Dclk-pll-s10.c205 if (streq(name, SOCFPGA_BOOT_CLK)) in s10_register_pll()
245 if (streq(name, SOCFPGA_BOOT_CLK)) in agilex_register_pll()
284 if (streq(name, SOCFPGA_BOOT_CLK)) in n5x_register_pll()
H A Dclk.h22 #define streq(a, b) (strcmp((a), (b)) == 0) macro
/openbmc/linux/tools/testing/selftests/proc/
H A Dread.c83 assert(streq(de->d_name, ".")); in f()
87 assert(streq(de->d_name, "..")); in f()
90 assert(!streq(de->d_name, ".")); in f()
91 assert(!streq(de->d_name, "..")); in f()
98 if (level == 0 && streq(de->d_name, "sysrq-trigger")) { in f()
100 } else if (level == 1 && streq(de->d_name, "clear_refs")) { in f()
102 } else if (level == 3 && streq(de->d_name, "clear_refs")) { in f()
H A Dproc-subset-pid.c35 static inline bool streq(const char *a, const char *b) in streq() function
88 if (streq(de->d_name, ".")) { in main()
92 } else if (streq(de->d_name, "..")) { in main()
96 } else if (streq(de->d_name, "self")) { in main()
100 } else if (streq(de->d_name, "thread-self")) { in main()
H A Dfd-003-kthread.c105 assert(streq(de->d_name, ".")); in test_readdir()
109 assert(streq(de->d_name, "..")); in test_readdir()
H A Dfd-001-lookup.c117 assert(streq(de->d_name, ".")); in main()
121 assert(streq(de->d_name, "..")); in main()
H A Dself.c36 assert(streq(buf1, buf2)); in main()
H A Dproc.h22 static inline bool streq(const char *s1, const char *s2) in streq() function
H A Dthread-self.c40 assert(streq(buf1, buf2)); in f()
/openbmc/linux/arch/arm/lib/
H A Dtestsetbit.S12 testop _test_and_set_bit, orreq, streq
15 sync_testop _sync_test_and_set_bit, orreq, streq
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/
H A D0018-test-bus-error-strerror-is-assumed-to-be-GNU-specifi.patch22 assert_se(streq(error.name, "System.Error.EBUSY"));
24 assert_se(streq(error.message, STRERROR(EBUSY)));
/openbmc/openbmc/poky/meta/recipes-core/systemd/systemd/
H A D0018-test-bus-error-strerror-is-assumed-to-be-GNU-specifi.patch22 assert_se(streq(error.name, "System.Error.EBUSY"));
24 assert_se(streq(error.message, STRERROR(EBUSY)));
/openbmc/linux/arch/arm/include/asm/
H A Dtls.h30 streq \tp, [\tmp2, #-15] @ set TLS value at 0xffff0ff0

12