Lines Matching refs:blob
118 * @param blob FDT blob
122 static int list_properties(const void *blob, int node)
128 prop = fdt_first_property_offset(blob, node);
133 data = fdt_get_property_by_offset(blob, prop, NULL);
134 name = fdt_string(blob, fdt32_to_cpu(data->nameoff));
137 prop = fdt_next_property_offset(blob, prop);
146 * @param blob FDT blob
150 static int list_subnodes(const void *blob, int node)
159 tag = fdt_next_tag(blob, node, &nextoffset);
162 pathp = fdt_get_name(blob, node, NULL);
200 * @param blob FDT blob
206 static int show_data_for_item(const void *blob, struct display_info *disp,
214 err = list_properties(blob, node);
218 err = list_subnodes(blob, node);
223 value = fdt_getprop(blob, node, property, &len);
245 * @param filename Filename of blob file
253 char *blob;
257 blob = utilfdt_read(filename);
258 if (!blob)
262 node = fdt_path_offset(blob, arg[i]);
269 free(blob);
275 if (show_data_for_item(blob, disp, node, prop)) {
276 free(blob);
281 free(blob);