• Home
  • Raw
  • Download

Lines Matching refs:overlay_tree

232 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()
555 void *fdt = overlay_tree->fdtps[i]; in _ufdt_overlay_fdtps()
563 static int ufdt_overlay_apply(struct ufdt *main_tree, struct ufdt *overlay_tree, in ufdt_overlay_apply() argument
566 if (_ufdt_overlay_fdtps(main_tree, overlay_tree) < 0) { in ufdt_overlay_apply()
577 if (ufdt_overlay_local_ref_update(main_tree, overlay_tree) < 0) { in ufdt_overlay_apply()
582 if (ufdt_overlay_do_fixups(main_tree, overlay_tree) < 0) { in ufdt_overlay_apply()
586 if (ufdt_overlay_apply_fragments(main_tree, overlay_tree, pool) < 0) { in ufdt_overlay_apply()
657 struct ufdt *overlay_tree = ufdt_from_fdt(overlay_fdtp, overlay_size, &pool); in ufdt_apply_overlay() local
658 int err = ufdt_overlay_apply(main_tree, overlay_tree, overlay_size, &pool); in ufdt_apply_overlay()
669 ufdt_destruct(overlay_tree, &pool); in ufdt_apply_overlay()
676 ufdt_destruct(overlay_tree, &pool); in ufdt_apply_overlay()