Lines Matching refs:tree
241 static void flatten_tree(struct node *tree, struct emitter *emit,
249 emit->beginnode(etarget, tree->label);
252 emit->string(etarget, tree->fullpath, 0);
254 emit->string(etarget, tree->name, 0);
258 for_each_property(tree, prop) {
279 emit->cell(etarget, tree->basenamelen+1);
282 if ((vi->flags & FTF_VARALIGN) && ((tree->basenamelen+1) >= 8))
285 emit->string(etarget, tree->name, tree->basenamelen);
289 for_each_child(tree, child) {
293 emit->endnode(etarget, tree->label);
365 die("Unknown device tree blob version %d\n", version);
399 * the device tree itself, and finally the strings.
417 die("Error writing device tree blob: %s\n", strerror(errno));
453 die("Unknown device tree blob version %d\n", version);
563 die("Premature end of data parsing flat device tree\n");
587 die("Premature end of data parsing flat device tree\n");
598 die("Premature end of data parsing flat device tree\n");
739 fprintf(stderr, "Warning: Flat tree input has "
754 die("Premature FDT_END in device tree blob\n");
759 fprintf(stderr, "Warning: NOP tag found in flat tree"
766 die("Invalid opcode word %08x in device tree blob\n",
788 struct node *tree;
891 die("Device tree blob doesn't begin with FDT_BEGIN_NODE (begins with 0x%08x)\n", val);
893 tree = unflatten_tree(&dtbuf, &strbuf, "", flags);
897 die("Device tree blob doesn't end with FDT_END\n");
903 return build_boot_info(reservelist, tree, boot_cpuid_phys);