Home
last modified time | relevance | path

Searched refs:streq (Results 1 – 25 of 47) 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.c412 if (streq(name, "device_type")) in check_property_name_chars_strict()
933 if (streq(unitname, unit_addr)) in check_pci_device_reg()
938 if (streq(unitname, unit_addr)) in check_pci_device_reg()
961 if (streq(str, compat)) in node_is_compatible()
1008 if (!streq(unitname, unit_addr)) in check_simple_bus_reg()
1072 if (!streq(unitname, unit_addr)) in check_i2c_bus_reg()
1246 if (streq("disabled", str)) in node_is_disabled()
1284 if (streq(addr_a, addr_b)) in check_unique_unit_address_common()
1509 streq(prop->name, "gpios") || in prop_is_gpio()
1511 streq(prop->name, "gpio"); in prop_is_gpio()
[all …]
H A Dfstree.c27 if (streq(de->d_name, ".") in read_fstree()
28 || streq(de->d_name, "..")) in read_fstree()
H A Dlivetree.c19 if (streq(new->label, label)) { in add_label()
170 if (streq(old_prop->name, new_prop->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()
546 if (streq(l->label, label)) in get_node_by_label()
[all …]
/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()
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()
528 if (streq(l->label, label)) in get_node_by_label()
[all …]
H A Dfstree.c42 if (streq(de->d_name, ".") in read_fstree()
43 || streq(de->d_name, "..")) in read_fstree()
H A Dchecks.c365 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()
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()
1048 if (!streq(node->name, "chosen")) in check_chosen_node_is_root()
1061 if (!streq(node->name, "chosen")) in check_chosen_node_bootargs()
1227 if (!(streq(str, "gpios") || streq(str, "gpio"))) in prop_is_gpio()
1271 if (!streq(str, "gpio")) in check_deprecated_gpio_property()
[all …]
/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
H A Dclk-gate-a10.c14 #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-001-lookup.c117 assert(streq(de->d_name, ".")); in main()
121 assert(streq(de->d_name, "..")); 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 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/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/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/linux/arch/arm/include/asm/
H A Dtls.h30 streq \tp, [\tmp2, #-15] @ set TLS value at 0xffff0ff0

12