Searched refs:blob (Results 1 – 7 of 7) sorted by relevance
/scripts/dtc/ |
D | fdtput.c | 120 static int store_key_value(void *blob, const char *node_name, in store_key_value() argument 126 node = fdt_path_offset(blob, node_name); in store_key_value() 132 err = fdt_setprop(blob, node, property, buf, len); in store_key_value() 150 static int create_paths(void *blob, const char *in_path) in create_paths() argument 166 node = fdt_subnode_offset_namelen(blob, offset, path, in create_paths() 169 node = fdt_add_subnode_namelen(blob, offset, path, in create_paths() 192 static int create_node(void *blob, const char *node_name) in create_node() argument 205 node = fdt_path_offset(blob, node_name); in create_node() 212 node = fdt_add_subnode(blob, node, p + 1); in create_node() 225 char *blob; in do_fdtput() local [all …]
|
D | fdtget.c | 108 static int list_properties(const void *blob, int node) in list_properties() argument 114 prop = fdt_first_property_offset(blob, node); in list_properties() 119 data = fdt_get_property_by_offset(blob, prop, NULL); in list_properties() 120 name = fdt_string(blob, fdt32_to_cpu(data->nameoff)); in list_properties() 123 prop = fdt_next_property_offset(blob, prop); in list_properties() 136 static int list_subnodes(const void *blob, int node) in list_subnodes() argument 145 tag = fdt_next_tag(blob, node, &nextoffset); in list_subnodes() 148 pathp = fdt_get_name(blob, node, NULL); in list_subnodes() 192 static int show_data_for_item(const void *blob, struct display_info *disp, in show_data_for_item() argument 200 err = list_properties(blob, node); in show_data_for_item() [all …]
|
D | flattree.c | 349 struct data blob = empty_data; in dt_to_blob() local 404 blob = data_append_data(blob, &fdt, vi->hdr_size); in dt_to_blob() 405 blob = data_append_align(blob, 8); in dt_to_blob() 406 blob = data_merge(blob, reservebuf); in dt_to_blob() 407 blob = data_append_zeroes(blob, sizeof(struct fdt_reserve_entry)); in dt_to_blob() 408 blob = data_merge(blob, dtbuf); in dt_to_blob() 409 blob = data_merge(blob, strbuf); in dt_to_blob() 415 blob = data_append_zeroes(blob, padlen); in dt_to_blob() 417 if (fwrite(blob.val, blob.len, 1, f) != 1) { in dt_to_blob() 429 data_free(blob); in dt_to_blob() [all …]
|
D | fdtdump.c | 46 static void dump_blob(void *blob) in dump_blob() argument 48 struct fdt_header *bph = blob; in dump_blob() 53 (struct fdt_reserve_entry *)((char *)blob + off_mem_rsvmap); in dump_blob() 54 const char *p_struct = (const char *)blob + off_dt; in dump_blob() 55 const char *p_strings = (const char *)blob + off_str; in dump_blob()
|
D | util.c | 290 int utilfdt_write_err(const char *filename, const void *blob) in utilfdt_write_err() argument 296 const char *ptr = blob; in utilfdt_write_err() 304 totalsize = fdt_totalsize(blob); in utilfdt_write_err() 322 int utilfdt_write(const char *filename, const void *blob) in utilfdt_write() argument 324 int ret = utilfdt_write_err(filename, blob); in utilfdt_write()
|
D | util.h | 114 int utilfdt_write(const char *filename, const void *blob); 125 int utilfdt_write_err(const char *filename, const void *blob);
|
D | dtx_diff | 44 If DTx contains the binary blob magic value in the first four bytes, 45 it is treated as a binary blob (aka .dtb or FDT).
|