Home
last modified time | relevance | path

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

12345678910

/arch/x86/pci/
Dcommon.c441 if (!strcmp(str, "off")) { in pcibios_setup()
444 } else if (!strcmp(str, "bfsort")) { in pcibios_setup()
447 } else if (!strcmp(str, "nobfsort")) { in pcibios_setup()
452 else if (!strcmp(str, "bios")) { in pcibios_setup()
455 } else if (!strcmp(str, "nobios")) { in pcibios_setup()
458 } else if (!strcmp(str, "biosirq")) { in pcibios_setup()
467 else if (!strcmp(str, "conf1")) { in pcibios_setup()
471 else if (!strcmp(str, "conf2")) { in pcibios_setup()
477 else if (!strcmp(str, "nommconf")) { in pcibios_setup()
481 else if (!strcmp(str, "check_enable_amd_mmconf")) { in pcibios_setup()
[all …]
/arch/blackfin/lib/
Dstrcmp.c9 #define strcmp __inline_strcmp macro
11 #undef strcmp
15 int strcmp(const char *dest, const char *src) in strcmp() function
19 EXPORT_SYMBOL(strcmp);
/arch/powerpc/platforms/83xx/
Dusb.c49 if (prop && (!strcmp(prop, "utmi") || in mpc834x_usb_cfg()
50 !strcmp(prop, "utmi_wide"))) { in mpc834x_usb_cfg()
54 } else if (prop && !strcmp(prop, "serial")) { in mpc834x_usb_cfg()
56 if (dr_mode && !strcmp(dr_mode, "otg")) { in mpc834x_usb_cfg()
62 } else if (prop && !strcmp(prop, "ulpi")) { in mpc834x_usb_cfg()
139 if (prop && !strcmp(prop, "ulpi")) { in mpc831x_usb_cfg()
171 if (prop && (!strcmp(prop, "utmi_wide") || in mpc831x_usb_cfg()
172 !strcmp(prop, "utmi"))) { in mpc831x_usb_cfg()
183 } else if (prop && !strcmp(prop, "ulpi")) { in mpc831x_usb_cfg()
189 if (dr_mode && !strcmp(dr_mode, "otg")) in mpc831x_usb_cfg()
[all …]
Dmpc837x_mds.c54 if (phy_type && !strcmp(phy_type, "ulpi")) { in mpc837xmds_usb_cfg()
56 } else if (phy_type && !strcmp(phy_type, "serial")) { in mpc837xmds_usb_cfg()
60 if (mode && !strcmp(mode, "peripheral")) in mpc837xmds_usb_cfg()
/arch/blackfin/kernel/
Dmodule.c69 if ((strcmp(".l1.text", secstrings + s->sh_name) == 0) || in module_frob_arch_sections()
70 ((strcmp(".text", secstrings + s->sh_name) == 0) && in module_frob_arch_sections()
84 if ((strcmp(".l1.data", secstrings + s->sh_name) == 0) || in module_frob_arch_sections()
85 ((strcmp(".data", secstrings + s->sh_name) == 0) && in module_frob_arch_sections()
99 if (strcmp(".l1.bss", secstrings + s->sh_name) == 0 || in module_frob_arch_sections()
100 ((strcmp(".bss", secstrings + s->sh_name) == 0) && in module_frob_arch_sections()
114 if (strcmp(".l1.data.B", secstrings + s->sh_name) == 0) { in module_frob_arch_sections()
127 if (strcmp(".l1.bss.B", secstrings + s->sh_name) == 0) { in module_frob_arch_sections()
140 if ((strcmp(".l2.text", secstrings + s->sh_name) == 0) || in module_frob_arch_sections()
141 ((strcmp(".text", secstrings + s->sh_name) == 0) && in module_frob_arch_sections()
[all …]
/arch/s390/mm/
Dpage-states.c26 if (strcmp(parm, "yes") == 0 || strcmp(parm, "on") == 0) { in cmma()
31 if (strcmp(parm, "no") == 0 || strcmp(parm, "off") == 0) in cmma()
/arch/avr32/kernel/
Dnmi_debug.c65 if (strcmp(p, "state") == 0) in nmi_debug_setup()
67 else if (strcmp(p, "regs") == 0) in nmi_debug_setup()
69 else if (strcmp(p, "debounce") == 0) in nmi_debug_setup()
71 else if (strcmp(p, "die") == 0) in nmi_debug_setup()
/arch/sparc/boot/
Dbtfixupprep.c75 if (array[i].type == type && !strcmp(array[i].name, name)) in find()
164 if (strcmp (sect, ".init.text")) { in main()
174 if (!strcmp (sect, ".text.exit")) in main()
176 if (strcmp (sect, ".text") && in main()
177 strcmp (sect, ".init.text") && in main()
178 strcmp (sect, ".fixup") && in main()
179 (strcmp (sect, "__ksymtab") || buffer[nbase+3] != 'f')) { in main()
222 if (!strcmp (sect, "__ksymtab")) { in main()
296 } else if (initval && strcmp(f->initvalstr, initvalstr)) { in main()
308 if (r->offset == offset && !strcmp(r->sect, sect)) { in main()
[all …]
Dpiggyback_32.c85 if (!strcmp (buffer + 8, " T start\n") || !strcmp (buffer + 16, " T start\n")) in main()
87 else if (!strcmp (buffer + 8, " A end\n") || !strcmp (buffer + 16, " A end\n")) in main()
/arch/x86/kernel/
Dio_delay.c117 if (!strcmp(s, "0x80")) in io_delay_param()
119 else if (!strcmp(s, "0xed")) in io_delay_param()
121 else if (!strcmp(s, "udelay")) in io_delay_param()
123 else if (!strcmp(s, "none")) in io_delay_param()
Dmodule_32.c117 if (!strcmp(".text", secstrings + s->sh_name)) in module_finalize()
119 if (!strcmp(".altinstructions", secstrings + s->sh_name)) in module_finalize()
121 if (!strcmp(".smp_locks", secstrings + s->sh_name)) in module_finalize()
123 if (!strcmp(".parainstructions", secstrings + s->sh_name)) in module_finalize()
/arch/sparc/kernel/
Dprom_32.c139 if (!strcmp(parent->type, "pci") || in __build_path_component()
140 !strcmp(parent->type, "pciex")) in __build_path_component()
142 if (!strcmp(parent->type, "sbus")) in __build_path_component()
144 if (!strcmp(parent->type, "ebus")) in __build_path_component()
216 if (!strcmp(type, "serial")) { in of_console_init()
246 if (strcmp(type, "display") && strcmp(type, "serial")) { in of_console_init()
Dprom_64.c311 if (!strcmp(parent->type, "pci") || in __build_path_component()
312 !strcmp(parent->type, "pciex")) { in __build_path_component()
316 if (!strcmp(parent->type, "sbus")) { in __build_path_component()
320 if (!strcmp(parent->type, "upa")) { in __build_path_component()
324 if (!strcmp(parent->type, "ebus")) { in __build_path_component()
328 if (!strcmp(parent->name, "usb") || in __build_path_component()
329 !strcmp(parent->name, "hub")) { in __build_path_component()
333 if (!strcmp(parent->type, "i2c")) { in __build_path_component()
337 if (!strcmp(parent->type, "firewire")) { in __build_path_component()
341 if (!strcmp(parent->type, "virtual-devices")) { in __build_path_component()
[all …]
Dsetup_32.c224 if (!strcmp(&cputypval,"sun4 ")) in setup_arch()
226 if (!strcmp(&cputypval,"sun4c")) in setup_arch()
228 if (!strcmp(&cputypval,"sun4m")) in setup_arch()
230 if (!strcmp(&cputypval,"sun4s")) in setup_arch()
232 if (!strcmp(&cputypval,"sun4d")) in setup_arch()
234 if (!strcmp(&cputypval,"sun4e")) in setup_arch()
236 if (!strcmp(&cputypval,"sun4u")) in setup_arch()
Dprom_irqtrans.c195 if (!strcmp(parent->type, "pci")) in sabre_device_needs_wsync()
206 (!strcmp(parent_model, "SUNW,sabre") || in sabre_device_needs_wsync()
207 !strcmp(parent_model, "SUNW,simba"))) in sabre_device_needs_wsync()
213 (!strcmp(parent_compat, "pci108e,a000") || in sabre_device_needs_wsync()
214 !strcmp(parent_compat, "pci108e,a001"))) in sabre_device_needs_wsync()
727 if (!strcmp(dp->name, "eeprom")) { in central_build_irq()
729 } else if (!strcmp(dp->name, "zs")) { in central_build_irq()
731 } else if (!strcmp(dp->name, "clock-board")) { in central_build_irq()
818 if (!strcmp(model, t->name)) { in irq_trans_init()
826 if (!strcmp(dp->name, "sbus") || in irq_trans_init()
[all …]
Dof_device_64.c195 if (!strcmp(np->name, "pci")) { in of_bus_pci_match()
198 if (model && !strcmp(model, "SUNW,simba")) in of_bus_pci_match()
220 if (model && !strcmp(model, "SUNW,simba")) in of_bus_simba_match()
226 if (!strcmp(np->name, "pci")) { in of_bus_simba_match()
304 return !strcmp(np->name, "sbus") || in of_bus_sbus_match()
305 !strcmp(np->name, "sbi"); in of_bus_sbus_match()
328 return !strcmp(np->name, "fhc") || in of_bus_fhc_match()
329 !strcmp(np->name, "central"); in of_bus_fhc_match()
431 if (!strcmp(bus->name, "pci") && in build_one_resource()
453 if (!strcmp(pp->name, "dma") || in use_1to1_mapping()
[all …]
Dled.c91 if (!strcmp(buf, "on")) { in led_proc_write()
93 } else if (!strcmp(buf, "toggle")) { in led_proc_write()
97 } else if (!strcmp(buf, "load")) { in led_proc_write()
/arch/mips/sibyte/cfe/
Dconsole.c50 if (!strcmp(consdev, "uart0")) { in cfe_console_setup()
52 } else if (!strcmp(consdev, "uart1")) { in cfe_console_setup()
56 } else if (!strcmp(consdev, "pcconsole0")) { in cfe_console_setup()
/arch/um/drivers/
Dpcap_kern.c79 if (!strcmp(options[i], "promisc")) in pcap_setup()
81 else if (!strcmp(options[i], "nopromisc")) in pcap_setup()
83 else if (!strcmp(options[i], "optimize")) in pcap_setup()
85 else if (!strcmp(options[i], "nooptimize")) in pcap_setup()
/arch/powerpc/platforms/cell/
Dsetup.c107 if (!s || strcmp(s, "Axon") != 0) in cell_fixup_pcie_rootcomplex()
131 if (model == NULL || strcmp(np->name, "pci")) in cell_setup_phb()
135 if (strcmp(model, "Spider")) in cell_setup_phb()
158 if (np->type == NULL || (strcmp(np->type, "pci") != 0 && in cell_publish_devices()
159 strcmp(np->type, "pciex") != 0)) in cell_publish_devices()
/arch/powerpc/boot/
Dhack-coff.c63 if (strcmp(shdr.s_name, ".text") == 0) { in main()
66 } else if (strcmp(shdr.s_name, ".data") == 0) { in main()
68 } else if (strcmp(shdr.s_name, ".bss") == 0) { in main()
/arch/x86/boot/
Dedd.c145 if (!strcmp(eddarg, "skipmbr") || !strcmp(eddarg, "skip")) { in query_edd()
149 else if (!strcmp(eddarg, "off")) in query_edd()
151 else if (!strcmp(eddarg, "on")) in query_edd()
/arch/ia64/pci/
Dfixup.c33 if ((strcmp(platform_name, "dig") != 0) in pci_fixup_video()
34 && (strcmp(platform_name, "hpzx1") != 0)) in pci_fixup_video()
/arch/m68k/mac/
Ddebug.c342 if (!strcmp(arg, "ser") || !strcmp(arg, "ser1")) { in mac_debug_setup()
347 } else if (!strcmp(arg, "ser2")) { in mac_debug_setup()
355 if (!strcmp(arg, "scn") || !strcmp(arg, "con")) { in mac_debug_setup()
/arch/powerpc/platforms/pseries/
Dreconfig.c81 if (!strcmp(path, "/")) in derive_parent()
93 if (strcmp(parent_path, "/")) in derive_parent()
456 if (!strcmp(name, "ibm,dynamic-memory")) { in do_update_property()
464 if (!strcmp(name, "add")) in do_update_property()
514 if (!strcmp(kbuf, "add_node")) in ofdt_write()
516 else if (!strcmp(kbuf, "remove_node")) in ofdt_write()
518 else if (!strcmp(kbuf, "add_property")) in ofdt_write()
520 else if (!strcmp(kbuf, "remove_property")) in ofdt_write()
522 else if (!strcmp(kbuf, "update_property")) in ofdt_write()

12345678910