Home
last modified time | relevance | path

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

12345678910>>...45

/linux-2.6.39/drivers/macintosh/
Dwindfarm_smu_controls.c190 if (!strcmp(l, "Rear Fan 0") || !strcmp(l, "Rear Fan") || in smu_fan_create()
191 !strcmp(l, "Rear fan 0") || !strcmp(l, "Rear fan") || in smu_fan_create()
192 !strcmp(l, "CPU A EXHAUST")) in smu_fan_create()
194 else if (!strcmp(l, "Rear Fan 1") || !strcmp(l, "Rear fan 1") || in smu_fan_create()
195 !strcmp(l, "CPU B EXHAUST")) in smu_fan_create()
197 else if (!strcmp(l, "Front Fan 0") || !strcmp(l, "Front Fan") || in smu_fan_create()
198 !strcmp(l, "Front fan 0") || !strcmp(l, "Front fan") || in smu_fan_create()
199 !strcmp(l, "CPU A INTAKE")) in smu_fan_create()
201 else if (!strcmp(l, "Front Fan 1") || !strcmp(l, "Front fan 1") || in smu_fan_create()
202 !strcmp(l, "CPU B INTAKE")) in smu_fan_create()
[all …]
/linux-2.6.39/drivers/usb/gadget/
Dgadget_chips.h19 #define gadget_is_net2280(g) !strcmp("net2280", (g)->name)
25 #define gadget_is_amd5536udc(g) !strcmp("amd5536udc", (g)->name)
31 #define gadget_is_dummy(g) !strcmp("dummy_udc", (g)->name)
37 #define gadget_is_pxa(g) !strcmp("pxa25x_udc", (g)->name)
43 #define gadget_is_goku(g) !strcmp("goku_udc", (g)->name)
49 #define gadget_is_omap(g) !strcmp("omap_udc", (g)->name)
56 #define gadget_is_pxa27x(g) !strcmp("pxa27x_udc", (g)->name)
62 #define gadget_is_atmel_usba(g) !strcmp("atmel_usba_udc", (g)->name)
68 #define gadget_is_s3c2410(g) !strcmp("s3c2410_udc", (g)->name)
74 #define gadget_is_at91(g) !strcmp("at91_udc", (g)->name)
[all …]
/linux-2.6.39/drivers/staging/wlags49_h2/
Dwl_profile.c376 if (strcmp(key, PARM_NAME_DEBUG_FLAG) == 0) { in translate_option()
389 if (strcmp(key, PARM_NAME_AUTH_KEY_MGMT_SUITE) == 0) { in translate_option()
397 } else if (strcmp(key, PARM_NAME_BRSC_2GHZ) == 0) { in translate_option()
405 } else if (strcmp(key, PARM_NAME_BRSC_5GHZ) == 0) { in translate_option()
413 } else if ((strcmp(key, PARM_NAME_DESIRED_SSID) == 0) || (strcmp(key, PARM_NAME_OWN_SSID) == 0)) { in translate_option()
428 else if (strcmp(key, PARM_NAME_DOWNLOAD_FIRMWARE) == 0) { in translate_option()
439 else if (strcmp(key, PARM_NAME_ENABLE_ENCRYPTION) == 0) { in translate_option()
447 } else if (strcmp(key, PARM_NAME_ENCRYPTION) == 0) { in translate_option()
460 } else if (strcmp(key, PARM_NAME_KEY1) == 0) { in translate_option()
470 } else if (strcmp(key, PARM_NAME_KEY2) == 0) { in translate_option()
[all …]
/linux-2.6.39/arch/arm/mach-w90x900/
Dmfp.c61 if (strcmp(dev_id, "nuc900-emc") == 0) in mfp_set_groupf()
85 if (strcmp(dev_id, "nuc900-lcd") == 0) in mfp_set_groupc()
87 else if (strcmp(dev_id, "nuc900-kpi") == 0) { in mfp_set_groupc()
90 } else if (strcmp(dev_id, "nuc900-nand") == 0) { in mfp_set_groupc()
117 if (strcmp(dev_id, "nuc900-wdog") == 0) in mfp_set_groupi()
119 else if (strcmp(dev_id, "nuc900-atapi") == 0) in mfp_set_groupi()
121 else if (strcmp(dev_id, "nuc900-keypad") == 0) in mfp_set_groupi()
143 if (strcmp(dev_id, "nuc900-spi") == 0) { in mfp_set_groupg()
146 } else if (strcmp(dev_id, "nuc900-i2c0") == 0) { in mfp_set_groupg()
149 } else if (strcmp(dev_id, "nuc900-i2c1") == 0) { in mfp_set_groupg()
[all …]
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-audio") == 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()
/linux-2.6.39/include/linux/
Dlicense.h6 return (strcmp(license, "GPL") == 0 in license_is_gpl_compatible()
7 || strcmp(license, "GPL v2") == 0 in license_is_gpl_compatible()
8 || strcmp(license, "GPL and additional rights") == 0 in license_is_gpl_compatible()
9 || strcmp(license, "Dual BSD/GPL") == 0 in license_is_gpl_compatible()
10 || strcmp(license, "Dual MIT/GPL") == 0 in license_is_gpl_compatible()
11 || strcmp(license, "Dual MPL/GPL") == 0); in license_is_gpl_compatible()
/linux-2.6.39/arch/x86/pci/
Dcommon.c502 if (!strcmp(str, "off")) { in pcibios_setup()
505 } else if (!strcmp(str, "bfsort")) { in pcibios_setup()
508 } else if (!strcmp(str, "nobfsort")) { in pcibios_setup()
513 else if (!strcmp(str, "bios")) { in pcibios_setup()
516 } else if (!strcmp(str, "nobios")) { in pcibios_setup()
519 } else if (!strcmp(str, "biosirq")) { in pcibios_setup()
528 else if (!strcmp(str, "conf1")) { in pcibios_setup()
532 else if (!strcmp(str, "conf2")) { in pcibios_setup()
538 else if (!strcmp(str, "nommconf")) { in pcibios_setup()
542 else if (!strcmp(str, "check_enable_amd_mmconf")) { in pcibios_setup()
[all …]
/linux-2.6.39/arch/blackfin/kernel/
Dmodule.c53 if (!strcmp(".l1.text", shname) || in module_frob_arch_sections()
54 (!strcmp(".text", shname) && in module_frob_arch_sections()
65 } else if (!strcmp(".l1.data", shname) || in module_frob_arch_sections()
66 (!strcmp(".data", shname) && in module_frob_arch_sections()
77 } else if (!strcmp(".l1.bss", shname) || in module_frob_arch_sections()
78 (!strcmp(".bss", shname) && in module_frob_arch_sections()
88 } else if (!strcmp(".l1.data.B", shname)) { in module_frob_arch_sections()
98 } else if (!strcmp(".l1.bss.B", shname)) { in module_frob_arch_sections()
108 } else if (!strcmp(".l2.text", shname) || in module_frob_arch_sections()
109 (!strcmp(".text", shname) && in module_frob_arch_sections()
[all …]
/linux-2.6.39/net/irda/irlan/
Dirlan_filter.c160 if (strcmp(param, "MODE") == 0) { in irlan_check_command_param()
169 if (strcmp(param, "FILTER_TYPE") == 0) { in irlan_check_command_param()
170 if (strcmp(value, "DIRECTED") == 0) { in irlan_check_command_param()
174 if (strcmp(value, "MULTICAST") == 0) { in irlan_check_command_param()
178 if (strcmp(value, "BROADCAST") == 0) { in irlan_check_command_param()
186 if (strcmp(param, "FILTER_MODE") == 0) { in irlan_check_command_param()
187 if (strcmp(value, "ALL") == 0) { in irlan_check_command_param()
191 if (strcmp(value, "FILTER") == 0) { in irlan_check_command_param()
195 if (strcmp(value, "NONE") == 0) { in irlan_check_command_param()
203 if (strcmp(param, "FILTER_OPERATION") == 0) { in irlan_check_command_param()
[all …]
Dirlan_client.c447 if (strcmp(param, "MEDIA") == 0) { in irlan_check_response_param()
448 if (strcmp(value, "802.3") == 0) in irlan_check_response_param()
454 if (strcmp(param, "FILTER_TYPE") == 0) { in irlan_check_response_param()
455 if (strcmp(value, "DIRECTED") == 0) in irlan_check_response_param()
457 else if (strcmp(value, "FUNCTIONAL") == 0) in irlan_check_response_param()
459 else if (strcmp(value, "GROUP") == 0) in irlan_check_response_param()
461 else if (strcmp(value, "MAC_FRAME") == 0) in irlan_check_response_param()
463 else if (strcmp(value, "MULTICAST") == 0) in irlan_check_response_param()
465 else if (strcmp(value, "BROADCAST") == 0) in irlan_check_response_param()
467 else if (strcmp(value, "IPX_SOCKET") == 0) in irlan_check_response_param()
[all …]
/linux-2.6.39/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 …]
/linux-2.6.39/arch/cris/arch-v32/lib/
Dstrcmp.S1 ; strcmp.S -- CRISv32 version.
8 .global strcmp
9 .type strcmp,@function
10 strcmp: label
21 .size strcmp, . - strcmp
/linux-2.6.39/tools/perf/
Dbuiltin-list.c31 else if (strcmp(argv[i], "hw") == 0 || in cmd_list()
32 strcmp(argv[i], "hardware") == 0) in cmd_list()
34 else if (strcmp(argv[i], "sw") == 0 || in cmd_list()
35 strcmp(argv[i], "software") == 0) in cmd_list()
37 else if (strcmp(argv[i], "cache") == 0 || in cmd_list()
38 strcmp(argv[i], "hwcache") == 0) in cmd_list()
Dperf.c37 if (!prefixcmp(var, "pager.") && !strcmp(var + 6, c->cmd)) in pager_command_config()
55 if (!prefixcmp(var, "tui.") && !strcmp(var + 4, c->cmd)) in tui_command_config()
107 if (!strcmp(cmd, "--help") || !strcmp(cmd, "--version")) in handle_options()
121 } else if (!strcmp(cmd, "--html-path")) { in handle_options()
124 } else if (!strcmp(cmd, "-p") || !strcmp(cmd, "--paginate")) { in handle_options()
126 } else if (!strcmp(cmd, "--no-pager")) { in handle_options()
130 } else if (!strcmp(cmd, "--perf-dir")) { in handle_options()
145 } else if (!strcmp(cmd, "--work-tree")) { in handle_options()
159 } else if (!strcmp(cmd, "--debugfs-dir")) { in handle_options()
230 if (!strcmp(alias_command, new_argv[0])) in handle_alias()
[all …]
Dbuiltin-bench.c134 if (!strcmp(str, BENCH_FORMAT_DEFAULT_STR)) in bench_str2int()
136 else if (!strcmp(str, BENCH_FORMAT_SIMPLE_STR)) in bench_str2int()
197 if (!strcmp(argv[0], "all")) { in cmd_bench()
203 if (strcmp(subsystems[i].name, argv[0])) in cmd_bench()
212 if (!strcmp(argv[1], "all")) { in cmd_bench()
218 if (strcmp(subsystems[i].suites[j].name, argv[1])) in cmd_bench()
230 if (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help")) { in cmd_bench()
/linux-2.6.39/security/tomoyo/
Dmount.c42 if (!strcmp(type, TOMOYO_MOUNT_REMOUNT_KEYWORD)) in tomoyo_audit_mount_log()
44 else if (!strcmp(type, TOMOYO_MOUNT_BIND_KEYWORD) in tomoyo_audit_mount_log()
45 || !strcmp(type, TOMOYO_MOUNT_MOVE_KEYWORD)) in tomoyo_audit_mount_log()
48 else if (!strcmp(type, TOMOYO_MOUNT_MAKE_UNBINDABLE_KEYWORD) || in tomoyo_audit_mount_log()
49 !strcmp(type, TOMOYO_MOUNT_MAKE_PRIVATE_KEYWORD) || in tomoyo_audit_mount_log()
50 !strcmp(type, TOMOYO_MOUNT_MAKE_SLAVE_KEYWORD) || in tomoyo_audit_mount_log()
51 !strcmp(type, TOMOYO_MOUNT_MAKE_SHARED_KEYWORD)) in tomoyo_audit_mount_log()
119 if (!strcmp(type, TOMOYO_MOUNT_REMOUNT_KEYWORD)) { in tomoyo_mount_acl()
121 } else if (!strcmp(type, TOMOYO_MOUNT_MAKE_UNBINDABLE_KEYWORD) || in tomoyo_mount_acl()
122 !strcmp(type, TOMOYO_MOUNT_MAKE_PRIVATE_KEYWORD) || in tomoyo_mount_acl()
[all …]
/linux-2.6.39/fs/xfs/linux-2.6/
Dxfs_super.c218 if (!strcmp(this_char, MNTOPT_LOGBUFS)) { in xfs_parseargs()
225 } else if (!strcmp(this_char, MNTOPT_LOGBSIZE)) { in xfs_parseargs()
232 } else if (!strcmp(this_char, MNTOPT_LOGDEV)) { in xfs_parseargs()
241 } else if (!strcmp(this_char, MNTOPT_MTPT)) { in xfs_parseargs()
245 } else if (!strcmp(this_char, MNTOPT_RTDEV)) { in xfs_parseargs()
254 } else if (!strcmp(this_char, MNTOPT_BIOSIZE)) { in xfs_parseargs()
262 } else if (!strcmp(this_char, MNTOPT_ALLOCSIZE)) { in xfs_parseargs()
270 } else if (!strcmp(this_char, MNTOPT_GRPID) || in xfs_parseargs()
271 !strcmp(this_char, MNTOPT_BSDGROUPS)) { in xfs_parseargs()
273 } else if (!strcmp(this_char, MNTOPT_NOGRPID) || in xfs_parseargs()
[all …]
/linux-2.6.39/drivers/parport/
Dprobe.c81 if (!strcmp(p, "MFG") || !strcmp(p, "MANUFACTURER")) { in parse_data()
84 } else if (!strcmp(p, "MDL") || !strcmp(p, "MODEL")) { in parse_data()
87 } else if (!strcmp(p, "CLS") || !strcmp(p, "CLASS")) { in parse_data()
95 if (!strcmp(classes[i].token, sep)) { in parse_data()
102 } else if (!strcmp(p, "CMD") || in parse_data()
103 !strcmp(p, "COMMAND SET")) { in parse_data()
110 } else if (!strcmp(p, "DES") || !strcmp(p, "DESCRIPTION")) { in parse_data()
/linux-2.6.39/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 …]
/linux-2.6.39/arch/mips/bcm63xx/
Dclk.c203 if (!strcmp(id, "enet0")) in clk_get()
205 if (!strcmp(id, "enet1")) in clk_get()
207 if (!strcmp(id, "ephy")) in clk_get()
209 if (!strcmp(id, "usbh")) in clk_get()
211 if (!strcmp(id, "spi")) in clk_get()
213 if (!strcmp(id, "periph")) in clk_get()
215 if (BCMCPU_IS_6358() && !strcmp(id, "pcm")) in clk_get()
/linux-2.6.39/drivers/input/serio/
Di8042-sparcio.h58 if (!strcmp(dp->name, OBP_PS2KBD_NAME1) || in sparc_i8042_probe()
59 !strcmp(dp->name, OBP_PS2KBD_NAME2)) { in sparc_i8042_probe()
68 } else if (!strcmp(dp->name, OBP_PS2MS_NAME1) || in sparc_i8042_probe()
69 !strcmp(dp->name, OBP_PS2MS_NAME2)) { in sparc_i8042_probe()
112 if (!strcmp(root->name, "SUNW,JavaStation-1")) { in i8042_platform_init()
142 if (strcmp(root->name, "SUNW,JavaStation-1")) in i8042_platform_exit()
/linux-2.6.39/arch/arm/kernel/
Dmodule.c280 if (strcmp(name, secstrs + s->sh_name) == 0) in find_mod_section()
307 if (strcmp(".ARM.exidx.init.text", secname) == 0) in module_finalize()
309 else if (strcmp(".ARM.exidx.devinit.text", secname) == 0) in module_finalize()
311 else if (strcmp(".ARM.exidx", secname) == 0) in module_finalize()
313 else if (strcmp(".ARM.exidx.exit.text", secname) == 0) in module_finalize()
315 else if (strcmp(".ARM.exidx.devexit.text", secname) == 0) in module_finalize()
317 else if (strcmp(".init.text", secname) == 0) in module_finalize()
319 else if (strcmp(".devinit.text", secname) == 0) in module_finalize()
321 else if (strcmp(".text", secname) == 0) in module_finalize()
323 else if (strcmp(".exit.text", secname) == 0) in module_finalize()
[all …]
/linux-2.6.39/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()
/linux-2.6.39/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()
/linux-2.6.39/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()

12345678910>>...45