/openbmc/u-boot/drivers/usb/common/ |
H A D | common.c | 36 if (!strcmp(dr_mode, usb_dr_modes[i])) in usb_get_dr_mode() 64 if (!strcmp(max_speed, speed_names[i])) in usb_get_maximum_speed()
|
/openbmc/linux/include/linux/ |
H A D | posix_acl_xattr.h | 63 if (strcmp(name, XATTR_NAME_POSIX_ACL_ACCESS) == 0) in posix_acl_type() 65 else if (strcmp(name, XATTR_NAME_POSIX_ACL_DEFAULT) == 0) in posix_acl_type()
|
/openbmc/qemu/hw/sensor/ |
H A D | adm1272.c | 419 if (strcmp(name, "vin") == 0 || strcmp(name, "vout") == 0) { in adm1272_get() 421 } else if (strcmp(name, "iout") == 0) { in adm1272_get() 423 } else if (strcmp(name, "pin") == 0) { in adm1272_get() 443 if (strcmp(name, "vin") == 0 || strcmp(name, "vout") == 0) { in adm1272_set() 445 } else if (strcmp(name, "iout") == 0) { in adm1272_set() 447 } else if (strcmp(name, "pin") == 0) { in adm1272_set()
|
/openbmc/linux/arch/powerpc/platforms/powermac/ |
H A D | bootx_init.c | 101 if (strcmp((char *)((unsigned long)pp->name + base), in bootx_early_getprop() 124 if (strcmp(s, str) == 0) in bootx_dt_find_string() 234 if (!strcmp(namep, "/chosen")) { in bootx_scan_dt_build_strings() 256 if (namep == NULL || strcmp(namep, "name") == 0) in bootx_scan_dt_build_strings() 316 if (namep == NULL || !strcmp(namep, "name")) in bootx_scan_dt_build_struct() 319 if (node == bootx_node_chosen && !strcmp(namep, "bootargs")) in bootx_scan_dt_build_struct() 539 && (strcmp(model, "iMac,1") == 0 in bootx_init() 540 || strcmp(model, "PowerMac1,1") == 0)) { in bootx_init()
|
/openbmc/linux/drivers/firmware/efi/libstub/ |
H A D | efi-stub-helper.c | 69 if (!val && !strcmp(param, "--")) in efi_parse_options() 72 if (!strcmp(param, "nokaslr")) { in efi_parse_options() 74 } else if (!strcmp(param, "quiet")) { in efi_parse_options() 76 } else if (!strcmp(param, "noinitrd")) { in efi_parse_options() 78 } else if (IS_ENABLED(CONFIG_X86_64) && !strcmp(param, "no5lvl")) { in efi_parse_options() 81 !strcmp(param, "mem_encrypt") && val) { in efi_parse_options() 86 } else if (!strcmp(param, "efi") && val) { in efi_parse_options() 99 } else if (!strcmp(param, "video") && in efi_parse_options()
|
/openbmc/skeleton/op-pwrctl/pgood_wait/ |
H A D | pgood_wait.c | 62 if(strcmp(property, "pgood")) in callback() 98 if(!strcmp(argv[2], "on")) in main() 100 if(!strcmp(argv[2], "off")) in main()
|
/openbmc/linux/security/lockdown/ |
H A D | lockdown.c | 42 if (strcmp(level, "integrity") == 0) in lockdown_param() 44 else if (strcmp(level, "confidentiality") == 0) in lockdown_param() 136 if (label && !strcmp(state, label)) in lockdown_write()
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | transhuge-stress.c | 45 if (!strcmp(argv[i], "-h")) in main() 47 else if (!strcmp(argv[i], "-f")) in main() 49 else if (!strcmp(argv[i], "-d")) in main()
|
/openbmc/linux/security/integrity/platform_certs/ |
H A D | load_powerpc.c | 78 if (strcmp("ibm,edk2-compat-v1", buf) && strcmp("ibm,plpks-sb-v1", buf)) { in load_powerpc_certs() 83 if (strcmp("ibm,plpks-sb-v1", buf) == 0) in load_powerpc_certs()
|
/openbmc/linux/samples/bpf/ |
H A D | tracex3_user.c | 116 if (strcmp(argv[i], "-a") == 0) { in main() 118 } else if (strcmp(argv[i], "-t") == 0) { in main() 120 } else if (strcmp(argv[i], "-h") == 0) { in main()
|
/openbmc/qemu/tests/qtest/ |
H A D | ivshmem-test.c | 111 if (strcmp(arch, "i386") == 0 || strcmp(arch, "x86_64") == 0) { in setup_vm_cmd() 113 } else if (strcmp(arch, "ppc64") == 0) { in setup_vm_cmd() 402 if (strcmp(arch, "i386") == 0 || strcmp(arch, "x86_64") == 0) { in test_ivshmem_hotplug() 412 if (strcmp(arch, "ppc64") != 0) { in test_ivshmem_hotplug() 512 if (!strcmp(arch, "x86_64") && qtest_has_machine("q35")) { in main()
|
/openbmc/linux/scripts/ |
H A D | sorttable.h | 308 if (!strcmp(secstrings + idx, "__ex_table")) { in do_sort() 312 if (!strcmp(secstrings + idx, ".symtab")) in do_sort() 314 if (!strcmp(secstrings + idx, ".strtab")) in do_sort() 329 if (!strcmp(secstrings + idx, ".init.data")) { in do_sort() 340 if (!strcmp(secstrings + idx, ".orc_unwind_ip")) { in do_sort() 345 if (!strcmp(secstrings + idx, ".orc_unwind")) { in do_sort() 434 if (!strcmp(strtab + r(&sym->st_name), in do_sort()
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | vesafb.c | 220 if (! strcmp(this_opt, "inverse")) in vesafb_setup() 222 else if (! strcmp(this_opt, "redraw")) in vesafb_setup() 224 else if (! strcmp(this_opt, "ypan")) in vesafb_setup() 226 else if (! strcmp(this_opt, "ywrap")) in vesafb_setup() 228 else if (! strcmp(this_opt, "vgapal")) in vesafb_setup() 230 else if (! strcmp(this_opt, "pmipal")) in vesafb_setup() 234 else if (! strcmp(this_opt, "nomtrr")) in vesafb_setup()
|
/openbmc/debug-trigger/ |
H A D | main.c | 185 if (strcmp(iface, "xyz.openbmc_project.Common.Progress")) in dbus_sink_dump_progress() 213 if (!strcmp(member, "Status")) { in dbus_sink_dump_progress() 253 if (!strcmp(status, "xyz.openbmc_project.Common.Progress.OperationStatus.Completed")) { in dbus_sink_dump_progress() 348 if (!strcmp(status, "xyz.openbmc_project.Common.Progress.OperationStatus.Completed")) { in dbus_sink_debug() 563 if (!sink_actions || !strcmp("sysrq", sink_actions)) { in main() 585 if (sink_actions && !strcmp("dbus", sink_actions)) { in main()
|
/openbmc/qemu/monitor/ |
H A D | hmp-cmds.c | 131 if (!strcmp(op, "on")) { in hmp_sync_profile() 133 } else if (!strcmp(op, "off")) { in hmp_sync_profile() 135 } else if (!strcmp(op, "reset")) { in hmp_sync_profile() 184 if (strcmp(device, "vnc") == 0) { in hmp_change() 291 if (!strcmp(items, "none")) { in hmp_log() 316 } else if (strcmp(device, "none") == 0) { in hmp_gdbserver()
|
/openbmc/linux/drivers/usb/dwc3/ |
H A D | dwc3-octeon.c | 438 if (strcmp("dlmc_ref_clk0", ss_clock_type) == 0) { in dwc3_octeon_probe() 439 if (strcmp(hs_clock_type, "dlmc_ref_clk0") == 0) in dwc3_octeon_probe() 441 else if (strcmp(hs_clock_type, "pll_ref_clk")) in dwc3_octeon_probe() 444 } else if (strcmp(ss_clock_type, "dlmc_ref_clk1") == 0) { in dwc3_octeon_probe() 445 if (strcmp(hs_clock_type, "dlmc_ref_clk1") == 0) { in dwc3_octeon_probe() 449 if (strcmp(hs_clock_type, "pll_ref_clk")) in dwc3_octeon_probe()
|
/openbmc/linux/arch/mips/txx9/generic/ |
H A D | pci.c | 404 if (!strcmp(str, "picmg")) { in txx9_pcibios_setup() 409 } else if (!strcmp(str, "nopicmg")) { in txx9_pcibios_setup() 417 if (strcmp(val, "33") == 0) in txx9_pcibios_setup() 419 else if (strcmp(val, "66") == 0) in txx9_pcibios_setup() 425 if (!strcmp(str + 4, "panic")) in txx9_pcibios_setup() 427 else if (!strcmp(str + 4, "ignore")) in txx9_pcibios_setup()
|
/openbmc/linux/drivers/staging/rtl8723bs/os_dep/ |
H A D | ioctl_linux.c | 70 if (strcmp(param->u.crypt.alg, "WEP") == 0) in wpa_set_encryption() 81 if (strcmp(param->u.crypt.alg, "WEP") == 0) { in wpa_set_encryption() 146 if (strcmp(param->u.crypt.alg, "none") != 0) in wpa_set_encryption() 168 if (strcmp(param->u.crypt.alg, "TKIP") == 0 || strcmp(param->u.crypt.alg, "CCMP") == 0) { in wpa_set_encryption() 180 } else if (strcmp(param->u.crypt.alg, "BIP") == 0) { in wpa_set_encryption() 199 if (strcmp(param->u.crypt.alg, "none") != 0) in wpa_set_encryption() 551 if (strcmp(param->u.crypt.alg, "none") == 0 && !psta) { in rtw_set_encryption() 562 if (strcmp(param->u.crypt.alg, "WEP") == 0 && !psta) { in rtw_set_encryption() 621 if (strcmp(param->u.crypt.alg, "WEP") == 0) { in rtw_set_encryption() 671 if (strcmp(param->u.crypt.alg, "WEP") == 0) { in rtw_set_encryption() [all …]
|
/openbmc/linux/arch/s390/tools/ |
H A D | gen_opcode_table.c | 144 if (!strcmp(base_format, *ptr)) in insn_format_to_type() 177 return strcmp(((struct insn *)a)->format, ((struct insn *)b)->format); in cmpformat() 190 if (!strcmp(format, desc->insn[i].format)) in print_formats() 201 return strcmp(((struct insn *)a)->name, ((struct insn *)b)->name); in cmp_long_insn() 268 return strcmp(((struct insn *)a)->opcode, ((struct insn *)b)->opcode); in cmpopcode()
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | acpi.c | 54 if (strcmp(arg, "off") == 0) in parse_acpi() 56 else if (strcmp(arg, "on") == 0) /* prefer ACPI over DT */ in parse_acpi() 58 else if (strcmp(arg, "force") == 0) /* force ACPI to be enabled */ in parse_acpi() 73 if (strcmp(name, "chosen") == 0) in dt_is_stub() 75 if (strcmp(name, "hypervisor") == 0 && in dt_is_stub()
|
/openbmc/u-boot/board/freescale/t208xrdb/ |
H A D | cpld.c | 53 if (strcmp(argv[1], "reset") == 0) { in do_cpld() 54 if (strcmp(argv[2], "altbank") == 0) in do_cpld()
|
/openbmc/linux/tools/perf/ |
H A D | builtin-daemon.c | 138 if (!strcmp(session->name, name)) in daemon__find_session() 188 if (!strcmp(var, "run")) { in session_config() 192 same = !strcmp(session->run, value); in session_config() 569 ret = strcmp(buf, "ack\n"); in daemon_session__control() 768 all = !strcmp(cmd->signal.name, "all"); in cmd_session_kill() 791 all = !strcmp(cmd->ping.name, "all"); in cmd_session_ping() 1066 if (!strcmp(event->name, daemon->config_base)) in process_inotify_event() 1525 if (!strcmp(argv[0], "start")) in cmd_daemon() 1527 else if (!strcmp(argv[0], "signal")) in cmd_daemon() 1529 else if (!strcmp(argv[0], "stop")) in cmd_daemon() [all …]
|
/openbmc/linux/drivers/scsi/bfa/ |
H A D | bfad_attr.c | 745 if (!strcmp(model, "QLogic-425")) in bfad_im_model_desc_show() 748 else if (!strcmp(model, "QLogic-825")) in bfad_im_model_desc_show() 751 else if (!strcmp(model, "QLogic-42B")) in bfad_im_model_desc_show() 754 else if (!strcmp(model, "QLogic-82B")) in bfad_im_model_desc_show() 757 else if (!strcmp(model, "QLogic-1010")) in bfad_im_model_desc_show() 760 else if (!strcmp(model, "QLogic-1020")) in bfad_im_model_desc_show() 766 else if (!strcmp(model, "QLogic-415")) in bfad_im_model_desc_show() 769 else if (!strcmp(model, "QLogic-815")) in bfad_im_model_desc_show() 772 else if (!strcmp(model, "QLogic-41B")) in bfad_im_model_desc_show() 775 else if (!strcmp(model, "QLogic-81B")) in bfad_im_model_desc_show() [all …]
|
/openbmc/skeleton/libopenbmc_intf/ |
H A D | gpio.c | 116 if (strcmp(label, "1e780000.gpio") == 0) in get_gpio_base() 236 if (strcmp(name->valuestring, gpio_name) == 0) in get_gpio_def() 330 req.flags = (strcmp(gpio->direction,"in") == 0) ? GPIOHANDLE_REQUEST_INPUT in gpio_open() 336 if (strcmp(gpio->direction,"out") == 0) in gpio_open()
|
/openbmc/linux/kernel/kcsan/ |
H A D | debugfs.c | 235 if (!strcmp(arg, "on")) { in debugfs_write() 237 } else if (!strcmp(arg, "off")) { in debugfs_write() 245 } else if (!strcmp(arg, "whitelist")) { in debugfs_write() 247 } else if (!strcmp(arg, "blacklist")) { in debugfs_write()
|