/arch/mips/loongson/lemote-2f/ |
D | machtype.c | 31 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/ |
D | cmdline.c | 37 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/ |
D | prom.c | 49 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/ |
D | prom.c | 44 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/ |
D | prom.c | 49 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/ |
D | setup.c | 107 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/ |
D | prom.c | 51 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/ |
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/rb532/ |
D | prom.c | 111 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/ |
D | cmdline.c | 74 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/ |
D | cmdline.c | 39 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/ |
D | prom.c | 51 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/ |
D | setup.c | 52 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/ |
D | init.c | 69 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/ |
D | setup.c | 757 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/ |
D | prom.c | 58 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/ |
D | setup.c | 110 strlcat(arcs_cmdline, argv[i], COMMAND_LINE_SIZE); in prom_init() 112 strlcat(arcs_cmdline, " ", COMMAND_LINE_SIZE); in prom_init()
|
/arch/mips/lasat/ |
D | prom.c | 103 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/ |
D | setup.c | 179 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/ |
D | cfe.c | 290 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/ |
D | sniprom.c | 148 strcat(arcs_cmdline, (char *)CKSEG0ADDR(argv[i])); in prom_init() 150 strcat(arcs_cmdline, " "); in prom_init()
|
/arch/mips/pnx833x/common/ |
D | prom.c | 33 char *c = &(arcs_cmdline[0]); in prom_init_cmdline()
|
/arch/mips/goldfish/ |
D | goldfish-platform.c | 40 strcpy(arcs_cmdline, cmdline); in prom_init()
|
/arch/mips/netlogic/xlp/ |
D | dt.c | 86 strlcpy(arcs_cmdline, boot_command_line, COMMAND_LINE_SIZE); in xlp_early_init_devtree()
|
/arch/mips/jz4740/ |
D | prom.c | 30 char *dst = &(arcs_cmdline[0]); in jz4740_init_cmdline()
|