/arch/mips/lemote/lm2e/ |
D | prom.c | 42 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/ |
D | prom.c | 101 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/ |
D | prom.c | 52 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/ |
D | malta-cmdline.c | 36 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()
|
D | malta-memory.c | 80 strcpy(cmdline, arcs_cmdline); in prom_getmdesc()
|
/arch/mips/dec/prom/ |
D | cmdline.c | 31 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/ |
D | prom.c | 108 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/ |
D | setup.c | 108 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/ |
D | cmdline.c | 21 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/ |
D | setup.c | 183 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/ |
D | prom.c | 35 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/ |
D | sim_cmdline.c | 22 extern char arcs_cmdline[]; 26 return arcs_cmdline; in prom_getcmdline()
|
/arch/mips/rb532/ |
D | prom.c | 112 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/ |
D | prom.c | 48 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/ |
D | prom.c | 33 char *c = &(arcs_cmdline[0]); in prom_init_cmdline() 68 return arcs_cmdline; in prom_getcmdline()
|
/arch/mips/cavium-octeon/ |
D | setup.c | 632 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/ |
D | init.c | 69 strcat(arcs_cmdline, argv[i]); in prom_init() 71 strcat(arcs_cmdline, " "); in prom_init()
|
/arch/mips/sibyte/cfe/ |
D | setup.c | 290 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/ |
D | prom.c | 103 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/ |
D | sniprom.c | 147 strcat(arcs_cmdline, (char *)CKSEG0ADDR(argv[i])); in prom_init() 149 strcat(arcs_cmdline, " "); in prom_init()
|
/arch/mips/mach-goldfish/ |
D | goldfish-platform.c | 67 strcpy(arcs_cmdline, cmdline); in prom_init()
|
/arch/mips/sibyte/sb1250/ |
D | prom.c | 84 strcpy(arcs_cmdline, "root=/dev/ram0 "); in prom_init()
|
/arch/mips/include/asm/ |
D | bootinfo.h | 98 extern char arcs_cmdline[CL_SIZE];
|
/arch/mips/pmc-sierra/msp71xx/ |
D | msp_prom.c | 314 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/ |
D | excite_prom.c | 130 strcpy(arcs_cmdline, prom_argv[1]); in prom_init()
|