Home
last modified time | relevance | path

Searched refs:strcmp (Results 1 – 25 of 2864) sorted by relevance

12345678910>>...115

/openbmc/linux/tools/testing/selftests/powerpc/pmu/sampling_tests/
H A Dmisc.c312 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/tests/
H A Dhists_output.c182 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "perf") && in test1()
183 !strcmp(SYM(he), "main") && he->stat.period == 200); in test1()
188 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "[kernel]") && in test1()
189 !strcmp(SYM(he), "page_fault") && he->stat.period == 100); in test1()
194 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "bash") && in test1()
195 !strcmp(SYM(he), "main") && he->stat.period == 100); in test1()
200 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "bash") && in test1()
201 !strcmp(SYM(he), "xmalloc") && he->stat.period == 100); in test1()
206 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "[kernel]") && in test1()
207 !strcmp(SYM(he), "page_fault") && he->stat.period == 100); in test1()
[all …]
/openbmc/linux/tools/perf/util/
H A Dperf_regs.c30 if (!strcmp(arch, "csky")) in perf_reg_name()
32 else if (!strcmp(arch, "loongarch")) in perf_reg_name()
34 else if (!strcmp(arch, "mips")) in perf_reg_name()
36 else if (!strcmp(arch, "powerpc")) 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()
[all …]
/openbmc/linux/tools/perf/arch/csky/annotate/
H A Dinstructions.c12 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()
16 !strcmp(name, "bnezad") || in csky__associate_ins_ops()
17 !strcmp(name, "bhsz") || in csky__associate_ins_ops()
18 !strcmp(name, "bhz") || in csky__associate_ins_ops()
19 !strcmp(name, "blsz") || in csky__associate_ins_ops()
20 !strcmp(name, "blz") || in csky__associate_ins_ops()
21 !strcmp(name, "br") || in csky__associate_ins_ops()
[all …]
/openbmc/linux/drivers/target/iscsi/
H A Discsi_target_parameters.c443 if (!strcmp(param->name, AUTHMETHOD)) { in iscsi_set_keys_to_negotiate()
445 } else if (!strcmp(param->name, HEADERDIGEST)) { in iscsi_set_keys_to_negotiate()
448 } else if (!strcmp(param->name, DATADIGEST)) { in iscsi_set_keys_to_negotiate()
451 } else if (!strcmp(param->name, MAXCONNECTIONS)) { in iscsi_set_keys_to_negotiate()
453 } else if (!strcmp(param->name, TARGETNAME)) { in iscsi_set_keys_to_negotiate()
455 } else if (!strcmp(param->name, INITIATORNAME)) { in iscsi_set_keys_to_negotiate()
457 } else if (!strcmp(param->name, TARGETALIAS)) { in iscsi_set_keys_to_negotiate()
460 } else if (!strcmp(param->name, INITIATORALIAS)) { in iscsi_set_keys_to_negotiate()
462 } else if (!strcmp(param->name, TARGETPORTALGROUPTAG)) { in iscsi_set_keys_to_negotiate()
464 } else if (!strcmp(param->name, INITIALR2T)) { in iscsi_set_keys_to_negotiate()
[all …]
/openbmc/u-boot/drivers/usb/gadget/
H A Dgadget_chips.h18 #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/linux/fs/orangefs/
H A Dorangefs-sysfs.c195 if (!strcmp(kobj->name, PC_KOBJ_ID) || in orangefs_attr_store()
196 !strcmp(kobj->name, STATS_KOBJ_ID)) in orangefs_attr_store()
218 if (!strcmp(kobj->name, ORANGEFS_KOBJ_ID)) { in sysfs_int_show()
219 if (!strcmp(attr->attr.name, "op_timeout_secs")) { in sysfs_int_show()
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()
246 } else if (!strcmp(attr->attr.name, in sysfs_int_show()
257 } else if (!strcmp(kobj->name, STATS_KOBJ_ID)) { in sysfs_int_show()
258 if (!strcmp(attr->attr.name, "reads")) { in sysfs_int_show()
[all …]
/openbmc/linux/drivers/macintosh/
H A Dwindfarm_smu_controls.c188 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()
190 !strcmp(l, "CPU A EXHAUST")) in smu_fan_create()
192 else if (!strcmp(l, "Rear Fan 1") || !strcmp(l, "Rear fan 1") || in smu_fan_create()
193 !strcmp(l, "CPU B EXHAUST")) 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()
197 !strcmp(l, "CPU A INTAKE")) in smu_fan_create()
199 else if (!strcmp(l, "Front Fan 1") || !strcmp(l, "Front fan 1") || in smu_fan_create()
200 !strcmp(l, "CPU B INTAKE")) in smu_fan_create()
[all …]
/openbmc/qemu/libdecnumber/
H A DdecContext.c261 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 Decc.c126 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/linux/tools/testing/selftests/bpf/prog_tests/
H A Darg_parsing.c39 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()
83 ASSERT_OK(strcmp("arg_parsing", set.tests[0].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()
87 ASSERT_OK(strcmp("send_signal", set.tests[2].name), "test name"); in test_parse_test_list()
[all …]
/openbmc/qemu/tests/tcg/s390x/
H A Dfma.c59 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/linux/tools/testing/selftests/net/
H A Dioam6_parser.c443 if (!strcmp("out_undef_ns", tname)) in str2id()
445 if (!strcmp("out_no_room", tname)) in str2id()
447 if (!strcmp("out_bit0", tname)) in str2id()
449 if (!strcmp("out_bit1", tname)) in str2id()
451 if (!strcmp("out_bit2", tname)) in str2id()
453 if (!strcmp("out_bit3", tname)) in str2id()
455 if (!strcmp("out_bit4", tname)) in str2id()
457 if (!strcmp("out_bit5", tname)) in str2id()
459 if (!strcmp("out_bit6", tname)) in str2id()
461 if (!strcmp("out_bit7", tname)) in str2id()
[all …]
/openbmc/linux/tools/perf/arch/
H A Dcommon.c156 if (!strcmp(perf_env__arch(NULL), arch)) in perf_env__lookup_binutils_path()
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()
[all …]
/openbmc/u-boot/cmd/
H A Dcros_ec.c29 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 …]
/openbmc/u-boot/test/
H A Dprint_ut.c43 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 …]
/openbmc/linux/arch/x86/pci/
H A Dcommon.c518 if (!strcmp(str, "off")) { in pcibios_setup()
521 } else if (!strcmp(str, "bfsort")) { in pcibios_setup()
524 } else if (!strcmp(str, "nobfsort")) { in pcibios_setup()
529 else if (!strcmp(str, "bios")) { in pcibios_setup()
532 } else if (!strcmp(str, "nobios")) { in pcibios_setup()
535 } else if (!strcmp(str, "biosirq")) { in pcibios_setup()
544 else if (!strcmp(str, "conf1")) { in pcibios_setup()
548 else if (!strcmp(str, "conf2")) { in pcibios_setup()
554 else if (!strcmp(str, "nommconf")) { in pcibios_setup()
558 else if (!strcmp(str, "check_enable_amd_mmconf")) { in pcibios_setup()
[all …]
/openbmc/linux/tools/power/cpupower/utils/
H A Dcpupower.c95 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/u-boot/drivers/net/pfe_eth/
H A Dpfe_cmd.c21 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/linux/include/linux/
H A Dlicense.h7 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/qemu/bsd-user/
H A Dmain.c321 if (!strcmp(r, "-")) { in main()
323 } else if (!strcmp(r, "d")) { in main()
328 } else if (!strcmp(r, "D")) { in main()
333 } else if (!strcmp(r, "E")) { in main()
338 } else if (!strcmp(r, "ignore-environment")) { in main()
341 } else if (!strcmp(r, "U")) { in main()
346 } else if (!strcmp(r, "s")) { in main()
360 } else if (!strcmp(r, "L")) { in main()
362 } else if (!strcmp(r, "p")) { in main()
370 } else if (!strcmp(r, "g")) { in main()
[all …]
/openbmc/linux/tools/perf/
H A Dperf.c105 return (strstarts(var, header) && !strcmp(var + strlen(header), c->cmd)); in same_cmd_with_prefix()
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()
237 } else if (!strcmp(cmd, "--debugfs-dir")) { in handle_options()
247 } else if (!strcmp(cmd, "--buildid-dir")) { in handle_options()
[all …]
/openbmc/linux/tools/power/cpupower/bench/
H A Dparse.c183 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/linux/drivers/media/cec/core/
H A Dcec-pin-error-inj.c90 if (!strcmp(token, "clear")) { in cec_pin_error_inj_parse_line()
99 if (!strcmp(token, "rx-clear")) { in cec_pin_error_inj_parse_line()
105 if (!strcmp(token, "tx-clear")) { in cec_pin_error_inj_parse_line()
115 if (!strcmp(token, "tx-ignore-nack-until-eom")) { in cec_pin_error_inj_parse_line()
119 if (!strcmp(token, "tx-custom-pulse")) { in cec_pin_error_inj_parse_line()
128 if (!strcmp(token, "tx-custom-low-usecs")) { in cec_pin_error_inj_parse_line()
136 if (!strcmp(token, "tx-custom-high-usecs")) { in cec_pin_error_inj_parse_line()
148 if (!strcmp(token, "any")) { in cec_pin_error_inj_parse_line()
162 if (!strcmp(comma, "off")) in cec_pin_error_inj_parse_line()
164 else if (!strcmp(comma, "once")) in cec_pin_error_inj_parse_line()
[all …]
/openbmc/u-boot/board/engicam/common/
H A Dboard.c39 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()

12345678910>>...115