/arch/mips/loongson64/lemote-2f/ |
D | machtype.c | 27 if (strstr(arcs_cmdline, "PMON_VER=LM")) { in mach_prom_init_machtype() 28 if (strstr(arcs_cmdline, "PMON_VER=LM8")) in mach_prom_init_machtype() 30 else if (strstr(arcs_cmdline, "PMON_VER=LM6")) in mach_prom_init_machtype() 32 else if (strstr(arcs_cmdline, "PMON_VER=LM9")) in mach_prom_init_machtype() 37 strcat(arcs_cmdline, " machtype="); in mach_prom_init_machtype() 38 strcat(arcs_cmdline, get_system_type()); in mach_prom_init_machtype() 39 strcat(arcs_cmdline, " "); in mach_prom_init_machtype()
|
/arch/mips/loongson64/common/ |
D | cmdline.c | 33 arcs_cmdline[0] = '\0'; in prom_init_cmdline() 36 if (strlen(arcs_cmdline) + strlen(((char *)l) + 1) in prom_init_cmdline() 37 >= sizeof(arcs_cmdline)) in prom_init_cmdline() 39 strcat(arcs_cmdline, ((char *)l)); in prom_init_cmdline() 40 strcat(arcs_cmdline, " "); in prom_init_cmdline()
|
/arch/mips/emma/common/ |
D | prom.c | 36 arcs_cmdline[0] = '\0'; in prom_init() 40 if (strlen(arcs_cmdline) + strlen(arg[i]) + 1 in prom_init() 41 >= sizeof(arcs_cmdline)) in prom_init() 43 strcat(arcs_cmdline, arg[i]); in prom_init() 44 strcat(arcs_cmdline, " "); in prom_init()
|
/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/lantiq/ |
D | prom.c | 51 arcs_cmdline[0] = '\0'; in prom_init_cmdline() 57 strlcat(arcs_cmdline, p, sizeof(arcs_cmdline)); in prom_init_cmdline() 58 strlcat(arcs_cmdline, " ", sizeof(arcs_cmdline)); in prom_init_cmdline()
|
/arch/mips/ralink/ |
D | prom.c | 55 strlcat(arcs_cmdline, " ", sizeof(arcs_cmdline)); in prom_init_cmdline() 56 strlcat(arcs_cmdline, p, sizeof(arcs_cmdline)); in prom_init_cmdline()
|
/arch/mips/dec/prom/ |
D | cmdline.c | 32 strcat(arcs_cmdline, arg); in prom_init_cmdline() 34 strcat(arcs_cmdline, " "); in prom_init_cmdline() 38 printk("arcs_cmdline: %s\n", &(arcs_cmdline[0])); in prom_init_cmdline()
|
/arch/mips/loongson32/common/ |
D | prom.c | 42 char *c = &(arcs_cmdline[0]); in prom_init_cmdline() 66 if (strstr(arcs_cmdline, "console=ttyS3")) in prom_init() 68 else if (strstr(arcs_cmdline, "console=ttyS2")) in prom_init() 70 else if (strstr(arcs_cmdline, "console=ttyS1")) in prom_init()
|
/arch/mips/rb532/ |
D | prom.c | 96 i = strlen(arcs_cmdline); in prom_setup_cmdline() 99 strcpy(cp, arcs_cmdline); in prom_setup_cmdline() 100 cp += strlen(arcs_cmdline); in prom_setup_cmdline() 104 strcpy(arcs_cmdline, cmd_line); in prom_setup_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 | 50 strlcat(arcs_cmdline, prom_argv[i], COMMAND_LINE_SIZE); in prom_init_cmdline() 52 strlcat(arcs_cmdline, " ", COMMAND_LINE_SIZE); in prom_init_cmdline() 114 ethaddr_str = strstr(arcs_cmdline, "ethaddr="); in prom_get_ethernet_addr()
|
/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/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/pic32/pic32mzda/ |
D | init.c | 55 pr_info(" arcs_cmdline : %s\n", arcs_cmdline); in plat_mem_setup() 60 strlcpy(arcs_cmdline, boot_command_line, COMMAND_LINE_SIZE); in plat_mem_setup() 72 char *dst = &(arcs_cmdline[0]); in pic32_init_cmdline()
|
/arch/mips/cavium-octeon/ |
D | setup.c | 859 arg = strstr(arcs_cmdline, "mem="); in prom_init() 868 arcs_cmdline[0] = 0; in prom_init() 885 strcat(arcs_cmdline, " "); in prom_init() 886 strcat(arcs_cmdline, arg); in prom_init() 893 } else if (strlen(arcs_cmdline) + strlen(arg) + 1 < in prom_init() 894 sizeof(arcs_cmdline) - 1) { in prom_init() 895 strcat(arcs_cmdline, " "); in prom_init() 896 strcat(arcs_cmdline, arg); in prom_init() 900 if (strstr(arcs_cmdline, "console=") == NULL) { in prom_init() 902 strcat(arcs_cmdline, " console=ttyS1,115200"); in prom_init() [all …]
|
/arch/mips/vr41xx/common/ |
D | init.c | 56 strlcat(arcs_cmdline, argv[i], COMMAND_LINE_SIZE); in prom_init() 58 strlcat(arcs_cmdline, " ", COMMAND_LINE_SIZE); in prom_init()
|
/arch/mips/ar7/ |
D | prom.c | 47 strlcat(arcs_cmdline, argv[i], COMMAND_LINE_SIZE); in ar7_init_cmdline() 49 strlcat(arcs_cmdline, " ", COMMAND_LINE_SIZE); in ar7_init_cmdline() 195 if (strstr(arcs_cmdline, "console=")) in console_config() 229 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/kernel/ |
D | relocate.c | 250 str = strstr(arcs_cmdline, "nokaslr"); in kaslr_disabled() 251 if (str == arcs_cmdline || (str > arcs_cmdline && *(str - 1) == ' ')) in kaslr_disabled() 322 strlcpy(arcs_cmdline, boot_command_line, COMMAND_LINE_SIZE); in relocate_kernel() 336 arcs_cmdline[0] = '\0'; in relocate_kernel()
|
D | setup.c | 69 char __initdata arcs_cmdline[COMMAND_LINE_SIZE]; variable 592 if ((USE_PROM_CMDLINE && arcs_cmdline[0]) || in arch_mem_init() 594 strlcpy(boot_command_line, arcs_cmdline, COMMAND_LINE_SIZE); in arch_mem_init() 596 if (EXTEND_WITH_PROM && arcs_cmdline[0]) { in arch_mem_init() 599 strlcat(boot_command_line, arcs_cmdline, COMMAND_LINE_SIZE); in arch_mem_init() 609 if (BUILTIN_EXTEND_WITH_PROM && arcs_cmdline[0]) { in arch_mem_init() 612 strlcat(boot_command_line, arcs_cmdline, COMMAND_LINE_SIZE); in arch_mem_init()
|
/arch/mips/lasat/ |
D | prom.c | 105 strncpy(arcs_cmdline, argv[0], COMMAND_LINE_SIZE-1); in prom_init() 106 arcs_cmdline[COMMAND_LINE_SIZE-1] = '\0'; in prom_init()
|
/arch/mips/txx9/generic/ |
D | setup.c | 131 arcs_cmdline[0] = '\0'; in prom_init_cmdline() 136 strcat(arcs_cmdline, " "); in prom_init_cmdline() 138 strcat(arcs_cmdline, "\""); in prom_init_cmdline() 139 strcat(arcs_cmdline, str); in prom_init_cmdline() 140 strcat(arcs_cmdline, "\""); in prom_init_cmdline() 142 strcat(arcs_cmdline, str); in prom_init_cmdline() 255 strcpy(cmdline, arcs_cmdline); in preprocess_cmdline() 257 arcs_cmdline[0] = '\0'; in preprocess_cmdline() 281 if (arcs_cmdline[0]) in preprocess_cmdline() 282 strcat(arcs_cmdline, " "); in preprocess_cmdline() [all …]
|
/arch/mips/sibyte/common/ |
D | cfe.c | 278 if (cfe_getenv("LINUX_CMDLINE", arcs_cmdline, COMMAND_LINE_SIZE) < 0) { in prom_init() 292 for (ptr = arcs_cmdline; *ptr; ptr++) { in prom_init() 309 arcs_cmdline[COMMAND_LINE_SIZE-1] = 0; in prom_init()
|
/arch/mips/fw/sni/ |
D | sniprom.c | 149 strcat(arcs_cmdline, (char *)CKSEG0ADDR(argv[i])); in prom_init() 151 strcat(arcs_cmdline, " "); in prom_init()
|
/arch/mips/pnx833x/common/ |
D | prom.c | 20 char *c = &(arcs_cmdline[0]); in prom_init_cmdline()
|