Home
last modified time | relevance | path

Searched refs:strncmp (Results 1 – 25 of 349) sorted by relevance

12345678910>>...14

/linux-2.4.37.9/arch/sparc64/prom/
Dconsole.c88 if(strncmp(propb, "serial", 6)) in prom_query_input_device()
99 if (!strncmp(propb, "keyboard", 8)) in prom_query_input_device()
102 if (strncmp (propb, "tty", 3) || !propb[3]) in prom_query_input_device()
123 strncmp("display", propb, sizeof("display")) == 0) in prom_query_output_device()
125 if(strncmp("serial", propb, 6)) in prom_query_output_device()
136 if (!strncmp(propb, "screen", 6)) in prom_query_output_device()
139 if (strncmp (propb, "tty", 3) || !propb[3]) in prom_query_output_device()
Dinit.c64 if (strncmp (buffer, "OBP ", 4)) in prom_init()
74 if (strncmp (buffer, "OBP ", 5)) in prom_init()
/linux-2.4.37.9/arch/sparc/boot/
Dbtfixupprep.c115 if (!strncmp (buffer, symtab, symlen)) in main()
121 if (!strncmp (buffer, relrec, rellen)) in main()
135 if (!strncmp (buffer, relrec, rellen)) in main()
143 if (strncmp (buffer + mode, " R_SPARC_", 9)) in main()
209 if (strncmp (buffer + mode+9, "32 ", 10)) { in main()
213 } else if (strncmp (buffer + mode+9, "WDISP30 ", 10) && in main()
214 strncmp (buffer + mode+9, "HI22 ", 10) && in main()
215 strncmp (buffer + mode+9, "LO10 ", 10)) { in main()
225 if (strncmp (buffer + mode+9, "HI22 ", 10)) { in main()
235 if (strncmp (buffer + mode+9, "13 ", 10)) { in main()
[all …]
/linux-2.4.37.9/include/asm-i386/
Dsmpboot.h24 if (!strncmp(oem, "IBM ENSW", 8) && !strncmp(prod, "VIGIL SMP", 9)){ in detect_clustered_apic()
33 } else if (!strncmp(oem, "IBM", 3) && in detect_clustered_apic()
34 (!strncmp(prod, "SERVIGIL", 8) || in detect_clustered_apic()
35 !strncmp(prod, "EXA", 3) || in detect_clustered_apic()
36 !strncmp(prod, "RUTHLESS", 8))){ in detect_clustered_apic()
44 } else if (!strncmp(oem, "IBM NUMA", 8)){ in detect_clustered_apic()
/linux-2.4.37.9/drivers/isdn/
Disdn_ttyfax.c329 if (!strncmp(p[0], cmd[c.parm.aux.cmd], 2)) in isdn_tty_cmd_FCLASS1()
424 if (!strncmp(p[0], "AA", 2)) { /* TODO */ in isdn_tty_cmd_FCLASS2()
444 if (!strncmp(p[0], "BADLIN", 6)) { in isdn_tty_cmd_FCLASS2()
474 if (!strncmp(p[0], "BADMUL", 6)) { in isdn_tty_cmd_FCLASS2()
504 if (!strncmp(p[0], "BOR", 3)) { in isdn_tty_cmd_FCLASS2()
534 if (!strncmp(p[0], "NBC", 3)) { in isdn_tty_cmd_FCLASS2()
564 if (!strncmp(p[0], "BUF?", 4)) { in isdn_tty_cmd_FCLASS2()
575 if (!strncmp(p[0], "CIG", 3)) { in isdn_tty_cmd_FCLASS2()
613 if (!strncmp(p[0], "CQ", 2)) { in isdn_tty_cmd_FCLASS2()
643 if (!strncmp(p[0], "CR", 2)) { in isdn_tty_cmd_FCLASS2()
[all …]
/linux-2.4.37.9/drivers/acpi/
Dasus_acpi.c975 strncmp(asus_info->oem_table_id, "ODEM", 4) == 0) { in asus_hotk_get_info()
994 if (strncmp(model->string.pointer, "L3D", 3) == 0) in asus_hotk_get_info()
996 else if (strncmp(model->string.pointer, "L3H", 3) == 0 || in asus_hotk_get_info()
997 strncmp(model->string.pointer, "L2E", 3) == 0) in asus_hotk_get_info()
999 else if (strncmp(model->string.pointer, "L3", 2) == 0 || in asus_hotk_get_info()
1000 strncmp(model->string.pointer, "L2B", 3) == 0) in asus_hotk_get_info()
1002 else if (strncmp(model->string.pointer, "L8L", 3) == 0) in asus_hotk_get_info()
1004 else if (strncmp(model->string.pointer, "M2N", 3) == 0 || in asus_hotk_get_info()
1005 strncmp(model->string.pointer, "M3N", 3) == 0 || in asus_hotk_get_info()
1006 strncmp(model->string.pointer, "M6N", 3) == 0 || in asus_hotk_get_info()
[all …]
/linux-2.4.37.9/drivers/parport/
Dinit.c59 if (!strncmp (str, "auto", 4)) { in parport_setup()
82 if (!strncmp (sep, "auto", 4)) in parport_setup()
84 else if (strncmp (sep, "none", 4)) { in parport_setup()
98 if (!strncmp (sep, "auto", 4)) in parport_setup()
100 else if (!strncmp (sep, "nofifo", 6)) in parport_setup()
102 else if (strncmp (sep, "none", 4)) { in parport_setup()
/linux-2.4.37.9/drivers/char/
Dvr41xx_keyb.c364 if (!strncmp(this_opt, "regs:", 5)) { in vr41xx_kbd_setup()
368 } else if (!strncmp(this_opt, "lines:", 6)) { in vr41xx_kbd_setup()
376 } else if (!strncmp(this_opt, "reverse:", 8)) { in vr41xx_kbd_setup()
380 } else if (!strncmp(this_opt, "t3cnt:", 6)) { in vr41xx_kbd_setup()
384 } else if (!strncmp(this_opt, "t2cnt:", 6)) { in vr41xx_kbd_setup()
388 } else if (!strncmp(this_opt, "t1cnt:", 6)) { in vr41xx_kbd_setup()
392 } else if (!strncmp(this_opt, "interval:", 9)) { in vr41xx_kbd_setup()
396 } else if (!strncmp(this_opt, "delay:", 6)) { in vr41xx_kbd_setup()
400 } else if (!strncmp(this_opt, "rate:", 5)) { in vr41xx_kbd_setup()
/linux-2.4.37.9/arch/ppc/kernel/
Dppc_htab.c245 if ( !strncmp( buffer, "size ", 5) ) in ppc_htab_write()
249 if ( !strncmp( buffer, "off", 3) ) in ppc_htab_write()
259 if ( !strncmp( buffer, "reset", 5) ) in ppc_htab_write()
274 if ( !strncmp( buffer, "user", 4) ) in ppc_htab_write()
290 if ( !strncmp( buffer, "kernel", 6) ) in ppc_htab_write()
307 if ( !strncmp( buffer, "dtlb", 4) ) in ppc_htab_write()
322 if ( !strncmp( buffer, "ic miss", 7) ) in ppc_htab_write()
338 if ( !strncmp( buffer, "load miss time", 14) ) in ppc_htab_write()
354 if ( !strncmp( buffer, "itlb", 4) ) in ppc_htab_write()
370 if ( !strncmp( buffer, "dc miss", 7) ) in ppc_htab_write()
[all …]
/linux-2.4.37.9/arch/sparc/prom/
Dconsole.c135 if(strncmp(propb, "keyboard", sizeof("serial")) == 0) in prom_query_input_device()
139 if(strncmp(propb, "serial", sizeof("serial"))) in prom_query_input_device()
183 strncmp("display", propb, sizeof("display")) == 0) in prom_query_output_device()
189 strncmp("serial", propb, sizeof("serial")) != 0) in prom_query_output_device()
192 if(strncmp(propb, con_name_jmc, CON_SIZE_JMC) == 0) in prom_query_output_device()
/linux-2.4.37.9/drivers/scsi/
Dsr_vendor.c80 } else if (!strncmp(vendor, "NEC", 3)) { in sr_vendor_init()
82 if (!strncmp(model, "CD-ROM DRIVE:25", 15) || in sr_vendor_init()
83 !strncmp(model, "CD-ROM DRIVE:36", 15) || in sr_vendor_init()
84 !strncmp(model, "CD-ROM DRIVE:83", 15) || in sr_vendor_init()
85 !strncmp(model, "CD-ROM DRIVE:84 ", 16) in sr_vendor_init()
89 || !strncmp(model, "CD-ROM DRIVE:500", 16) in sr_vendor_init()
95 } else if (!strncmp(vendor, "TOSHIBA", 7)) { in sr_vendor_init()
/linux-2.4.37.9/arch/i386/kernel/
Dedd.c162 if (!strncmp(info->params.host_bus_type, "ISA", 3)) { in edd_show_host_bus()
165 } else if (!strncmp(info->params.host_bus_type, "PCIX", 4) || in edd_show_host_bus()
166 !strncmp(info->params.host_bus_type, "PCI", 3)) { in edd_show_host_bus()
173 } else if (!strncmp(info->params.host_bus_type, "IBND", 4) || in edd_show_host_bus()
174 !strncmp(info->params.host_bus_type, "XPRS", 4) || in edd_show_host_bus()
175 !strncmp(info->params.host_bus_type, "HTPT", 4)) { in edd_show_host_bus()
205 if (!strncmp(info->params.interface_type, "ATAPI", 5)) { in edd_show_interface()
209 } else if (!strncmp(info->params.interface_type, "ATA", 3)) { in edd_show_interface()
212 } else if (!strncmp(info->params.interface_type, "SCSI", 4)) { in edd_show_interface()
216 } else if (!strncmp(info->params.interface_type, "USB", 3)) { in edd_show_interface()
[all …]
Dapm.c1840 if (strncmp(str, "off", 3) == 0) in apm_setup()
1842 if (strncmp(str, "on", 2) == 0) in apm_setup()
1844 if ((strncmp(str, "bounce-interval=", 16) == 0) || in apm_setup()
1845 (strncmp(str, "bounce_interval=", 16) == 0)) in apm_setup()
1847 if ((strncmp(str, "idle-threshold=", 15) == 0) || in apm_setup()
1848 (strncmp(str, "idle_threshold=", 15) == 0)) in apm_setup()
1850 if ((strncmp(str, "idle-period=", 12) == 0) || in apm_setup()
1851 (strncmp(str, "idle_period=", 12) == 0)) in apm_setup()
1853 invert = (strncmp(str, "no-", 3) == 0) || in apm_setup()
1854 (strncmp(str, "no_", 3) == 0); in apm_setup()
[all …]
/linux-2.4.37.9/arch/sparc/kernel/
Dsetup.c205 && !strncmp(commands, "kgdb=tty", 8)) { in boot_flags_init()
224 if (!strncmp(commands, "console=", 8)) { in boot_flags_init()
226 if (!strncmp (commands, "ttya", 4)) { in boot_flags_init()
229 } else if (!strncmp (commands, "ttyb", 4)) { in boot_flags_init()
233 } else if (!strncmp (commands, "prom", 4)) { in boot_flags_init()
246 if (!strncmp(commands, "mem=", 4)) { in boot_flags_init()
/linux-2.4.37.9/arch/mips/momentum/ocelot_c/
Dprom.c189 if (strncmp("gtbase", ptr, strlen("gtbase")) == 0) { in prom_init()
198 if (strncmp("cpuclock", ptr, strlen("cpuclock")) == 0) { in prom_init()
222 if (strncmp("gtbase", *env, strlen("gtbase")) == 0) { in prom_init()
226 if (strncmp("cpuclock", *env, strlen("cpuclock")) == 0) { in prom_init()
/linux-2.4.37.9/arch/mips/momentum/jaguar_atx/
Dprom.c186 if (strncmp("gtbase", ptr, strlen("gtbase")) == 0) { in prom_init()
195 if (strncmp("cpuclock", ptr, strlen("cpuclock")) == 0) { in prom_init()
219 if (strncmp("gtbase", *env, strlen("gtbase")) == 0) { in prom_init()
223 if (strncmp("cpuclock", *env, strlen("cpuclock")) == 0) { in prom_init()
/linux-2.4.37.9/arch/s390x/kernel/
Dsetup.c168 if (strncmp(str, "hwc", 4) == 0) in conmode_setup()
172 if (strncmp(str, "3215", 5) == 0) in conmode_setup()
176 if (strncmp(str, "3270", 5) == 0) in conmode_setup()
206 if (strncmp(ptr + 8, "3270", 4) == 0) { in conmode_default()
214 } else if (strncmp(ptr + 8, "3215", 4) == 0) { in conmode_default()
342 if (c == ' ' && strncmp(from, "mem=", 4) == 0) { in setup_arch()
355 if (c == ' ' && strncmp(from, "ipldelay=", 9) == 0) { in setup_arch()
/linux-2.4.37.9/arch/s390/kernel/
Dsetup.c280 if (strncmp(str, "hwc", 4) == 0) in conmode_setup()
284 if (strncmp(str, "3215", 5) == 0) in conmode_setup()
288 if (strncmp(str, "3270", 5) == 0) in conmode_setup()
318 if (strncmp(ptr + 8, "3270", 4) == 0) { in conmode_default()
326 } else if (strncmp(ptr + 8, "3215", 4) == 0) { in conmode_default()
469 if (c == ' ' && strncmp(from, "mem=", 4) == 0) { in setup_arch()
482 if (c == ' ' && strncmp(from, "ipldelay=", 9) == 0) { in setup_arch()
498 if (c == ' ' && strncmp(from, "use_pfix", 8) == 0) { in setup_arch()
/linux-2.4.37.9/arch/x86_64/kernel/
Dearly_printk.c108 if (!strncmp(s,"0x",2)) in early_serial_init()
112 if (!strncmp(s,"ttyS",4)) in early_serial_init()
182 if (!strncmp(buf, "serial", 6)) { in setup_early_printk()
185 } else if (!strncmp(buf, "vga", 3)) { in setup_early_printk()
/linux-2.4.37.9/arch/m68k/sun3/prom/
Dconsole.c95 if(strncmp(propb, "serial", sizeof("serial")))
144 strncmp("display", propb, sizeof("display")) == 0)
149 if(strncmp("serial", propb, sizeof("serial")))
/linux-2.4.37.9/drivers/video/
Depson1356fb.c2688 if (!strncmp(this_opt, "noaccel", 7)) { in e1356fb_setup()
2690 } else if (!strncmp(this_opt, "nopan", 5)) { in e1356fb_setup()
2692 } else if (!strncmp(this_opt, "nohwcursor", 10)) { in e1356fb_setup()
2694 } else if (!strncmp(this_opt, "mmunalign:", 10)) { in e1356fb_setup()
2698 } else if (!strncmp(this_opt, "nomtrr", 6)) { in e1356fb_setup()
2701 } else if (!strncmp(this_opt, "font:", 5)) { in e1356fb_setup()
2704 } else if (!strncmp(this_opt, "regbase:", 8)) { in e1356fb_setup()
2707 } else if (!strncmp(this_opt, "membase:", 8)) { in e1356fb_setup()
2710 } else if (!strncmp(this_opt, "memsp:", 6)) { in e1356fb_setup()
2713 } else if (!strncmp(this_opt, "memtyp:", 7)) { in e1356fb_setup()
[all …]
/linux-2.4.37.9/arch/sparc64/lib/
Dstrncmp.S11 .global __strncmp, strncmp
13 strncmp: label
/linux-2.4.37.9/fs/proc/
Dproc_devtree.c62 ent = create_proc_read_entry(pp->name, strncmp(pp->name, "security-", 9) ? in add_node()
66 if (!strncmp(pp->name, "security-", 9)) in add_node()
104 if (sib == child && strncmp(p, child->name, l) != 0) { in add_node()
/linux-2.4.37.9/arch/sparc64/kernel/
Dsetup.c380 && !strncmp(commands, "kgdb=tty", 8)) { in boot_flags_init()
401 if (!strncmp(commands, "console=", 8)) { in boot_flags_init()
403 if (!strncmp (commands, "ttya", 4)) { in boot_flags_init()
406 } else if (!strncmp (commands, "ttyb", 4)) { in boot_flags_init()
410 } else if (!strncmp (commands, "prom", 4)) { in boot_flags_init()
423 if (!strncmp(commands, "mem=", 4)) { in boot_flags_init()
/linux-2.4.37.9/arch/mips/momentum/ocelot_g/
Dprom.c80 if (strncmp("gtbase", *env, strlen("gtbase")) == 0) { in prom_init()
84 if (strncmp("busclock", *env, strlen("busclock")) == 0) { in prom_init()

12345678910>>...14