/arch/mips/loongson64/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/loongson64/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/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 | 54 arcs_cmdline[0] = '\0'; in prom_init_cmdline() 60 strlcat(arcs_cmdline, p, sizeof(arcs_cmdline)); in prom_init_cmdline() 61 strlcat(arcs_cmdline, " ", sizeof(arcs_cmdline)); in prom_init_cmdline()
|
/arch/mips/ralink/ |
D | prom.c | 57 strlcat(arcs_cmdline, " ", sizeof(arcs_cmdline)); in prom_init_cmdline() 58 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/loongson32/common/ |
D | prom.c | 46 char *c = &(arcs_cmdline[0]); in prom_init_cmdline() 70 if (strstr(arcs_cmdline, "console=ttyS3")) in prom_init() 72 else if (strstr(arcs_cmdline, "console=ttyS2")) in prom_init() 74 else if (strstr(arcs_cmdline, "console=ttyS1")) in prom_init()
|
/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/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/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/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 | 63 pr_info(" arcs_cmdline : %s\n", arcs_cmdline); in plat_mem_setup() 68 strlcpy(arcs_cmdline, boot_command_line, COMMAND_LINE_SIZE); in plat_mem_setup() 80 char *dst = &(arcs_cmdline[0]); in pic32_init_cmdline()
|
/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/kernel/ |
D | relocate.c | 232 str = strstr(arcs_cmdline, "nokaslr"); in kaslr_disabled() 233 if (str == arcs_cmdline || (str > arcs_cmdline && *(str - 1) == ' ')) in kaslr_disabled() 302 strlcpy(arcs_cmdline, boot_command_line, COMMAND_LINE_SIZE); in relocate_kernel() 316 arcs_cmdline[0] = '\0'; in relocate_kernel()
|
/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/cavium-octeon/ |
D | setup.c | 862 arg = strstr(arcs_cmdline, "mem="); in prom_init() 871 arcs_cmdline[0] = 0; in prom_init() 888 strcat(arcs_cmdline, " "); in prom_init() 889 strcat(arcs_cmdline, arg); in prom_init() 896 } else if (strlen(arcs_cmdline) + strlen(arg) + 1 < in prom_init() 897 sizeof(arcs_cmdline) - 1) { in prom_init() 898 strcat(arcs_cmdline, " "); in prom_init() 899 strcat(arcs_cmdline, arg); in prom_init() 903 if (strstr(arcs_cmdline, "console=") == NULL) { in prom_init() 905 strcat(arcs_cmdline, " console=ttyS0,115200"); in prom_init() [all …]
|
/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 | 130 arcs_cmdline[0] = '\0'; in prom_init_cmdline() 135 strcat(arcs_cmdline, " "); in prom_init_cmdline() 137 strcat(arcs_cmdline, "\""); in prom_init_cmdline() 138 strcat(arcs_cmdline, str); in prom_init_cmdline() 139 strcat(arcs_cmdline, "\""); in prom_init_cmdline() 141 strcat(arcs_cmdline, str); in prom_init_cmdline() 254 strcpy(cmdline, arcs_cmdline); in preprocess_cmdline() 256 arcs_cmdline[0] = '\0'; in preprocess_cmdline() 280 if (arcs_cmdline[0]) in preprocess_cmdline() 281 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/xilfpga/ |
D | init.c | 26 strlcpy(arcs_cmdline, boot_command_line, COMMAND_LINE_SIZE); in plat_mem_setup()
|
/arch/mips/jz4740/ |
D | prom.c | 30 char *dst = &(arcs_cmdline[0]); in jz4740_init_cmdline()
|
/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()
|