/openbmc/linux/tools/testing/selftests/powerpc/pmu/sampling_tests/ |
H A D | misc.c | 312 if (!strcmp(register_name, "R0")) in __perf_reg_mask() 314 else if (!strcmp(register_name, "R1")) in __perf_reg_mask() 316 else if (!strcmp(register_name, "R2")) in __perf_reg_mask() 318 else if (!strcmp(register_name, "R3")) in __perf_reg_mask() 320 else if (!strcmp(register_name, "R4")) in __perf_reg_mask() 322 else if (!strcmp(register_name, "R5")) in __perf_reg_mask() 324 else if (!strcmp(register_name, "R6")) in __perf_reg_mask() 326 else if (!strcmp(register_name, "R7")) in __perf_reg_mask() 328 else if (!strcmp(register_name, "R8")) in __perf_reg_mask() 330 else if (!strcmp(register_name, "R9")) in __perf_reg_mask() [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | perf_regs.c | 30 if (!strcmp(arch, "csky")) in perf_reg_name() 34 else if (!strcmp(arch, "mips")) in perf_reg_name() 38 else if (!strcmp(arch, "riscv")) in perf_reg_name() 40 else if (!strcmp(arch, "s390")) in perf_reg_name() 42 else if (!strcmp(arch, "x86")) in perf_reg_name() 44 else if (!strcmp(arch, "arm")) in perf_reg_name() 46 else if (!strcmp(arch, "arm64")) in perf_reg_name() 81 if (!strcmp(arch, "arm")) in perf_arch_reg_ip() 85 else if (!strcmp(arch, "csky")) in perf_arch_reg_ip() 97 else if (!strcmp(arch, "x86")) in perf_arch_reg_ip() [all …]
|
/openbmc/linux/tools/perf/tests/ |
H A D | hists_output.c | 182 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "perf") && in test1() 194 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "bash") && in test1() 200 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "bash") && in test1() 218 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "libc") && in test1() 224 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "libc") && in test1() 230 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "perf") && in test1() 336 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "bash") && in test3() 348 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "perf") && in test3() 420 !strcmp(DSO(he), "libc") && !strcmp(SYM(he), "free") && in test4() 426 !strcmp(DSO(he), "bash") && !strcmp(SYM(he), "main") && in test4() [all …]
|
/openbmc/linux/tools/perf/arch/csky/annotate/ |
H A D | instructions.c | 12 if (!strcmp(name, "bt") || in csky__associate_ins_ops() 13 !strcmp(name, "bf") || in csky__associate_ins_ops() 14 !strcmp(name, "bez") || in csky__associate_ins_ops() 15 !strcmp(name, "bnez") || in csky__associate_ins_ops() 17 !strcmp(name, "bhsz") || in csky__associate_ins_ops() 18 !strcmp(name, "bhz") || in csky__associate_ins_ops() 20 !strcmp(name, "blz") || in csky__associate_ins_ops() 21 !strcmp(name, "br") || in csky__associate_ins_ops() 23 !strcmp(name, "jmp")) in csky__associate_ins_ops() 29 !strcmp(name, "jsr")) in csky__associate_ins_ops() [all …]
|
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | gadget_chips.h | 18 #define gadget_is_net2280(g) (!strcmp("net2280", (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)) 95 #define gadget_is_at91(g) (!strcmp("at91_udc", (g)->name)) [all …]
|
/openbmc/linux/drivers/target/iscsi/ |
H A D | iscsi_target_parameters.c | 743 if (!strcmp(key, "CHAP_A") || !strcmp(key, "CHAP_I") || in iscsi_check_for_auth_key() 744 !strcmp(key, "CHAP_C") || !strcmp(key, "CHAP_N") || in iscsi_check_for_auth_key() 751 if (!strcmp(key, "SRP_U") || !strcmp(key, "SRP_N") || in iscsi_check_for_auth_key() 752 !strcmp(key, "SRP_g") || !strcmp(key, "SRP_s") || in iscsi_check_for_auth_key() 753 !strcmp(key, "SRP_A") || !strcmp(key, "SRP_B") || in iscsi_check_for_auth_key() 754 !strcmp(key, "SRP_M") || !strcmp(key, "SRP_HM")) in iscsi_check_for_auth_key() 800 if (strcmp(value, YES) && strcmp(value, NO)) { in iscsi_check_boolean_value() 882 if (strcmp(value, KRB5) && strcmp(value, SPKM1) && in iscsi_check_string_or_list_value() 883 strcmp(value, SPKM2) && strcmp(value, SRP) && in iscsi_check_string_or_list_value() 884 strcmp(value, CHAP) && strcmp(value, NONE)) { in iscsi_check_string_or_list_value() [all …]
|
/openbmc/linux/drivers/macintosh/ |
H A D | windfarm_smu_controls.c | 188 if (!strcmp(l, "Rear Fan 0") || !strcmp(l, "Rear Fan") || in smu_fan_create() 189 !strcmp(l, "Rear fan 0") || !strcmp(l, "Rear fan") || in smu_fan_create() 192 else if (!strcmp(l, "Rear Fan 1") || !strcmp(l, "Rear fan 1") || in smu_fan_create() 195 else if (!strcmp(l, "Front Fan 0") || !strcmp(l, "Front Fan") || in smu_fan_create() 196 !strcmp(l, "Front fan 0") || !strcmp(l, "Front fan") || in smu_fan_create() 199 else if (!strcmp(l, "Front Fan 1") || !strcmp(l, "Front fan 1") || in smu_fan_create() 206 else if (!strcmp(l, "Slots Fan") || !strcmp(l, "Slots fan") || in smu_fan_create() 209 else if (!strcmp(l, "Drive Bay") || !strcmp(l, "Drive bay") || in smu_fan_create() 216 if (!strcmp(l, "System Fan") || !strcmp(l, "System fan")) in smu_fan_create() 218 else if (!strcmp(l, "CPU Fan") || !strcmp(l, "CPU fan")) in smu_fan_create() [all …]
|
/openbmc/linux/fs/orangefs/ |
H A D | orangefs-sysfs.c | 225 } else if (!strcmp(attr->attr.name, in sysfs_int_show() 232 } else if (!strcmp(attr->attr.name, in sysfs_int_show() 239 } else if (!strcmp(attr->attr.name, in sysfs_int_show() 332 if (strcmp(kobj->name, PC_KOBJ_ID)) in sysfs_service_op_show() 350 if (strcmp(kobj->name, PC_KOBJ_ID)) in sysfs_service_op_show() 367 else if (!strcmp(attr->attr.name, in sysfs_service_op_show() 371 else if (!strcmp(attr->attr.name, in sysfs_service_op_show() 376 else if (!strcmp(attr->attr.name, in sysfs_service_op_show() 381 else if (!strcmp(attr->attr.name, in sysfs_service_op_show() 386 else if (!strcmp(attr->attr.name, in sysfs_service_op_show() [all …]
|
/openbmc/qemu/libdecnumber/ |
H A D | decContext.c | 261 if (strcmp(string, DEC_Condition_CS)==0) in decContextSetStatusFromString() 263 if (strcmp(string, DEC_Condition_DZ)==0) in decContextSetStatusFromString() 265 if (strcmp(string, DEC_Condition_DI)==0) in decContextSetStatusFromString() 267 if (strcmp(string, DEC_Condition_DU)==0) in decContextSetStatusFromString() 269 if (strcmp(string, DEC_Condition_IE)==0) in decContextSetStatusFromString() 271 if (strcmp(string, DEC_Condition_IS)==0) in decContextSetStatusFromString() 273 if (strcmp(string, DEC_Condition_IC)==0) in decContextSetStatusFromString() 275 if (strcmp(string, DEC_Condition_IO)==0) in decContextSetStatusFromString() 278 if (strcmp(string, DEC_Condition_LD)==0) in decContextSetStatusFromString() 281 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() 139 if (strcmp(argv[1], "sbecnt") == 0) { in do_ecc() 168 if (strcmp(argv[2], "+sbe") == 0) { in do_ecc() 200 if (strcmp(argv[2], "mme") == 0) { in do_ecc() 202 } else if (strcmp(argv[2], "sbe") == 0) { in do_ecc() 244 if (strcmp(argv[2], "en") == 0) in do_ecc() 246 else if (strcmp(argv[2], "dis") == 0) in do_ecc() 258 if (strcmp(argv[2], "en") == 0) in do_ecc() 260 else if (strcmp(argv[2], "dis") == 0) in do_ecc() 270 if (strcmp(argv[1], "testdw") == 0) { in do_ecc() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | arg_parsing.c | 39 ASSERT_OK(strcmp("arg_parsing", set.tests[0].name), "subtest name"); in test_parse_test_list() 50 ASSERT_OK(strcmp("arg_parsing", set.tests[0].name), "test name"); in test_parse_test_list() 51 ASSERT_OK(strcmp("bpf_cookie", set.tests[1].name), "test name"); in test_parse_test_list() 65 ASSERT_OK(strcmp("arg_parsing", set.tests[0].name), "test name"); in test_parse_test_list() 66 ASSERT_OK(strcmp("arg_parsing", set.tests[0].subtests[0]), in test_parse_test_list() 68 ASSERT_OK(strcmp("bpf_cookie", set.tests[1].name), "test name"); in test_parse_test_list() 84 ASSERT_OK(strcmp("arg_parsing", set.tests[0].subtests[0]), in test_parse_test_list() 86 ASSERT_OK(strcmp("bpf_cookie", set.tests[1].name), "test name"); in test_parse_test_list() 109 ASSERT_OK(strcmp("t", set.tests[0].name), "test name"); in test_parse_test_list() 154 ASSERT_OK(strcmp("testA", set.tests[1].name), "test 1 name"); in test_parse_test_list_file() [all …]
|
/openbmc/linux/tools/perf/arch/ |
H A D | common.c | 173 if (!strcmp(arch, "arc")) in perf_env__lookup_binutils_path() 175 else if (!strcmp(arch, "arm")) in perf_env__lookup_binutils_path() 177 else if (!strcmp(arch, "arm64")) in perf_env__lookup_binutils_path() 179 else if (!strcmp(arch, "powerpc")) in perf_env__lookup_binutils_path() 181 else if (!strcmp(arch, "riscv32")) in perf_env__lookup_binutils_path() 183 else if (!strcmp(arch, "riscv64")) in perf_env__lookup_binutils_path() 185 else if (!strcmp(arch, "sh")) in perf_env__lookup_binutils_path() 187 else if (!strcmp(arch, "s390")) in perf_env__lookup_binutils_path() 189 else if (!strcmp(arch, "sparc")) in perf_env__lookup_binutils_path() 191 else if (!strcmp(arch, "x86")) in perf_env__lookup_binutils_path() [all …]
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | ioam6_parser.c | 447 if (!strcmp("out_bit0", tname)) in str2id() 481 if (!strcmp("in_bit0", tname)) in str2id() 483 if (!strcmp("in_bit1", tname)) in str2id() 485 if (!strcmp("in_bit2", tname)) in str2id() 487 if (!strcmp("in_bit3", tname)) in str2id() 489 if (!strcmp("in_bit4", tname)) in str2id() 491 if (!strcmp("in_bit5", tname)) in str2id() 493 if (!strcmp("in_bit6", tname)) in str2id() 495 if (!strcmp("in_bit7", tname)) in str2id() 497 if (!strcmp("in_bit8", tname)) in str2id() [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() 148 } else if (0 == strcmp("hash", cmd)) { in do_cros_ec() 207 } else if (0 == strcmp("read", cmd)) { in do_cros_ec() 211 } else if (0 == strcmp("write", cmd)) { in do_cros_ec() 215 } else if (0 == strcmp("erase", cmd)) { in do_cros_ec() 296 } else if (0 == strcmp("test", cmd)) { in do_cros_ec() [all …]
|
/openbmc/linux/include/linux/ |
H A D | license.h | 7 return (strcmp(license, "GPL") == 0 in license_is_gpl_compatible() 8 || strcmp(license, "GPL v2") == 0 in license_is_gpl_compatible() 9 || strcmp(license, "GPL and additional rights") == 0 in license_is_gpl_compatible() 10 || strcmp(license, "Dual BSD/GPL") == 0 in license_is_gpl_compatible() 11 || strcmp(license, "Dual MIT/GPL") == 0 in license_is_gpl_compatible() 12 || strcmp(license, "Dual MPL/GPL") == 0); in license_is_gpl_compatible()
|
/openbmc/linux/tools/power/cpupower/utils/ |
H A D | cpupower.c | 95 if ((subpage != NULL) && strcmp(subpage, "help")) { in print_man_page() 132 if (!strcmp(param, "-h") || !strcmp(param, "--help")) { in handle_options() 135 } else if (!strcmp(param, "-c") || !strcmp(param, "--cpu")) { in handle_options() 140 if (!strcmp((*argv)[x+1], "all")) in handle_options() 155 } else if (!strcmp(param, "-v") || in handle_options() 156 !strcmp(param, "--version")) { in handle_options() 160 } else if (!strcmp(param, "-d") || !strcmp(param, "--debug")) { in handle_options() 203 if (argc > 1 && !strcmp(argv[1], "--help")) { in main() 219 if (!ret && !strcmp(uts.machine, "x86_64") && in main() 228 if (strcmp(p->cmd, cmd)) in main()
|
/openbmc/linux/arch/x86/pci/ |
H A D | common.c | 518 if (!strcmp(str, "off")) { in pcibios_setup() 521 } else if (!strcmp(str, "bfsort")) { in pcibios_setup() 529 else if (!strcmp(str, "bios")) { in pcibios_setup() 544 else if (!strcmp(str, "conf1")) { in pcibios_setup() 548 else if (!strcmp(str, "conf2")) { in pcibios_setup() 563 else if (!strcmp(str, "noacpi")) { in pcibios_setup() 567 else if (!strcmp(str, "noearly")) { in pcibios_setup() 580 } else if (!strcmp(str, "rom")) { in pcibios_setup() 583 } else if (!strcmp(str, "norom")) { in pcibios_setup() 586 } else if (!strcmp(str, "nobar")) { in pcibios_setup() [all …]
|
/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() 56 if (argc >= 4 && strcmp(argv[3], "read") == 0) { in pfe_command_pe() 107 if (argc >= 4 && strcmp(argv[3], "read") == 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() 341 if (argc >= 3 && strcmp(argv[2], "pe") == 0) { in pfe_command_status() 473 if (strcmp(argv[1], "pe") == 0) { in pfe_command() 475 } else if (strcmp(argv[1], "status") == 0) { in pfe_command() 477 } else if (strcmp(argv[1], "expt") == 0) { in pfe_command() [all …]
|
/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/linux/tools/power/cpupower/bench/ |
H A D | parse.c | 183 if (strcmp("sleep", opt) == 0) in prepare_config() 186 else if (strcmp("load", opt) == 0) in prepare_config() 189 else if (strcmp("load_step", opt) == 0) in prepare_config() 192 else if (strcmp("sleep_step", opt) == 0) in prepare_config() 195 else if (strcmp("cycles", opt) == 0) in prepare_config() 198 else if (strcmp("rounds", opt) == 0) in prepare_config() 201 else if (strcmp("verbose", opt) == 0) in prepare_config() 204 else if (strcmp("output", opt) == 0) in prepare_config() 207 else if (strcmp("cpu", opt) == 0) in prepare_config() 210 else if (strcmp("governor", opt) == 0) { in prepare_config() [all …]
|
/openbmc/qemu/bsd-user/ |
H A D | main.c | 319 if (!strcmp(r, "-")) { in main() 321 } else if (!strcmp(r, "d")) { in main() 326 } else if (!strcmp(r, "D")) { in main() 331 } else if (!strcmp(r, "E")) { in main() 339 } else if (!strcmp(r, "U")) { in main() 344 } else if (!strcmp(r, "s")) { in main() 358 } else if (!strcmp(r, "L")) { in main() 360 } else if (!strcmp(r, "p")) { in main() 368 } else if (!strcmp(r, "g")) { in main() 370 } else if (!strcmp(r, "r")) { in main() [all …]
|
/openbmc/linux/tools/verification/rv/src/ |
H A D | rv.c | 61 if (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help")) in rv_list() 100 } else if (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help")) { in rv_mon() 170 if (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help")) in main() 173 if (!strcmp(argv[1], "list")) in main() 176 if (!strcmp(argv[1], "mon")) { in main()
|
/openbmc/linux/tools/perf/ |
H A D | perf.c | 194 if (!strcmp(cmd, "--help") || !strcmp(cmd, "--version")) in handle_options() 201 if (!strcmp(cmd, "-h")) { in handle_options() 206 if (!strcmp(cmd, "-v")) { in handle_options() 211 if (!strcmp(cmd, "-vv")) { in handle_options() 228 } else if (!strcmp(cmd, "--html-path")) { in handle_options() 231 } else if (!strcmp(cmd, "-p") || !strcmp(cmd, "--paginate")) { in handle_options() 233 } else if (!strcmp(cmd, "--no-pager")) { in handle_options() 262 } else if (!strcmp(cmd, "--list-cmds")) { in handle_options() 271 } else if (!strcmp(cmd, "--list-opts")) { in handle_options() 280 } else if (!strcmp(cmd, "--debug")) { in handle_options() [all …]
|