Home
last modified time | relevance | path

Searched refs:strstr (Results 1 – 25 of 56) sorted by relevance

123

/arch/mips/loongson/lemote-2f/
Dmachtype.c31 if (strstr(arcs_cmdline, "PMON_VER=LM")) { in mach_prom_init_machtype()
32 if (strstr(arcs_cmdline, "PMON_VER=LM8")) in mach_prom_init_machtype()
34 else if (strstr(arcs_cmdline, "PMON_VER=LM6")) in mach_prom_init_machtype()
36 else if (strstr(arcs_cmdline, "PMON_VER=LM9")) in mach_prom_init_machtype()
/arch/ia64/include/asm/sn/sn2/
Dsn_hwperf.h45 #define SN_HWPERF_IS_NODE(x) ((x) && strstr((x)->name, "SHub"))
46 #define SN_HWPERF_IS_NODE_SHUB2(x) ((x) && strstr((x)->name, "SHub 2."))
47 #define SN_HWPERF_IS_IONODE(x) ((x) && strstr((x)->name, "TIO"))
48 #define SN_HWPERF_IS_NL3ROUTER(x) ((x) && strstr((x)->name, "NL3Router"))
49 #define SN_HWPERF_IS_NL4ROUTER(x) ((x) && strstr((x)->name, "NL4Router"))
50 #define SN_HWPERF_IS_OLDROUTER(x) ((x) && strstr((x)->name, "Router"))
/arch/mips/loongson/common/
Dmachtype.c53 p = strstr(arcs_cmdline, "machtype="); in prom_init_machtype()
61 p = strstr(str, " "); in prom_init_machtype()
66 if (strstr(system_types[machtype], str)) { in prom_init_machtype()
/arch/mips/mti-sead3/
Dsead3-init.c28 if ((strstr(fw_getcmdline(), "console=")) == NULL) { in console_config()
138 if ((strstr(fw_getcmdline(), "console=ttyS0")) != NULL) in prom_init()
140 else if ((strstr(fw_getcmdline(), "console=ttyS1")) != NULL) in prom_init()
144 if ((strstr(fw_getcmdline(), "console=")) == NULL) in prom_init()
Dsead3-setup.c30 p = strstr(p, s); in get_memsize_from_cmdline()
/arch/mips/mti-malta/
Dmalta-setup.c113 if (strstr(fw_getcmdline(), "iobcuncached")) { in plat_enable_iocoherency()
178 optptr = strstr(argptr, "pci_clock="); in pci_clock_check()
218 if (strstr(argptr, "debug")) { in bonito_quirks_setup()
230 if (strstr(argptr, "iobcuncached")) { in bonito_quirks_setup()
Dmalta-memory.c75 ptr = strstr(cmdline, "memsize="); in fw_getmdesc()
77 ptr = strstr(ptr, " memsize="); in fw_getmdesc()
80 ptr = strstr(cmdline, "ememsize="); in fw_getmdesc()
82 ptr = strstr(ptr, " ememsize="); in fw_getmdesc()
Dmalta-init.c75 if ((strstr(fw_getcmdline(), "earlycon=")) == NULL) { in console_config()
81 if ((strstr(fw_getcmdline(), "console=")) == NULL) { in console_config()
/arch/powerpc/platforms/powermac/
Dsetup.c339 if (strstr(boot_command_line, "adb_sync")) { in pmac_setup_arch()
377 p = strstr(boot_command_line, "root="); in note_bootable_part()
463 if (strstr(boot_command_line, "btextdbg")) { in pmac_init_early()
472 udbg_scc_init(!!strstr(boot_command_line, "sccdbg")); in pmac_init_early()
473 udbg_adb_init(!!strstr(boot_command_line, "btextdbg")); in pmac_init_early()
545 if (strstr(boot_command_line, "console=")) { in check_pmac_serial_console()
/arch/x86/lib/
Dstrstr_32.c3 char *strstr(const char *cs, const char *ct) in strstr() function
/arch/mips/ar7/
Dplatform.c527 if (strstr(prid, "Fritz_Box_FON")) { in detect_leds()
530 } else if (strstr(prid, "Fritz_Box_")) { in detect_leds()
534 && usb_prod != NULL && strstr(usb_prod, "DSL-502T")) { in detect_leds()
537 } else if (strstr(prid, "DG834")) { in detect_leds()
540 } else if (strstr(prid, "CYWM") || strstr(prid, "CYWL")) { in detect_leds()
543 } else if (strstr(prid, "GT701")) { in detect_leds()
/arch/powerpc/mm/
Dinit_32.c109 if (strstr(boot_command_line, "nobats")) { in MMU_setup()
113 if (strstr(boot_command_line, "noltlbs")) { in MMU_setup()
/arch/um/os-Linux/
Duser_syms.c12 #undef strstr
23 EXPORT_SYMBOL(strstr);
/arch/x86/kernel/
Di386_ksyms_32.c36 EXPORT_SYMBOL(strstr);
/arch/unicore32/kernel/
Dearly_printk.c42 if (strstr(buf, "keep")) in setup_early_printk()
/arch/mips/netlogic/xlr/
Dsetup.c120 if ((strstr(arcs_cmdline, "console=")) == NULL) { in build_arcs_cmdline()
129 if ((strstr(arcs_cmdline, "rdinit=")) == NULL) { in build_arcs_cmdline()
/arch/x86/boot/
Dstring.h24 extern char *strstr(const char *s1, const char *s2);
/arch/arm/boot/compressed/
Ddecompress.c34 extern char * strstr(const char * s1, const char *s2);
/arch/s390/lib/
Dstring.c244 char * strstr(const char * s1,const char * s2) in strstr() function
271 EXPORT_SYMBOL(strstr);
/arch/mips/alchemy/common/
Dprom.c115 ethaddr_str = strstr(arcs_cmdline, "ethaddr="); in prom_get_ethernet_addr()
/arch/ia64/kernel/
Dmachvec.c52 if (! (start = strstr(cmdline, "machvec=")) ) in machvec_init_from_cmdline()
/arch/microblaze/kernel/
Dprom.c63 if (stdout && strstr(stdout, uname)) { in early_init_dt_scan_chosen_serial()
/arch/metag/kernel/
Dmodule.c98 if ((strstr(secstrings + sechdrs[i].sh_name, ".init") != NULL) in get_plt_size()
103 if (strstr(secstrings + sechdrs[i].sh_name, ".debug") != NULL) in get_plt_size()
/arch/sh/kernel/
Dsh_bios.c155 if (strstr(buf, "keep")) in setup_early_printk()
/arch/powerpc/kernel/
Dprom_init.c607 opt = strstr(prom_cmd_line, "iommu="); in early_cmdline_parse()
619 opt = strstr(prom_cmd_line, "mem="); in early_cmdline_parse()
1505 if ((type[0] == 0) || (strstr(type, "pci") == NULL)) in prom_initialize_tce_table()
1510 if ((strstr(compatible, "python") == NULL) && in prom_initialize_tce_table()
1511 (strstr(compatible, "Speedwagon") == NULL) && in prom_initialize_tce_table()
1512 (strstr(compatible, "Winnipeg") == NULL)) in prom_initialize_tce_table()
1515 if ((strstr(model, "ython") == NULL) && in prom_initialize_tce_table()
1516 (strstr(model, "peedwagon") == NULL) && in prom_initialize_tce_table()
1517 (strstr(model, "innipeg") == NULL)) in prom_initialize_tce_table()
1826 if (strstr(p, "Power Macintosh") || in prom_find_machine_type()
[all …]

123