Lines Matching refs:tree
250 static void flatten_tree(struct node *tree, struct emitter *emit,
258 if (tree->deleted)
261 emit->beginnode(etarget, tree->labels);
264 emit->string(etarget, tree->fullpath, 0);
266 emit->string(etarget, tree->name, 0);
270 for_each_property(tree, prop) {
291 emit->cell(etarget, tree->basenamelen+1);
294 if ((vi->flags & FTF_VARALIGN) && ((tree->basenamelen+1) >= 8))
297 emit->string(etarget, tree->name, tree->basenamelen);
301 for_each_child(tree, child) {
305 emit->endnode(etarget, tree->labels);
376 die("Unknown device tree blob version %d\n", version);
417 * the device tree itself, and finally the strings.
434 die("Error writing device tree blob: %s\n",
437 die("Short write on device tree blob\n");
474 die("Unknown device tree blob version %d\n", version);
594 die("Premature end of data parsing flat device tree\n");
618 die("Premature end of data parsing flat device tree\n");
629 die("Premature end of data parsing flat device tree\n");
770 fprintf(stderr, "Warning: Flat tree input has "
785 die("Premature FDT_END in device tree blob\n");
790 fprintf(stderr, "Warning: NOP tag found in flat tree"
797 die("Invalid opcode word %08x in device tree blob\n",
824 struct node *tree;
927 die("Device tree blob doesn't begin with FDT_BEGIN_NODE (begins with 0x%08x)\n", val);
929 tree = unflatten_tree(&dtbuf, &strbuf, "", flags);
933 die("Device tree blob doesn't end with FDT_END\n");
939 return build_dt_info(DTSF_V1, reservelist, tree, boot_cpuid_phys);