• Home
  • Raw
  • Download

Lines Matching refs:dtbuf

62 	struct data *dtbuf = e;  in bin_emit_cell()  local
64 *dtbuf = data_append_cell(*dtbuf, val); in bin_emit_cell()
69 struct data *dtbuf = e; in bin_emit_string() local
74 *dtbuf = data_append_data(*dtbuf, str, len); in bin_emit_string()
75 *dtbuf = data_append_byte(*dtbuf, '\0'); in bin_emit_string()
80 struct data *dtbuf = e; in bin_emit_align() local
82 *dtbuf = data_append_align(*dtbuf, a); in bin_emit_align()
87 struct data *dtbuf = e; in bin_emit_data() local
89 *dtbuf = data_append_data(*dtbuf, d.val, d.len); in bin_emit_data()
366 struct data dtbuf = empty_data; in dt_to_blob() local
378 flatten_tree(dti->dt, &bin_emitter, &dtbuf, &strbuf, vi); in dt_to_blob()
379 bin_emit_cell(&dtbuf, FDT_END); in dt_to_blob()
384 make_fdt_header(&fdt, vi, reservebuf.len, dtbuf.len, strbuf.len, in dt_to_blob()
423 blob = data_merge(blob, dtbuf); in dt_to_blob()
678 static struct property *flat_read_property(struct inbuf *dtbuf, in flat_read_property() argument
685 proplen = flat_read_word(dtbuf); in flat_read_property()
686 stroff = flat_read_word(dtbuf); in flat_read_property()
691 flat_realign(dtbuf, 8); in flat_read_property()
693 val = flat_read_data(dtbuf, proplen); in flat_read_property()
745 static struct node *unflatten_tree(struct inbuf *dtbuf, in unflatten_tree() argument
755 flatname = flat_read_string(dtbuf); in unflatten_tree()
766 val = flat_read_word(dtbuf); in unflatten_tree()
772 prop = flat_read_property(dtbuf, strbuf, flags); in unflatten_tree()
777 child = unflatten_tree(dtbuf,strbuf, flatname, flags); in unflatten_tree()
820 struct inbuf dtbuf, strbuf; in dt_from_blob() local
920 inbuf_init(&dtbuf, blob + off_dt, blob + totalsize); in dt_from_blob()
924 val = flat_read_word(&dtbuf); in dt_from_blob()
929 tree = unflatten_tree(&dtbuf, &strbuf, "", flags); in dt_from_blob()
931 val = flat_read_word(&dtbuf); in dt_from_blob()