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