| /openbmc/u-boot/drivers/usb/gadget/ |
| H A D | gadget_chips.h | 18 #define gadget_is_net2280(g) (!strcmp("net2280", (g)->name)) 24 #define gadget_is_amd5536udc(g) (!strcmp("amd5536udc", (g)->name)) 30 #define gadget_is_dummy(g) (!strcmp("dummy_udc", (g)->name)) 36 #define gadget_is_pxa(g) (!strcmp("pxa2xx_udc", (g)->name)) 42 #define gadget_is_goku(g) (!strcmp("goku_udc", (g)->name)) 49 #define gadget_is_sh(g) (!strcmp("sh_udc", (g)->name)) 56 #define gadget_is_sa1100(g) (!strcmp("sa1100_udc", (g)->name)) 63 #define gadget_is_mq11xx(g) (!strcmp("mq11xx_udc", (g)->name)) 69 #define gadget_is_omap(g) (!strcmp("omap_udc", (g)->name)) 76 #define gadget_is_n9604(g) (!strcmp("n9604_udc", (g)->name)) [all …]
|
| /openbmc/qemu/libdecnumber/ |
| H A D | decContext.c | 260 if (strcmp(string, DEC_Condition_CS)==0) in decContextSetStatusFromString() 262 if (strcmp(string, DEC_Condition_DZ)==0) in decContextSetStatusFromString() 264 if (strcmp(string, DEC_Condition_DI)==0) in decContextSetStatusFromString() 266 if (strcmp(string, DEC_Condition_DU)==0) in decContextSetStatusFromString() 268 if (strcmp(string, DEC_Condition_IE)==0) in decContextSetStatusFromString() 270 if (strcmp(string, DEC_Condition_IS)==0) in decContextSetStatusFromString() 272 if (strcmp(string, DEC_Condition_IC)==0) in decContextSetStatusFromString() 274 if (strcmp(string, DEC_Condition_IO)==0) in decContextSetStatusFromString() 277 if (strcmp(string, DEC_Condition_LD)==0) in decContextSetStatusFromString() 280 if (strcmp(string, DEC_Condition_OV)==0) in decContextSetStatusFromString() [all …]
|
| /openbmc/u-boot/arch/powerpc/cpu/mpc83xx/ |
| H A D | ecc.c | 126 if (strcmp(argv[1], "status") == 0) { in do_ecc() 129 } else if (strcmp(argv[1], "captureclear") == 0) { in do_ecc() 139 if (strcmp(argv[1], "sbecnt") == 0) { in do_ecc() 152 } else if (strcmp(argv[1], "sbethr") == 0) { in do_ecc() 165 } else if (strcmp(argv[1], "errdisable") == 0) { in do_ecc() 168 if (strcmp(argv[2], "+sbe") == 0) { in do_ecc() 170 } else if (strcmp(argv[2], "+mbe") == 0) { in do_ecc() 172 } else if (strcmp(argv[2], "+mse") == 0) { in do_ecc() 174 } else if (strcmp(argv[2], "+all") == 0) { in do_ecc() 178 } else if (strcmp(argv[2], "-sbe") == 0) { in do_ecc() [all …]
|
| /openbmc/qemu/tests/tcg/s390x/ |
| H A D | fma.c | 59 if (strcmp(spec1, "P(-inf)") == 0) { in interpret_tables() 61 } else if (strcmp(spec1, "P(+inf)") == 0) { in interpret_tables() 63 } else if (strcmp(spec1, "P(-0)") == 0) { in interpret_tables() 65 } else if (strcmp(spec1, "P(+0)") == 0) { in interpret_tables() 67 } else if (strcmp(spec1, "P(a)") == 0) { in interpret_tables() 70 } else if (strcmp(spec1, "P(b)") == 0) { in interpret_tables() 73 } else if (strcmp(spec1, "P(a*b)") == 0) { in interpret_tables() 93 } else if (strcmp(spec1, "Xi: T(dNaN)") == 0) { in interpret_tables() 97 } else if (strcmp(spec1, "Xi: T(a*)") == 0) { in interpret_tables() 102 } else if (strcmp(spec1, "Xi: T(b*)") == 0) { in interpret_tables() [all …]
|
| /openbmc/u-boot/test/ |
| H A D | print_ut.c | 43 assert(!strcmp("_/SD(3)_", str)); in efi_ut_print() 47 assert(!strcmp("_<NULL>_", str)); in efi_ut_print() 62 assert(!strcmp("testing", str)); in do_ut_print() 65 assert(!strcmp("testing b", str)); in do_ut_print() 68 assert(!strcmp("", str)); in do_ut_print() 75 assert(!strcmp("_foo_", big_str)); in do_ut_print() 80 assert(!strcmp("\n\nU-Boo\n\n", s)); in do_ut_print() 84 assert(!strcmp("", s)); in do_ut_print() 88 assert(!strcmp("\n", s)); in do_ut_print() 92 assert(!strcmp("U-Boot \n\n", s)); in do_ut_print() [all …]
|
| H A D | command_ut.c | 21 assert(!strcmp("11", env_get("list"))); in do_ut_cmd() 25 assert(!strcmp("111", env_get("list"))); in do_ut_cmd() 30 assert(!strcmp("123", env_get("list"))); in do_ut_cmd() 38 assert(!strcmp("1", env_get("list"))); in do_ut_cmd() 49 assert(!strcmp("1", env_get("black"))); in do_ut_cmd() 51 assert(!strcmp("2", env_get("adder"))); in do_ut_cmd()
|
| /openbmc/u-boot/cmd/ |
| H A D | cros_ec.c | 29 if (0 == strcmp(*argv, "rw")) in cros_ec_decode_region() 31 else if (0 == strcmp(*argv, "ro")) in cros_ec_decode_region() 105 if (0 == strcmp("init", cmd)) { in do_cros_ec() 123 if (0 == strcmp("id", cmd)) { in do_cros_ec() 131 } else if (0 == strcmp("info", cmd)) { in do_cros_ec() 140 } else if (0 == strcmp("curimage", cmd)) { in do_cros_ec() 148 } else if (0 == strcmp("hash", cmd)) { in do_cros_ec() 169 } else if (0 == strcmp("reboot", cmd)) { in do_cros_ec() 173 if (argc >= 3 && !strcmp(argv[2], "cold")) { in do_cros_ec() 189 } else if (0 == strcmp("events", cmd)) { in do_cros_ec() [all …]
|
| H A D | nand.c | 201 if (!strcmp(cmd, "get")) { in do_nand_env_oob() 207 } else if (!strcmp(cmd, "set")) { in do_nand_env_oob() 400 if (repeat && strcmp(cmd, "dump")) in do_nand() 403 if (strcmp(cmd, "info") == 0) { in do_nand() 411 if (strcmp(cmd, "device") == 0) { in do_nand() 429 if (strcmp(cmd, "env.oob") == 0) in do_nand() 445 if (strcmp(cmd, "bad") == 0) { in do_nand() 461 int clean = argc > 2 && !strcmp("clean", argv[2]); in do_nand() 462 int scrub_yes = argc > 2 && !strcmp("-y", argv[2]); in do_nand() 479 if (!strcmp(&cmd[5], ".spread")) { in do_nand() [all …]
|
| H A D | legacy_led.c | 68 if (strcmp(var, "off") == 0) in get_led_cmd() 70 if (strcmp(var, "on") == 0) in get_led_cmd() 72 if (strcmp(var, "toggle") == 0) in get_led_cmd() 74 if (strcmp(var, "blink") == 0) in get_led_cmd() 104 if ((strcmp("all", argv[1]) == 0) || in do_legacy_led() 105 (strcmp(led_commands[i].string, argv[1]) == 0)) { in do_legacy_led() 136 if (strcmp("all", argv[1]) != 0) in do_legacy_led()
|
| /openbmc/u-boot/board/engicam/common/ |
| H A D | board.c | 39 if (!strcmp(cmp_dtb, "imx6q-icore")) { in setenv_fdt_file() 44 } else if (!strcmp(cmp_dtb, "imx6q-icore-mipi")) { in setenv_fdt_file() 49 } else if (!strcmp(cmp_dtb, "imx6q-icore-rqs")) { in setenv_fdt_file() 54 } else if (!strcmp(cmp_dtb, "imx6ul-geam")) in setenv_fdt_file() 56 else if (!strcmp(cmp_dtb, "imx6ul-isiot-mmc")) in setenv_fdt_file() 58 else if (!strcmp(cmp_dtb, "imx6ul-isiot-emmc")) in setenv_fdt_file() 60 else if (!strcmp(cmp_dtb, "imx6ul-isiot-nand")) in setenv_fdt_file()
|
| /openbmc/u-boot/drivers/net/pfe_eth/ |
| H A D | pfe_cmd.c | 21 if (argc >= 3 && strcmp(argv[2], "pmem") == 0) { in pfe_command_pe() 22 if (argc >= 4 && strcmp(argv[3], "read") == 0) { in pfe_command_pe() 55 } else if (argc >= 3 && strcmp(argv[2], "dmem") == 0) { in pfe_command_pe() 56 if (argc >= 4 && strcmp(argv[3], "read") == 0) { in pfe_command_pe() 86 } else if (argc >= 4 && strcmp(argv[3], "write") == 0) { in pfe_command_pe() 106 } else if (argc >= 3 && strcmp(argv[2], "lmem") == 0) { in pfe_command_pe() 107 if (argc >= 4 && strcmp(argv[3], "read") == 0) { in pfe_command_pe() 131 } else if (argc >= 4 && strcmp(argv[3], "write") == 0) { in pfe_command_pe() 148 if (strcmp(argv[2], "help") != 0) in pfe_command_pe() 287 if (argc == 4 && strcmp(argv[3], "clear") == 0) in pfe_pe_status() [all …]
|
| /openbmc/qemu/tests/qtest/ |
| H A D | device-plug-test.c | 36 if (!strcmp(qstring_get_str(qstr), id)) { in wait_device_deleted_event() 67 if (strcmp(arch, "i386") == 0 || strcmp(arch, "x86_64") == 0) { in test_pci_unplug_request() 109 if (strcmp(arch, "i386") == 0 || strcmp(arch, "x86_64") == 0) { in test_pci_unplug_json_request() 220 if (!strcmp(arch, "s390x")) { in main() 225 if (!strcmp(arch, "ppc64")) { in main() 234 if (!strcmp(arch, "x86_64") && qtest_has_machine("q35")) { in main()
|
| H A D | prom-env-test.c | 56 if (strcmp(machine, "pseries") == 0) { in test_machine() 91 if (!strcmp(arch, "ppc")) { in main() 93 } else if (!strcmp(arch, "ppc64")) { in main() 98 } else if (!strcmp(arch, "sparc")) { in main() 100 } else if (!strcmp(arch, "sparc64")) { in main()
|
| /openbmc/sdbusplus/test/vtable/ |
| H A D | vtable.cpp | 56 return strcmp(t1.x.method.member, t2.x.method.member) == 0 && in operator ==() 57 strcmp(t1.x.method.signature, t2.x.method.signature) == 0 && in operator ==() 58 strcmp(t1.x.method.result, t2.x.method.result) == 0 && in operator ==() 61 strcmp(t1.x.method.names, t2.x.method.names) == 0; in operator ==() 63 return strcmp(t1.x.signal.member, t2.x.signal.member) == 0 && in operator ==() 64 strcmp(t1.x.signal.signature, t2.x.signal.signature) == 0 && in operator ==() 65 strcmp(t1.x.signal.names, t2.x.signal.names) == 0; in operator ==() 68 return strcmp(t1.x.property.member, t2.x.property.member) == 0 && in operator ==() 69 strcmp(t1.x.property.signature, t2.x.property.signature) == in operator ==()
|
| /openbmc/qemu/system/ |
| H A D | rtc.c | 151 if (!strcmp(value, "utc")) { in configure_rtc() 153 } else if (!strcmp(value, "localtime")) { in configure_rtc() 163 if (!strcmp(value, "host")) { in configure_rtc() 165 } else if (!strcmp(value, "rt")) { in configure_rtc() 167 } else if (!strcmp(value, "vm")) { in configure_rtc() 176 if (!strcmp(value, "slew")) { in configure_rtc() 184 } else if (!strcmp(value, "none")) { in configure_rtc()
|
| /openbmc/u-boot/board/Arcturus/ucp1020/ |
| H A D | cmd_arc.c | 131 if (strcmp(smac[2], "00:00:00:00:00:00") == 0) in get_arc_info() 140 if (strcmp(ret, __stringify(CONFIG_ETHADDR)) == 0) { in get_arc_info() 148 if (strcmp(smac[1], "00:00:00:00:00:00") == 0) { in get_arc_info() 160 if (strcmp(ret, __stringify(CONFIG_ETH1ADDR)) == 0) { in get_arc_info() 168 if (strcmp(smac[0], "00:00:00:00:00:00") == 0) { in get_arc_info() 179 if (strcmp(ret, __stringify(CONFIG_ETH2ADDR)) == 0) { in get_arc_info() 199 if (strcmp(cmd, "product") == 0) { in do_arc_cmd() 203 if (strcmp(cmd, "info") == 0) { in do_arc_cmd()
|
| /openbmc/u-boot/board/egnite/ethernut5/ |
| H A D | ethernut5_pwrman.c | 160 if (strcmp(pwrman_feat[j], names[i]) == 0) { in feature_flags() 225 } else if (argc == 2 && strcmp(argv[1], "reset") == 0) { in do_pwrman() 230 } else if (argc == 2 && strcmp(argv[1], "temp") == 0) { in do_pwrman() 232 } else if (argc == 2 && strcmp(argv[1], "vaux") == 0) { in do_pwrman() 234 } else if (argc == 2 && strcmp(argv[1], "version") == 0) { in do_pwrman() 236 } else if (strcmp(argv[1], "led") == 0) { in do_pwrman() 275 if (strcmp(argv[i + 1], "on") == 0) { in do_pwrman() 279 } else if (strcmp(argv[i + 1], "off") == 0) { in do_pwrman()
|
| /openbmc/libcper/cli-app/ |
| H A D | cper-convert.c | 27 if (argc == 2 && strcmp(argv[1], "--help") == 0) { in main() 45 if (strcmp(argv[i], "--out") == 0 && i < argc - 1) { in main() 49 } else if (strcmp(argv[i], "--specification") == 0 && in main() 54 } else if (strcmp(argv[i], "--no-validate") == 0) { in main() 59 } else if (strcmp(argv[i], "--debug") == 0) { in main() 73 if (strcmp(argv[1], "to-json") == 0) { in main() 75 } else if (strcmp(argv[1], "to-json-section") == 0) { in main() 77 } else if (strcmp(argv[1], "to-cper") == 0) { in main()
|
| /openbmc/u-boot/arch/arm/mach-uniphier/dram/ |
| H A D | cmd_ddrmphy.c | 310 if (!strcmp(cmd, "zq") || !strcmp(cmd, "all")) in do_ddrm() 313 if (!strcmp(cmd, "wbdl") || !strcmp(cmd, "all")) in do_ddrm() 316 if (!strcmp(cmd, "rbdl") || !strcmp(cmd, "all")) in do_ddrm() 319 if (!strcmp(cmd, "wld") || !strcmp(cmd, "all")) in do_ddrm() 322 if (!strcmp(cmd, "dqsgd") || !strcmp(cmd, "all")) in do_ddrm() 325 if (!strcmp(cmd, "mdl") || !strcmp(cmd, "all")) in do_ddrm() 328 if (!strcmp(cmd, "reg") || !strcmp(cmd, "all")) in do_ddrm()
|
| H A D | cmd_ddrphy.c | 280 if (!strcmp(cmd, "wbdl") || !strcmp(cmd, "all")) in do_ddr() 283 if (!strcmp(cmd, "rbdl") || !strcmp(cmd, "all")) in do_ddr() 286 if (!strcmp(cmd, "wld") || !strcmp(cmd, "all")) in do_ddr() 289 if (!strcmp(cmd, "dqsgd") || !strcmp(cmd, "all")) in do_ddr() 292 if (!strcmp(cmd, "mdl") || !strcmp(cmd, "all")) in do_ddr() 295 if (!strcmp(cmd, "reg") || !strcmp(cmd, "all")) in do_ddr()
|
| /openbmc/u-boot/board/cavium/thunderx/ |
| H A D | atf.c | 234 if ((argc == 5) && !strcmp(argv[1], "readmmc")) { in do_atf() 240 } else if ((argc == 5) && !strcmp(argv[1], "readnor")) { in do_atf() 246 } else if ((argc == 5) && !strcmp(argv[1], "writemmc")) { in do_atf() 252 } else if ((argc == 5) && !strcmp(argv[1], "writenor")) { in do_atf() 258 } else if ((argc == 2) && !strcmp(argv[1], "part")) { in do_atf() 260 } else if ((argc == 4) && !strcmp(argv[1], "erasenor")) { in do_atf() 265 } else if ((argc == 2) && !strcmp(argv[1], "envcount")) { in do_atf() 268 } else if ((argc == 3) && !strcmp(argv[1], "envstring")) { in do_atf() 275 } else if ((argc == 3) && !strcmp(argv[1], "dramsize")) { in do_atf() 279 } else if ((argc == 2) && !strcmp(argv[1], "nodes")) { in do_atf() [all …]
|
| /openbmc/google-misc/subprojects/dhcp-done/ |
| H A D | update-dhcp-status.cpp | 18 if (std::strcmp(state, "DONE") == 0) in genStatusCode() 22 else if (std::strcmp(state, "POWERCYCLE") == 0) in genStatusCode() 26 else if (std::strcmp(state, "ONGOING") == 0) in genStatusCode() 30 else if (std::strcmp(state, "REBOOT") == 0) in genStatusCode()
|
| /openbmc/u-boot/drivers/power/ |
| H A D | power_core.c | 71 if (strcmp(p->name, s) == 0) { in pmic_get() 133 if (strcmp(argv[1], "list") == 0) { in do_pmic() 149 if (strcmp(cmd, "dump") == 0) { in do_pmic() 155 if (strcmp(cmd, "read") == 0) { in do_pmic() 170 if (strcmp(cmd, "write") == 0) { in do_pmic() 181 if (strcmp(cmd, "bat") == 0) { in do_pmic() 190 if (strcmp(argv[3], "state") == 0) in do_pmic() 193 if (strcmp(argv[3], "charge") == 0) { in do_pmic()
|
| /openbmc/qemu/hw/ppc/ |
| H A D | spapr_vof.c | 123 if (strcmp(path, "/rtas") == 0) { in spapr_vof_setprop() 124 if (strcmp(propname, "linux,rtas-base") == 0 || in spapr_vof_setprop() 125 strcmp(propname, "linux,rtas-entry") == 0) { in spapr_vof_setprop() 131 if (strcmp(path, "/chosen") == 0) { in spapr_vof_setprop() 132 if (strcmp(propname, "bootargs") == 0) { in spapr_vof_setprop() 139 if (strcmp(propname, "linux,initrd-start") == 0) { in spapr_vof_setprop() 150 if (strcmp(propname, "linux,initrd-end") == 0) { in spapr_vof_setprop()
|
| /openbmc/obmc-console/test/ |
| H A D | test-config-resolve-console-id.c | 35 assert(!strcmp(console_id, TEST_CONSOLE_ID)); in test_independence_cmdline_optarg() 48 assert(!strcmp(console_id, TEST_CONSOLE_ID)); in test_independence_config_console_id() 65 assert(!strcmp(console_id, DEFAULT_CONSOLE_ID)); in test_independence_config_socket_id() 78 assert(!strcmp(console_id, DEFAULT_CONSOLE_ID)); in test_independence_default() 92 assert(!strcmp(console_id, TEST_CONSOLE_ID)); in test_precedence_cmdline_optarg() 106 assert(!strcmp(console_id, "console")); in test_precedence_config_console_id()
|