Lines Matching refs:dtbuf
62 struct data *dtbuf = e;
64 *dtbuf = data_append_cell(*dtbuf, val);
69 struct data *dtbuf = e;
74 *dtbuf = data_append_data(*dtbuf, str, len);
75 *dtbuf = data_append_byte(*dtbuf, '\0');
80 struct data *dtbuf = e;
82 *dtbuf = data_append_align(*dtbuf, a);
87 struct data *dtbuf = e;
89 *dtbuf = data_append_data(*dtbuf, d.val, d.len);
375 struct data dtbuf = empty_data;
387 flatten_tree(dti->dt, &bin_emitter, &dtbuf, &strbuf, vi);
388 bin_emit_cell(&dtbuf, FDT_END);
393 make_fdt_header(&fdt, vi, reservebuf.len, dtbuf.len, strbuf.len,
432 blob = data_merge(blob, dtbuf);
687 static struct property *flat_read_property(struct inbuf *dtbuf,
694 proplen = flat_read_word(dtbuf);
695 stroff = flat_read_word(dtbuf);
700 flat_realign(dtbuf, 8);
702 val = flat_read_data(dtbuf, proplen);
752 static struct node *unflatten_tree(struct inbuf *dtbuf,
762 flatname = flat_read_string(dtbuf);
773 val = flat_read_word(dtbuf);
779 prop = flat_read_property(dtbuf, strbuf, flags);
784 child = unflatten_tree(dtbuf,strbuf, flatname, flags);
826 struct inbuf dtbuf, strbuf;
926 inbuf_init(&dtbuf, blob + off_dt, blob + totalsize);
930 val = flat_read_word(&dtbuf);
935 tree = unflatten_tree(&dtbuf, &strbuf, "", flags);
937 val = flat_read_word(&dtbuf);