Lines Matching refs:tree
70 uint32_t ufdt_get_max_phandle(struct ufdt *tree) { in ufdt_get_max_phandle() argument
71 struct ufdt_static_phandle_table sorted_table = tree->phandle_table; in ufdt_get_max_phandle()
99 void ufdt_try_increase_phandle(struct ufdt *tree, uint32_t offset) { in ufdt_try_increase_phandle() argument
100 struct ufdt_static_phandle_table sorted_table = tree->phandle_table; in ufdt_try_increase_phandle()
130 void *ufdt_get_fixup_location(struct ufdt *tree, const char *fixup) { in ufdt_get_fixup_location() argument
171 target_node = ufdt_get_node_by_path(tree, path); in ufdt_get_fixup_location()
206 int ufdt_do_one_fixup(struct ufdt *tree, const char *fixups, int fixups_len, in ufdt_do_one_fixup() argument
214 fixup_pos = ufdt_get_fixup_location(tree, fixups); in ufdt_do_one_fixup()
321 enum overlay_result ufdt_overlay_get_target(struct ufdt *tree, in ufdt_overlay_get_target() argument
333 *target_node = ufdt_get_node_by_phandle(tree, target); in ufdt_overlay_get_target()
347 *target_node = ufdt_get_node_by_path(tree, target_path); in ufdt_overlay_get_target()
360 static enum overlay_result ufdt_apply_fragment(struct ufdt *tree, in ufdt_apply_fragment() argument
367 ufdt_overlay_get_target(tree, frag_node, &target_node); in ufdt_apply_fragment()
520 int ufdt_overlay_do_local_fixups(struct ufdt *tree, uint32_t phandle_offset) { in ufdt_overlay_do_local_fixups() argument
521 struct ufdt_node *overlay_node = ufdt_get_node_by_path(tree, "/"); in ufdt_overlay_do_local_fixups()
523 ufdt_get_node_by_path(tree, "/__local_fixups__"); in ufdt_overlay_do_local_fixups()