Lines Matching full:blob
104 * @param blob FDT blob
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()
132 * @param blob FDT blob
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()
186 * @param blob FDT blob
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()
204 err = list_subnodes(blob, node); in show_data_for_item()
209 value = fdt_getprop(blob, node, property, &len); in show_data_for_item()
231 * @param filename Filename of blob file
239 char *blob; in do_fdtget() local
243 blob = utilfdt_read(filename); in do_fdtget()
244 if (!blob) in do_fdtget()
248 node = fdt_path_offset(blob, arg[i]); in do_fdtget()
260 if (show_data_for_item(blob, disp, node, prop)) in do_fdtget()