Lines Matching refs:blob
134 static int store_key_value(void *blob, const char *node_name, in store_key_value() argument
140 node = fdt_path_offset(blob, node_name); in store_key_value()
146 err = fdt_setprop(blob, node, property, buf, len); in store_key_value()
164 static int create_paths(void *blob, const char *in_path) in create_paths() argument
180 node = fdt_subnode_offset_namelen(blob, offset, path, in create_paths()
183 node = fdt_add_subnode_namelen(blob, offset, path, in create_paths()
206 static int create_node(void *blob, const char *node_name) in create_node() argument
219 node = fdt_path_offset(blob, node_name); in create_node()
226 node = fdt_add_subnode(blob, node, p + 1); in create_node()
239 char *blob; in do_fdtput() local
242 blob = utilfdt_read(filename); in do_fdtput()
243 if (!blob) in do_fdtput()
253 if (disp->auto_path && create_paths(blob, *arg)) in do_fdtput()
256 store_key_value(blob, *arg, arg[1], value, len)) in do_fdtput()
262 ret = create_paths(blob, *arg); in do_fdtput()
264 ret = create_node(blob, *arg); in do_fdtput()
269 ret = utilfdt_write(filename, blob); in do_fdtput()
271 free(blob); in do_fdtput()