Home
last modified time | relevance | path

Searched refs:overlay_tree (Results 1 – 3 of 3) sorted by relevance

/system/libufdt/
Dufdt_overlay.c232 int ufdt_overlay_do_fixups(struct ufdt *main_tree, struct ufdt *overlay_tree) { in ufdt_overlay_do_fixups() argument
235 ufdt_get_node_by_path(overlay_tree, "/__fixups__"); in ufdt_overlay_do_fixups()
287 if (ufdt_do_one_fixup(overlay_tree, fixups_paths, len, phandle) < 0) { in ufdt_overlay_do_fixups()
393 struct ufdt *overlay_tree, in ufdt_overlay_apply_fragments() argument
401 for_each_node(it, overlay_tree->root) { in ufdt_overlay_apply_fragments()
534 struct ufdt *overlay_tree) { in ufdt_overlay_local_ref_update() argument
539 ufdt_try_increase_phandle(overlay_tree, phandle_offset); in ufdt_overlay_local_ref_update()
542 int err = ufdt_overlay_do_local_fixups(overlay_tree, phandle_offset); in ufdt_overlay_local_ref_update()
553 const struct ufdt *overlay_tree) { in _ufdt_overlay_fdtps() argument
554 for (int i = 0; i < overlay_tree->num_used_fdtps; i++) { in _ufdt_overlay_fdtps()
[all …]
/system/libufdt/tests/libufdt_verify/
Dufdt_test_overlay.cpp256 struct ufdt * overlay_tree) { in ufdt_verify_overlay_node() argument
257 return ufdt_node_compare(target_node, overlay_node, target_tree, overlay_tree); in ufdt_verify_overlay_node()
264 struct ufdt *overlay_tree, in ufdt_verify_fragment() argument
280 bool result = ufdt_verify_overlay_node(target_node, overlay_node, tree, overlay_tree); in ufdt_verify_fragment()
295 struct ufdt *overlay_tree) { in ufdt_overlay_verify_fragments() argument
298 for_each_node(it, overlay_tree->root) { in ufdt_overlay_verify_fragments()
299 err = static_cast<enum overlay_result>(ufdt_verify_fragment(final_tree, overlay_tree, in ufdt_overlay_verify_fragments()
344 int ufdt_resolve_duplicate_phandles(ufdt** overlay_tree, size_t overlay_count) { in ufdt_resolve_duplicate_phandles() argument
347 ufdt_try_increase_phandle(overlay_tree[i], phandle_offset); in ufdt_resolve_duplicate_phandles()
348 if (ufdt_overlay_do_local_fixups(overlay_tree[i], phandle_offset) < 0) { in ufdt_resolve_duplicate_phandles()
[all …]
/system/libufdt/include/
Dufdt_overlay_internal.h25 int ufdt_overlay_do_fixups(struct ufdt *main_tree, struct ufdt *overlay_tree);