Lines Matching refs:blob
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
228 blob = utilfdt_read(filename); in do_fdtput()
229 if (!blob) in do_fdtput()
239 if (disp->auto_path && create_paths(blob, *arg)) in do_fdtput()
242 store_key_value(blob, *arg, arg[1], value, len)) in do_fdtput()
248 ret = create_paths(blob, *arg); in do_fdtput()
250 ret = create_node(blob, *arg); in do_fdtput()
255 ret = utilfdt_write(filename, blob); in do_fdtput()
257 free(blob); in do_fdtput()