Home
last modified time | relevance | path

Searched refs:strcmp (Results 26 – 50 of 2614) sorted by relevance

12345678910>>...105

/openbmc/linux/tools/perf/arch/powerpc/util/
H A Devent.c42 if (!strcmp(se_header, "Local INSTR Latency")) in arch_perf_header_entry()
44 else if (!strcmp(se_header, "INSTR Latency")) in arch_perf_header_entry()
46 else if (!strcmp(se_header, "Local Pipeline Stage Cycle")) in arch_perf_header_entry()
48 else if (!strcmp(se_header, "Pipeline Stage Cycle")) in arch_perf_header_entry()
55 if (!strcmp(sort_key, "p_stage_cyc")) in arch_support_sort_key()
57 if (!strcmp(sort_key, "local_p_stage_cyc")) in arch_support_sort_key()
/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()
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()
166 else if (!strcmp(comma, "always")) in cec_pin_error_inj_parse_line()
180 if (!strcmp(token, "clear")) { in cec_pin_error_inj_parse_line()
184 if (!strcmp(token, "rx-clear")) { in cec_pin_error_inj_parse_line()
188 if (!strcmp(token, "tx-clear")) { in cec_pin_error_inj_parse_line()
[all …]
/openbmc/linux/tools/perf/arch/powerpc/annotate/
H A Dinstructions.c36 if (strcmp(name, "bnl") && strcmp(name, "bnl+") && in powerpc__associate_instruction_ops()
37 strcmp(name, "bnl-") && strcmp(name, "bnla") && in powerpc__associate_instruction_ops()
38 strcmp(name, "bnla+") && strcmp(name, "bnla-")) in powerpc__associate_instruction_ops()
/openbmc/linux/crypto/asymmetric_keys/
H A Dpublic_key.c83 if (strcmp(encoding, "pkcs1") == 0) { in software_key_determine_akcipher()
97 if (strcmp(encoding, "raw") != 0) in software_key_determine_akcipher()
107 if (strcmp(encoding, "x962") != 0) in software_key_determine_akcipher()
118 if (strcmp(hash_algo, "sha1") != 0 && in software_key_determine_akcipher()
119 strcmp(hash_algo, "sha224") != 0 && in software_key_determine_akcipher()
120 strcmp(hash_algo, "sha256") != 0 && in software_key_determine_akcipher()
121 strcmp(hash_algo, "sha384") != 0 && in software_key_determine_akcipher()
122 strcmp(hash_algo, "sha512") != 0) in software_key_determine_akcipher()
125 if (strcmp(encoding, "raw") != 0) in software_key_determine_akcipher()
129 if (strcmp(hash_algo, "sm3") != 0) in software_key_determine_akcipher()
[all …]
/openbmc/linux/arch/mips/bcm47xx/
H A Dboard.c247 if (!strcmp(buf1, e1->value1)) in bcm47xx_board_get_nvram()
263 !strcmp(buf2, e2->value2)) in bcm47xx_board_get_nvram()
270 if (!strcmp(buf1, e1->value1)) in bcm47xx_board_get_nvram()
277 if (!strcmp(buf1, e1->value1)) in bcm47xx_board_get_nvram()
286 if (!strcmp(buf1, e1->value1)) in bcm47xx_board_get_nvram()
294 if (!strcmp(buf1, e2->value1) && in bcm47xx_board_get_nvram()
295 !strcmp(buf2, e2->value2)) in bcm47xx_board_get_nvram()
302 if (!strcmp(buf1, e1->value1)) in bcm47xx_board_get_nvram()
313 !strcmp(buf3, e3->value3)) in bcm47xx_board_get_nvram()
323 !strcmp(buf2, e2->value2)) in bcm47xx_board_get_nvram()
[all …]
/openbmc/linux/drivers/clk/renesas/
H A Dclk-r8a7779.c92 if (!strcmp(name, "plla")) { in r8a7779_cpg_register_clock()
95 } else if (!strcmp(name, "z")) { in r8a7779_cpg_register_clock()
98 } else if (!strcmp(name, "zs") || !strcmp(name, "s")) { in r8a7779_cpg_register_clock()
100 } else if (!strcmp(name, "s1")) { in r8a7779_cpg_register_clock()
102 } else if (!strcmp(name, "p")) { in r8a7779_cpg_register_clock()
104 } else if (!strcmp(name, "b") || !strcmp(name, "out")) { in r8a7779_cpg_register_clock()
/openbmc/linux/tools/perf/arch/s390/annotate/
H A Dinstructions.c116 if (!strcmp(name, "bras") || in s390__associate_ins_ops()
117 !strcmp(name, "brasl") || in s390__associate_ins_ops()
118 !strcmp(name, "basr")) in s390__associate_ins_ops()
120 if (!strcmp(name, "br")) in s390__associate_ins_ops()
123 if (!strcmp(name, "lrl") || in s390__associate_ins_ops()
124 !strcmp(name, "lgrl") || in s390__associate_ins_ops()
125 !strcmp(name, "lgfrl") || in s390__associate_ins_ops()
126 !strcmp(name, "llgfrl") || in s390__associate_ins_ops()
127 !strcmp(name, "strl") || in s390__associate_ins_ops()
128 !strcmp(name, "stgrl")) in s390__associate_ins_ops()
/openbmc/u-boot/cmd/
H A Dnand.c201 if (!strcmp(cmd, "get")) { in do_nand_env_oob()
207 } else if (!strcmp(cmd, "set")) { in do_nand_env_oob()
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()
609 !strcmp(s, ".e") || !strcmp(s, ".i")) { in do_nand()
629 } else if (!strcmp(s, ".oob")) { in do_nand()
734 if (strcmp(cmd, "lock") == 0) { in do_nand()
738 if (!strcmp("tight", argv[2])) in do_nand()
[all …]
H A Dlegacy_led.c68 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/sdbusplus/test/vtable/
H A Dvtable.cpp59 return strcmp(t1.x.method.member, t2.x.method.member) == 0 && in operator ==()
60 strcmp(t1.x.method.signature, t2.x.method.signature) == 0 && in operator ==()
61 strcmp(t1.x.method.result, t2.x.method.result) == 0 && in operator ==()
64 strcmp(t1.x.method.names, t2.x.method.names) == 0; in operator ==()
66 return strcmp(t1.x.signal.member, t2.x.signal.member) == 0 && in operator ==()
67 strcmp(t1.x.signal.signature, t2.x.signal.signature) == 0 && in operator ==()
68 strcmp(t1.x.signal.names, t2.x.signal.names) == 0; in operator ==()
71 return strcmp(t1.x.property.member, t2.x.property.member) == 0 && in operator ==()
72 strcmp(t1.x.property.signature, t2.x.property.signature) == in operator ==()
/openbmc/qemu/tests/qtest/
H A Ddevice-plug-test.c45 if (!strcmp(qstring_get_str(qstr), id)) { in wait_device_deleted_event()
76 if (strcmp(arch, "i386") == 0 || strcmp(arch, "x86_64") == 0) { in test_pci_unplug_request()
118 if (strcmp(arch, "i386") == 0 || strcmp(arch, "x86_64") == 0) { in test_pci_unplug_json_request()
229 if (!strcmp(arch, "s390x")) { in main()
234 if (!strcmp(arch, "ppc64")) { in main()
243 if (!strcmp(arch, "x86_64") && qtest_has_machine("q35")) { in main()
/openbmc/linux/drivers/macintosh/
H A Dwindfarm_lm75_sensor.c115 if (!strcmp(loc, "Hard drive") || !strcmp(loc, "DRIVE BAY")) in wf_lm75_probe()
117 else if (!strcmp(loc, "Incoming Air Temp")) in wf_lm75_probe()
119 else if (!strcmp(loc, "ODD Temp")) in wf_lm75_probe()
121 else if (!strcmp(loc, "HD Temp")) in wf_lm75_probe()
123 else if (!strcmp(loc, "PCI SLOTS")) in wf_lm75_probe()
125 else if (!strcmp(loc, "CPU A INLET")) in wf_lm75_probe()
127 else if (!strcmp(loc, "CPU B INLET")) in wf_lm75_probe()
/openbmc/linux/tools/perf/arch/sparc/annotate/
H A Dinstructions.c124 if (!strcmp(name, "call") || in sparc__associate_instruction_ops()
125 !strcmp(name, "jmp") || in sparc__associate_instruction_ops()
126 !strcmp(name, "jmpl")) { in sparc__associate_instruction_ops()
128 } else if (!strcmp(name, "ret") || in sparc__associate_instruction_ops()
129 !strcmp(name, "retl") || in sparc__associate_instruction_ops()
130 !strcmp(name, "return")) { in sparc__associate_instruction_ops()
132 } else if (!strcmp(name, "mov")) { in sparc__associate_instruction_ops()
/openbmc/linux/drivers/parport/
H A Dprobe.c78 if (!strcmp(p, "MFG") || !strcmp(p, "MANUFACTURER")) { in parse_data()
81 } else if (!strcmp(p, "MDL") || !strcmp(p, "MODEL")) { in parse_data()
84 } else if (!strcmp(p, "CLS") || !strcmp(p, "CLASS")) { in parse_data()
91 if (!strcmp(classes[i].token, sep)) { in parse_data()
99 } else if (!strcmp(p, "CMD") || in parse_data()
100 !strcmp(p, "COMMAND SET")) { in parse_data()
107 } else if (!strcmp(p, "DES") || !strcmp(p, "DESCRIPTION")) { in parse_data()
/openbmc/u-boot/arch/arm/mach-uniphier/dram/
H A Dcmd_ddrmphy.c310 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 Dcmd_ddrphy.c280 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 Datf.c234 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()
275 } else if ((argc == 3) && !strcmp(argv[1], "dramsize")) { in do_atf()
279 } else if ((argc == 2) && !strcmp(argv[1], "nodes")) { in do_atf()
282 } else if ((argc == 2) && !strcmp(argv[1], "ver")) { in do_atf()
[all …]
/openbmc/u-boot/board/Arcturus/ucp1020/
H A Dcmd_arc.c131 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 Dethernut5_pwrman.c160 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/linux/tools/tracing/rtla/src/
H A Drtla.c48 if (strcmp(argv[start_position], "osnoise") == 0) { in run_command()
51 } else if (strcmp(argv[start_position], "hwnoise") == 0) { in run_command()
54 } else if (strcmp(argv[start_position], "timerlat") == 0) { in run_command()
76 if (strcmp(argv[1], "-h") == 0) { in main()
78 } else if (strcmp(argv[1], "--help") == 0) { in main()
/openbmc/qemu/system/
H A Drtc.c152 if (!strcmp(value, "utc")) { in configure_rtc()
154 } else if (!strcmp(value, "localtime")) { in configure_rtc()
164 if (!strcmp(value, "host")) { in configure_rtc()
166 } else if (!strcmp(value, "rt")) { in configure_rtc()
168 } else if (!strcmp(value, "vm")) { in configure_rtc()
177 if (!strcmp(value, "slew")) { in configure_rtc()
185 } else if (!strcmp(value, "none")) { in configure_rtc()
/openbmc/linux/arch/s390/boot/
H A Dipl_parm.c271 if (!strcmp(param, "mem") && val) in parse_boot_command_line()
274 if (!strcmp(param, "vmalloc") && val) { in parse_boot_command_line()
279 if (!strcmp(param, "dfltcc") && val) { in parse_boot_command_line()
280 if (!strcmp(val, "off")) in parse_boot_command_line()
282 else if (!strcmp(val, "on")) in parse_boot_command_line()
284 else if (!strcmp(val, "def_only")) in parse_boot_command_line()
286 else if (!strcmp(val, "inf_only")) in parse_boot_command_line()
288 else if (!strcmp(val, "always")) in parse_boot_command_line()
292 if (!strcmp(param, "facilities") && val) in parse_boot_command_line()
295 if (!strcmp(param, "nokaslr")) in parse_boot_command_line()
[all …]
/openbmc/u-boot/drivers/power/
H A Dpower_core.c71 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 Dspapr_vof.c123 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/u-boot/board/freescale/common/
H A Dqixis.c212 } else if (strcmp(argv[1], "altbank") == 0) { in qixis_reset_cmd()
215 } else if (strcmp(argv[1], "nand") == 0) { in qixis_reset_cmd()
226 } else if (strcmp(argv[1], "sd") == 0) { in qixis_reset_cmd()
241 } else if (strcmp(argv[1], "ifc") == 0) { in qixis_reset_cmd()
252 } else if (strcmp(argv[1], "emmc") == 0) { in qixis_reset_cmd()
263 } else if (strcmp(argv[1], "sd_qspi") == 0) { in qixis_reset_cmd()
274 } else if (strcmp(argv[1], "qspi") == 0) { in qixis_reset_cmd()
285 } else if (strcmp(argv[1], "watchdog") == 0) { in qixis_reset_cmd()
295 if (strcmp(argv[2], period[i]) == 0) { in qixis_reset_cmd()
304 } else if (strcmp(argv[1], "dump") == 0) { in qixis_reset_cmd()
[all …]

12345678910>>...105