Home
last modified time | relevance | path

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

12345678910>>...14

/arch/arm/mach-w90x900/
Dclksel.c45 if (strcmp(dev_id, "nuc900-ms") == 0) in clock_source_select()
47 else if (strcmp(dev_id, "nuc900-atapi") == 0) in clock_source_select()
49 else if (strcmp(dev_id, "nuc900-lcd") == 0) in clock_source_select()
51 else if (strcmp(dev_id, "nuc900-ac97") == 0) in clock_source_select()
77 if (strcmp(src, "pll0") == 0) in nuc900_clock_source()
79 else if (strcmp(src, "pll1") == 0) in nuc900_clock_source()
81 else if (strcmp(src, "ext") == 0) in nuc900_clock_source()
83 else if (strcmp(src, "oth") == 0) in nuc900_clock_source()
Dmfp.c64 if (strcmp(dev_id, "nuc900-emc") == 0) in mfp_set_groupf()
88 if (strcmp(dev_id, "nuc900-lcd") == 0) in mfp_set_groupc()
90 else if (strcmp(dev_id, "nuc900-kpi") == 0) { in mfp_set_groupc()
93 } else if (strcmp(dev_id, "nuc900-nand") == 0) { in mfp_set_groupc()
120 if (strcmp(dev_id, "nuc900-wdog") == 0) in mfp_set_groupi()
122 else if (strcmp(dev_id, "nuc900-atapi") == 0) in mfp_set_groupi()
124 else if (strcmp(dev_id, "nuc900-keypad") == 0) in mfp_set_groupi()
149 if (strcmp(dev_id, "nuc900-spi") == 0) { in mfp_set_groupg()
152 } else if (strcmp(dev_id, "nuc900-i2c0") == 0) { in mfp_set_groupg()
155 } else if (strcmp(dev_id, "nuc900-i2c1") == 0) { in mfp_set_groupg()
[all …]
/arch/cris/arch-v32/lib/
Dstrcmp.S1 ; strcmp.S -- CRISv32 version.
8 .global strcmp symbol
9 .type strcmp,@function
10 strcmp: label
21 .size strcmp, . - strcmp
/arch/blackfin/kernel/
Dmodule.c40 if (!strcmp(".l1.text", shname) || in module_frob_arch_sections()
41 (!strcmp(".text", shname) && in module_frob_arch_sections()
52 } else if (!strcmp(".l1.data", shname) || in module_frob_arch_sections()
53 (!strcmp(".data", shname) && in module_frob_arch_sections()
64 } else if (!strcmp(".l1.bss", shname) || in module_frob_arch_sections()
65 (!strcmp(".bss", shname) && in module_frob_arch_sections()
75 } else if (!strcmp(".l1.data.B", shname)) { in module_frob_arch_sections()
85 } else if (!strcmp(".l1.bss.B", shname)) { in module_frob_arch_sections()
95 } else if (!strcmp(".l2.text", shname) || in module_frob_arch_sections()
96 (!strcmp(".text", shname) && in module_frob_arch_sections()
[all …]
/arch/powerpc/platforms/83xx/
Dusb.c51 if (prop && (!strcmp(prop, "utmi") || in mpc834x_usb_cfg()
52 !strcmp(prop, "utmi_wide"))) { in mpc834x_usb_cfg()
56 } else if (prop && !strcmp(prop, "serial")) { in mpc834x_usb_cfg()
58 if (dr_mode && !strcmp(dr_mode, "otg")) { in mpc834x_usb_cfg()
64 } else if (prop && !strcmp(prop, "ulpi")) { in mpc834x_usb_cfg()
141 if (prop && !strcmp(prop, "ulpi")) { in mpc831x_usb_cfg()
177 if (prop && (!strcmp(prop, "utmi_wide") || in mpc831x_usb_cfg()
178 !strcmp(prop, "utmi"))) { in mpc831x_usb_cfg()
192 } else if (prop && !strcmp(prop, "ulpi")) { in mpc831x_usb_cfg()
199 if (dr_mode && !strcmp(dr_mode, "otg")) in mpc831x_usb_cfg()
[all …]
Dmpc837x_mds.c56 if (phy_type && !strcmp(phy_type, "ulpi")) { in mpc837xmds_usb_cfg()
58 } else if (phy_type && !strcmp(phy_type, "serial")) { in mpc837xmds_usb_cfg()
62 if (mode && !strcmp(mode, "peripheral")) in mpc837xmds_usb_cfg()
/arch/x86/pci/
Dcommon.c511 if (!strcmp(str, "off")) { in pcibios_setup()
514 } else if (!strcmp(str, "bfsort")) { in pcibios_setup()
517 } else if (!strcmp(str, "nobfsort")) { in pcibios_setup()
522 else if (!strcmp(str, "bios")) { in pcibios_setup()
525 } else if (!strcmp(str, "nobios")) { in pcibios_setup()
528 } else if (!strcmp(str, "biosirq")) { in pcibios_setup()
537 else if (!strcmp(str, "conf1")) { in pcibios_setup()
541 else if (!strcmp(str, "conf2")) { in pcibios_setup()
547 else if (!strcmp(str, "nommconf")) { in pcibios_setup()
551 else if (!strcmp(str, "check_enable_amd_mmconf")) { in pcibios_setup()
[all …]
/arch/mips/bcm63xx/
Dclk.c323 if (!strcmp(id, "enet0")) in clk_get()
325 if (!strcmp(id, "enet1")) in clk_get()
327 if (!strcmp(id, "enetsw")) in clk_get()
329 if (!strcmp(id, "ephy")) in clk_get()
331 if (!strcmp(id, "usbh")) in clk_get()
333 if (!strcmp(id, "usbd")) in clk_get()
335 if (!strcmp(id, "spi")) in clk_get()
337 if (!strcmp(id, "xtm")) in clk_get()
339 if (!strcmp(id, "periph")) in clk_get()
341 if (BCMCPU_IS_6358() && !strcmp(id, "pcm")) in clk_get()
[all …]
/arch/sh/boards/mach-sdk7786/
Dnmi.c33 if (strcmp(str, "manual") == 0) in nmi_mode_setup()
35 else if (strcmp(str, "aux") == 0) in nmi_mode_setup()
37 else if (strcmp(str, "masked") == 0) in nmi_mode_setup()
39 else if (strcmp(str, "any") == 0) in nmi_mode_setup()
/arch/sh/kernel/
Dnmi_debug.c60 if (strcmp(p, "state") == 0) in nmi_debug_setup()
62 else if (strcmp(p, "regs") == 0) in nmi_debug_setup()
64 else if (strcmp(p, "debounce") == 0) in nmi_debug_setup()
66 else if (strcmp(p, "die") == 0) in nmi_debug_setup()
/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/x86/kernel/
Dio_delay.c116 if (!strcmp(s, "0x80")) in io_delay_param()
118 else if (!strcmp(s, "0xed")) in io_delay_param()
120 else if (!strcmp(s, "udelay")) in io_delay_param()
122 else if (!strcmp(s, "none")) in io_delay_param()
/arch/x86/tools/
Drelocs_common.c34 if (strcmp(arg, "--abs-syms") == 0) { in main()
38 if (strcmp(arg, "--abs-relocs") == 0) { in main()
42 if (strcmp(arg, "--text") == 0) { in main()
46 if (strcmp(arg, "--realmode") == 0) { in main()
/arch/arm/kernel/
Dmodule.c262 if (strcmp(name, secstrs + s->sh_name) == 0) in find_mod_section()
289 if (strcmp(".ARM.exidx.init.text", secname) == 0) in module_finalize()
291 else if (strcmp(".ARM.exidx.devinit.text", secname) == 0) in module_finalize()
293 else if (strcmp(".ARM.exidx", secname) == 0) in module_finalize()
295 else if (strcmp(".ARM.exidx.exit.text", secname) == 0) in module_finalize()
297 else if (strcmp(".ARM.exidx.devexit.text", secname) == 0) in module_finalize()
299 else if (strcmp(".init.text", secname) == 0) in module_finalize()
301 else if (strcmp(".devinit.text", secname) == 0) in module_finalize()
303 else if (strcmp(".text", secname) == 0) in module_finalize()
305 else if (strcmp(".exit.text", secname) == 0) in module_finalize()
[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/sparc/kernel/
Dprom_32.c180 if (!strcmp(parent->type, "pci") || in __build_path_component()
181 !strcmp(parent->type, "pciex")) in __build_path_component()
183 if (!strcmp(parent->type, "sbus")) in __build_path_component()
185 if (!strcmp(parent->type, "ebus")) in __build_path_component()
187 if (!strcmp(parent->type, "ambapp")) in __build_path_component()
259 if (!strcmp(type, "serial")) { in of_console_init()
289 if (strcmp(type, "display") && strcmp(type, "serial")) { in of_console_init()
Dprom_64.c310 if (!strcmp(parent->type, "pci") || in __build_path_component()
311 !strcmp(parent->type, "pciex")) { in __build_path_component()
315 if (!strcmp(parent->type, "sbus")) { in __build_path_component()
319 if (!strcmp(parent->type, "upa")) { in __build_path_component()
323 if (!strcmp(parent->type, "ebus")) { in __build_path_component()
327 if (!strcmp(parent->name, "usb") || in __build_path_component()
328 !strcmp(parent->name, "hub")) { in __build_path_component()
332 if (!strcmp(parent->type, "i2c")) { in __build_path_component()
336 if (!strcmp(parent->type, "firewire")) { in __build_path_component()
340 if (!strcmp(parent->type, "virtual-devices")) { in __build_path_component()
[all …]
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 …]
/arch/mips/sibyte/common/
Dcfe_console.c50 if (!strcmp(consdev, "uart0")) { in cfe_console_setup()
52 } else if (!strcmp(consdev, "uart1")) { in cfe_console_setup()
57 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/arm/mach-omap2/
Dpm-debug.c81 if (strcmp(clkdm->name, "emu_clkdm") == 0 || in clkdm_dbg_show_counter()
82 strcmp(clkdm->name, "wkup_clkdm") == 0 || in clkdm_dbg_show_counter()
97 if (strcmp(pwrdm->name, "emu_pwrdm") == 0 || in pwrdm_dbg_show_counter()
98 strcmp(pwrdm->name, "wkup_pwrdm") == 0 || in pwrdm_dbg_show_counter()
127 if (strcmp(pwrdm->name, "emu_pwrdm") == 0 || in pwrdm_dbg_show_timer()
128 strcmp(pwrdm->name, "wkup_pwrdm") == 0 || in pwrdm_dbg_show_timer()
/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()
168 if (np->type == NULL || (strcmp(np->type, "pci") != 0 && in cell_publish_devices()
169 strcmp(np->type, "pciex") != 0)) in cell_publish_devices()
/arch/x86/platform/olpc/
Dolpc-xo1-pm.c142 if (strcmp(pdev->name, "cs5535-pms") == 0) in xo1_pm_probe()
144 else if (strcmp(pdev->name, "olpc-xo1-pm-acpi") == 0) in xo1_pm_probe()
161 if (strcmp(pdev->name, "cs5535-pms") == 0) in xo1_pm_remove()
163 else if (strcmp(pdev->name, "olpc-xo1-pm-acpi") == 0) in xo1_pm_remove()
/arch/sparc/boot/
Dpiggyback.c84 if (strcmp(line + 10, " _start\n") == 0) in start_line()
86 else if (strcmp(line + 18, " _start\n") == 0) in start_line()
93 if (strcmp(line + 10, " _end\n") == 0) in end_line()
95 else if (strcmp (line + 18, " _end\n") == 0) in end_line()
195 if (strcmp(argv[1], "64") == 0) in main()
/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()

12345678910>>...14