Searched refs:bootargs (Results 1 – 2 of 2) sorted by relevance
| /components/drivers/ofw/ |
| A D | ofw.c | 367 const char *bootargs = RT_NULL, *ch; in rt_ofw_bootargs_select() local 370 (bootargs_nr = 0, !rt_ofw_prop_read_string(ofw_node_chosen, "bootargs", &bootargs)) && in rt_ofw_bootargs_select() 371 bootargs && (bootargs = rt_strdup(bootargs))) in rt_ofw_bootargs_select() 374 rt_size_t length = rt_strlen(bootargs); in rt_ofw_bootargs_select() 375 const char *bootargs_end = bootargs + length; in rt_ofw_bootargs_select() 377 for (ch = bootargs; ch < bootargs_end; ++ch) in rt_ofw_bootargs_select() 417 for (; i < length && !bootargs[i]; ++i) in rt_ofw_bootargs_select() 423 values[idx++] = (char *)&bootargs[i]; in rt_ofw_bootargs_select() 426 for (; i < length && bootargs[i]; ++i) in rt_ofw_bootargs_select() 433 rt_free((char *)bootargs); in rt_ofw_bootargs_select()
|
| A D | fdt.c | 430 const char *options, *bootargs = fdt_getprop(_fdt, offset, "bootargs", &len); in fdt_scan_initrd() local 434 if (bootargs && (options = rt_strstr(bootargs, tmp_name))) in fdt_scan_initrd() 604 const char *bootargs = fdt_getprop(_fdt, offset, "bootargs", &len); in rt_fdt_scan_chosen_stdout() local 606 if (bootargs && (options = rt_strstr(bootargs, "earlycon"))) in rt_fdt_scan_chosen_stdout() 813 const char *bootargs = fdt_getprop(_fdt, offset, "bootargs", &len), *end; in rt_fdt_bootargs_select() local 815 end = bootargs + len; in rt_fdt_bootargs_select() 818 for (int i = 0; bootargs < end; ++i) in rt_fdt_bootargs_select() 820 bootargs = rt_strstr(bootargs, key); in rt_fdt_bootargs_select() 822 if (!bootargs) in rt_fdt_bootargs_select() 827 bootargs += key_len; in rt_fdt_bootargs_select() [all …]
|
Completed in 15 milliseconds