Lines Matching defs:chosen
260 int chosen;
265 chosen = fdt_add_subnode(fdt, 0, "chosen");
266 if (chosen == -FDT_ERR_EXISTS) {
267 chosen = fdt_path_offset(fdt, "/chosen");
270 if (chosen < 0) {
271 return chosen;
298 err = fdt_setprop(fdt, chosen, "bootargs",
304 return fdt_appendprop(fdt, chosen, "bootargs", &nul, 1);