Lines Matching refs:blob

90 int of_fdt_is_compatible(const void *blob,  in of_fdt_is_compatible()  argument
97 cp = fdt_getprop(blob, node, "compatible", &cplen); in of_fdt_is_compatible()
121 bool of_fdt_is_big_endian(const void *blob, unsigned long node) in of_fdt_is_big_endian() argument
123 if (fdt_getprop(blob, node, "big-endian", NULL)) in of_fdt_is_big_endian()
126 fdt_getprop(blob, node, "native-endian", NULL)) in of_fdt_is_big_endian()
134 int of_fdt_match(const void *blob, unsigned long node, in of_fdt_match() argument
143 tmp = of_fdt_is_compatible(blob, node, *compat); in of_fdt_match()
175 static void * unflatten_dt_node(const void *blob, in unflatten_dt_node() argument
194 pathp = fdt_get_name(blob, *poffset, &l); in unflatten_dt_node()
257 for (offset = fdt_first_property_offset(blob, *poffset); in unflatten_dt_node()
259 (offset = fdt_next_property_offset(blob, offset))) { in unflatten_dt_node()
263 if (!(p = fdt_getprop_by_offset(blob, offset, &pname, &sz))) { in unflatten_dt_node()
342 *poffset = fdt_next_node(blob, *poffset, &depth); in unflatten_dt_node()
346 mem = unflatten_dt_node(blob, mem, poffset, np, NULL, in unflatten_dt_node()
385 static void __unflatten_device_tree(const void *blob, in __unflatten_device_tree() argument
395 if (!blob) { in __unflatten_device_tree()
401 pr_debug("magic: %08x\n", fdt_magic(blob)); in __unflatten_device_tree()
402 pr_debug("size: %08x\n", fdt_totalsize(blob)); in __unflatten_device_tree()
403 pr_debug("version: %08x\n", fdt_version(blob)); in __unflatten_device_tree()
405 if (fdt_check_header(blob)) { in __unflatten_device_tree()
412 size = (unsigned long)unflatten_dt_node(blob, NULL, &start, NULL, NULL, 0, true); in __unflatten_device_tree()
427 unflatten_dt_node(blob, mem, &start, NULL, mynodes, 0, false); in __unflatten_device_tree()
450 void of_fdt_unflatten_tree(const unsigned long *blob, in of_fdt_unflatten_tree() argument
454 __unflatten_device_tree(blob, mynodes, &kernel_tree_alloc); in of_fdt_unflatten_tree()
631 const void *blob = initial_boot_params; in of_scan_flat_dt() local
635 for (offset = fdt_next_node(blob, -1, &depth); in of_scan_flat_dt()
637 offset = fdt_next_node(blob, offset, &depth)) { in of_scan_flat_dt()
639 pathp = fdt_get_name(blob, offset, NULL); in of_scan_flat_dt()