Home
last modified time | relevance | path

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

12

/arch/mips/lemote/lm2e/
Dprom.c42 arcs_cmdline[0] = '\0'; in prom_init_cmdline()
45 if (strlen(arcs_cmdline) + strlen(((char *)l) + 1) in prom_init_cmdline()
46 >= sizeof(arcs_cmdline)) in prom_init_cmdline()
48 strcat(arcs_cmdline, ((char *)l)); in prom_init_cmdline()
49 strcat(arcs_cmdline, " "); in prom_init_cmdline()
62 if ((strstr(arcs_cmdline, "console=")) == NULL) in prom_init()
63 strcat(arcs_cmdline, " console=ttyS0,115200"); in prom_init()
64 if ((strstr(arcs_cmdline, "root=")) == NULL) in prom_init()
65 strcat(arcs_cmdline, " root=/dev/hda1"); in prom_init()
/arch/mips/pmc-sierra/yosemite/
Dprom.c101 arcs_cmdline[0] = '\0'; in prom_init()
105 if (strlen(arcs_cmdline) + strlen(arg[i] + 1) >= in prom_init()
106 sizeof(arcs_cmdline)) in prom_init()
109 strcat(arcs_cmdline, arg[i]); in prom_init()
110 strcat(arcs_cmdline, " "); in prom_init()
114 if ((strstr(arcs_cmdline, "console=ttyS")) == NULL) in prom_init()
115 strcat(arcs_cmdline, "console=ttyS0,115200"); in prom_init()
/arch/mips/emma/common/
Dprom.c52 arcs_cmdline[0] = '\0'; in prom_init()
56 if (strlen(arcs_cmdline) + strlen(arg[i] + 1) in prom_init()
57 >= sizeof(arcs_cmdline)) in prom_init()
59 strcat(arcs_cmdline, arg[i]); in prom_init()
60 strcat(arcs_cmdline, " "); in prom_init()
/arch/mips/mti-malta/
Dmalta-cmdline.c36 return &(arcs_cmdline[0]); in prom_getcmdline()
47 cp = &(arcs_cmdline[0]); in prom_init_cmdline()
54 if (cp != &(arcs_cmdline[0])) { in prom_init_cmdline()
Dmalta-memory.c80 strcpy(cmdline, arcs_cmdline); in prom_getmdesc()
/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/bcm47xx/
Dprom.c108 strcpy(arcs_cmdline, buf); in prom_init_cmdline()
113 if ((strstr(arcs_cmdline, "console=")) == NULL) { in prom_init_cmdline()
121 snprintf(arcs_cmdline, CL_SIZE, "%s console=ttyS%c,115200", in prom_init_cmdline()
122 arcs_cmdline, buf[4]); in prom_init_cmdline()
/arch/mips/cobalt/
Dsetup.c108 arcs_cmdline[0] = '\0'; in prom_init()
113 if (posn + 1 + nchr + 1 > sizeof(arcs_cmdline)) in prom_init()
116 arcs_cmdline[posn++] = ' '; in prom_init()
117 strcpy(arcs_cmdline + posn, argv[indx]); in prom_init()
/arch/mips/fw/arc/
Dcmdline.c21 return arcs_cmdline; in prom_getcmdline()
78 cp = arcs_cmdline; in prom_init_cmdline()
101 if (cp != arcs_cmdline) /* get rid of trailing space */ in prom_init_cmdline()
106 printk(KERN_DEBUG "prom cmdline: %s\n", arcs_cmdline); in prom_init_cmdline()
/arch/mips/txx9/generic/
Dsetup.c183 if (arcs_cmdline[0] == '+') in prom_init_cmdline()
184 strcpy(builtin, arcs_cmdline + 1); in prom_init_cmdline()
185 else if (arcs_cmdline[0] == '-') { in prom_init_cmdline()
186 strcpy(builtin, arcs_cmdline + 1); in prom_init_cmdline()
189 strcpy(builtin, arcs_cmdline); in prom_init_cmdline()
190 arcs_cmdline[0] = '\0'; in prom_init_cmdline()
195 strcat(arcs_cmdline, " "); in prom_init_cmdline()
197 strcat(arcs_cmdline, "\""); in prom_init_cmdline()
198 strcat(arcs_cmdline, str); in prom_init_cmdline()
199 strcat(arcs_cmdline, "\""); in prom_init_cmdline()
[all …]
/arch/mips/nxp/pnx8550/common/
Dprom.c35 return &(arcs_cmdline[0]); in prom_getcmdline()
42 arcs_cmdline[0] = '\0'; in prom_init_cmdline()
44 strcat(arcs_cmdline, prom_argv[i]); in prom_init_cmdline()
45 strcat(arcs_cmdline, " "); in prom_init_cmdline()
/arch/mips/mipssim/
Dsim_cmdline.c22 extern char arcs_cmdline[];
26 return arcs_cmdline; in prom_getcmdline()
/arch/mips/rb532/
Dprom.c112 i = strlen(arcs_cmdline); in prom_setup_cmdline()
115 strcpy(cp, arcs_cmdline); in prom_setup_cmdline()
116 cp += strlen(arcs_cmdline); in prom_setup_cmdline()
120 strcpy(arcs_cmdline, cmd_line); in prom_setup_cmdline()
/arch/mips/alchemy/common/
Dprom.c48 return &(arcs_cmdline[0]); in prom_getcmdline()
58 cp = &(arcs_cmdline[0]); in prom_init_cmdline()
65 if (cp != &(arcs_cmdline[0])) /* get rid of trailing space */ in prom_init_cmdline()
/arch/mips/nxp/pnx833x/common/
Dprom.c33 char *c = &(arcs_cmdline[0]); in prom_init_cmdline()
68 return arcs_cmdline; in prom_getcmdline()
/arch/mips/cavium-octeon/
Dsetup.c632 arcs_cmdline[0] = 0; in prom_init()
649 } else if (strlen(arcs_cmdline) + strlen(arg) + 1 < in prom_init()
650 sizeof(arcs_cmdline) - 1) { in prom_init()
651 strcat(arcs_cmdline, " "); in prom_init()
652 strcat(arcs_cmdline, arg); in prom_init()
656 if (strstr(arcs_cmdline, "console=") == NULL) { in prom_init()
658 strcat(arcs_cmdline, " console=gdb"); in prom_init()
661 strcat(arcs_cmdline, " console=ttyS0,115200"); in prom_init()
664 strcat(arcs_cmdline, " console=ttyS1,115200"); in prom_init()
666 strcat(arcs_cmdline, " console=ttyS0,115200"); in prom_init()
[all …]
/arch/mips/vr41xx/common/
Dinit.c69 strcat(arcs_cmdline, argv[i]); in prom_init()
71 strcat(arcs_cmdline, " "); in prom_init()
/arch/mips/sibyte/cfe/
Dsetup.c290 if (cfe_getenv("LINUX_CMDLINE", arcs_cmdline, CL_SIZE) < 0) { in prom_init()
296 strcpy(arcs_cmdline, "root=/dev/ram0 "); in prom_init()
310 for (ptr = arcs_cmdline; *ptr; ptr++) { in prom_init()
327 arcs_cmdline[CL_SIZE-1] = 0; in prom_init()
/arch/mips/lasat/
Dprom.c103 strncpy(arcs_cmdline, argv[0], CL_SIZE-1); in prom_init()
104 arcs_cmdline[CL_SIZE-1] = '\0'; in prom_init()
/arch/mips/fw/sni/
Dsniprom.c147 strcat(arcs_cmdline, (char *)CKSEG0ADDR(argv[i])); in prom_init()
149 strcat(arcs_cmdline, " "); in prom_init()
/arch/mips/mach-goldfish/
Dgoldfish-platform.c67 strcpy(arcs_cmdline, cmdline); in prom_init()
/arch/mips/sibyte/sb1250/
Dprom.c84 strcpy(arcs_cmdline, "root=/dev/ram0 "); in prom_init()
/arch/mips/include/asm/
Dbootinfo.h98 extern char arcs_cmdline[CL_SIZE];
/arch/mips/pmc-sierra/msp71xx/
Dmsp_prom.c314 return &(arcs_cmdline[0]); in prom_getcmdline()
325 cp = &(arcs_cmdline[0]); in prom_init_cmdline()
332 if (cp != &(arcs_cmdline[0])) /* get rid of trailing space */ in prom_init_cmdline()
/arch/mips/basler/excite/
Dexcite_prom.c130 strcpy(arcs_cmdline, prom_argv[1]); in prom_init()

12