Home
last modified time | relevance | path

Searched refs:arcs_cmdline (Results 1 – 25 of 32) sorted by relevance

12

/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()
41 strcat(arcs_cmdline, " machtype="); in mach_prom_init_machtype()
42 strcat(arcs_cmdline, get_system_type()); in mach_prom_init_machtype()
43 strcat(arcs_cmdline, " "); in mach_prom_init_machtype()
/arch/mips/loongson/common/
Dcmdline.c37 arcs_cmdline[0] = '\0'; in prom_init_cmdline()
40 if (strlen(arcs_cmdline) + strlen(((char *)l) + 1) in prom_init_cmdline()
41 >= sizeof(arcs_cmdline)) in prom_init_cmdline()
43 strcat(arcs_cmdline, ((char *)l)); in prom_init_cmdline()
44 strcat(arcs_cmdline, " "); in prom_init_cmdline()
/arch/mips/emma/common/
Dprom.c49 arcs_cmdline[0] = '\0'; in prom_init()
53 if (strlen(arcs_cmdline) + strlen(arg[i]) + 1 in prom_init()
54 >= sizeof(arcs_cmdline)) in prom_init()
56 strcat(arcs_cmdline, arg[i]); in prom_init()
57 strcat(arcs_cmdline, " "); in prom_init()
/arch/mips/ath79/
Dprom.c44 strlcat(arcs_cmdline, " ", sizeof(arcs_cmdline)); in ath79_prom_init_cmdline()
45 strlcat(arcs_cmdline, argv[i], sizeof(arcs_cmdline)); in ath79_prom_init_cmdline()
/arch/mips/lantiq/
Dprom.c49 arcs_cmdline[0] = '\0'; in prom_init_cmdline()
55 strlcat(arcs_cmdline, p, sizeof(arcs_cmdline)); in prom_init_cmdline()
56 strlcat(arcs_cmdline, " ", sizeof(arcs_cmdline)); in prom_init_cmdline()
/arch/mips/netlogic/xlr/
Dsetup.c107 remain = sizeof(arcs_cmdline) - 1; in build_arcs_cmdline()
108 arcs_cmdline[0] = '\0'; in build_arcs_cmdline()
114 strcat(arcs_cmdline, arg); in build_arcs_cmdline()
115 strcat(arcs_cmdline, " "); in build_arcs_cmdline()
120 if ((strstr(arcs_cmdline, "console=")) == NULL) { in build_arcs_cmdline()
125 strcat(arcs_cmdline, arg); in build_arcs_cmdline()
129 if ((strstr(arcs_cmdline, "rdinit=")) == NULL) { in build_arcs_cmdline()
134 strcat(arcs_cmdline, arg); in build_arcs_cmdline()
/arch/mips/ralink/
Dprom.c51 strlcat(arcs_cmdline, " ", sizeof(arcs_cmdline)); in prom_init_cmdline()
52 strlcat(arcs_cmdline, p, sizeof(arcs_cmdline)); in prom_init_cmdline()
/arch/mips/dec/prom/
Dcmdline.c31 strcat(arcs_cmdline, arg); in prom_init_cmdline()
33 strcat(arcs_cmdline, " "); in prom_init_cmdline()
37 printk("arcs_cmdline: %s\n", &(arcs_cmdline[0])); in prom_init_cmdline()
/arch/mips/rb532/
Dprom.c111 i = strlen(arcs_cmdline); in prom_setup_cmdline()
114 strcpy(cp, arcs_cmdline); in prom_setup_cmdline()
115 cp += strlen(arcs_cmdline); in prom_setup_cmdline()
119 strcpy(arcs_cmdline, cmd_line); in prom_setup_cmdline()
/arch/mips/fw/arc/
Dcmdline.c74 cp = arcs_cmdline; in prom_init_cmdline()
97 if (cp != arcs_cmdline) /* get rid of trailing space */ in prom_init_cmdline()
102 printk(KERN_DEBUG "prom cmdline: %s\n", arcs_cmdline); in prom_init_cmdline()
/arch/mips/fw/lib/
Dcmdline.c39 strlcat(arcs_cmdline, fw_argv(i), COMMAND_LINE_SIZE); in fw_init_cmdline()
41 strlcat(arcs_cmdline, " ", COMMAND_LINE_SIZE); in fw_init_cmdline()
47 return &(arcs_cmdline[0]); in fw_getcmdline()
/arch/mips/alchemy/common/
Dprom.c51 strlcat(arcs_cmdline, prom_argv[i], COMMAND_LINE_SIZE); in prom_init_cmdline()
53 strlcat(arcs_cmdline, " ", COMMAND_LINE_SIZE); in prom_init_cmdline()
115 ethaddr_str = strstr(arcs_cmdline, "ethaddr="); in prom_get_ethernet_addr()
/arch/mips/paravirt/
Dsetup.c52 strlcat(arcs_cmdline, argv[i], COMMAND_LINE_SIZE); in prom_init()
54 strlcat(arcs_cmdline, " ", COMMAND_LINE_SIZE); in prom_init()
/arch/mips/vr41xx/common/
Dinit.c69 strlcat(arcs_cmdline, argv[i], COMMAND_LINE_SIZE); in prom_init()
71 strlcat(arcs_cmdline, " ", COMMAND_LINE_SIZE); in prom_init()
/arch/mips/cavium-octeon/
Dsetup.c757 arg = strstr(arcs_cmdline, "mem="); in prom_init()
766 arcs_cmdline[0] = 0; in prom_init()
783 strcat(arcs_cmdline, " "); in prom_init()
784 strcat(arcs_cmdline, arg); in prom_init()
791 } else if (strlen(arcs_cmdline) + strlen(arg) + 1 < in prom_init()
792 sizeof(arcs_cmdline) - 1) { in prom_init()
793 strcat(arcs_cmdline, " "); in prom_init()
794 strcat(arcs_cmdline, arg); in prom_init()
798 if (strstr(arcs_cmdline, "console=") == NULL) { in prom_init()
800 strcat(arcs_cmdline, " console=ttyS0,115200"); in prom_init()
[all …]
/arch/mips/ar7/
Dprom.c58 strlcat(arcs_cmdline, argv[i], COMMAND_LINE_SIZE); in ar7_init_cmdline()
60 strlcat(arcs_cmdline, " ", COMMAND_LINE_SIZE); in ar7_init_cmdline()
206 if (strstr(arcs_cmdline, "console=")) in console_config()
240 strlcat(arcs_cmdline, console_string, COMMAND_LINE_SIZE); in console_config()
/arch/mips/cobalt/
Dsetup.c110 strlcat(arcs_cmdline, argv[i], COMMAND_LINE_SIZE); in prom_init()
112 strlcat(arcs_cmdline, " ", COMMAND_LINE_SIZE); in prom_init()
/arch/mips/lasat/
Dprom.c103 strncpy(arcs_cmdline, argv[0], COMMAND_LINE_SIZE-1); in prom_init()
104 arcs_cmdline[COMMAND_LINE_SIZE-1] = '\0'; in prom_init()
/arch/mips/txx9/generic/
Dsetup.c179 arcs_cmdline[0] = '\0'; in prom_init_cmdline()
184 strcat(arcs_cmdline, " "); in prom_init_cmdline()
186 strcat(arcs_cmdline, "\""); in prom_init_cmdline()
187 strcat(arcs_cmdline, str); in prom_init_cmdline()
188 strcat(arcs_cmdline, "\""); in prom_init_cmdline()
190 strcat(arcs_cmdline, str); in prom_init_cmdline()
303 strcpy(cmdline, arcs_cmdline); in preprocess_cmdline()
305 arcs_cmdline[0] = '\0'; in preprocess_cmdline()
329 if (arcs_cmdline[0]) in preprocess_cmdline()
330 strcat(arcs_cmdline, " "); in preprocess_cmdline()
[all …]
/arch/mips/sibyte/common/
Dcfe.c290 if (cfe_getenv("LINUX_CMDLINE", arcs_cmdline, COMMAND_LINE_SIZE) < 0) { in prom_init()
304 for (ptr = arcs_cmdline; *ptr; ptr++) { in prom_init()
321 arcs_cmdline[COMMAND_LINE_SIZE-1] = 0; in prom_init()
/arch/mips/fw/sni/
Dsniprom.c148 strcat(arcs_cmdline, (char *)CKSEG0ADDR(argv[i])); in prom_init()
150 strcat(arcs_cmdline, " "); in prom_init()
/arch/mips/pnx833x/common/
Dprom.c33 char *c = &(arcs_cmdline[0]); in prom_init_cmdline()
/arch/mips/goldfish/
Dgoldfish-platform.c40 strcpy(arcs_cmdline, cmdline); in prom_init()
/arch/mips/netlogic/xlp/
Ddt.c86 strlcpy(arcs_cmdline, boot_command_line, COMMAND_LINE_SIZE); in xlp_early_init_devtree()
/arch/mips/jz4740/
Dprom.c30 char *dst = &(arcs_cmdline[0]); in jz4740_init_cmdline()

12