Home
last modified time | relevance | path

Searched refs:ufdt (Results 1 – 9 of 9) sorted by relevance

/system/libufdt/include/
Dufdt_overlay_internal.h22 void *ufdt_get_fixup_location(struct ufdt *tree, const char *fixup);
23 int ufdt_do_one_fixup(struct ufdt *tree, const char *fixups, int fixups_len,
25 int ufdt_overlay_do_fixups(struct ufdt *main_tree, struct ufdt *overlay_tree);
37 enum overlay_result ufdt_overlay_get_target(struct ufdt *tree,
40 void ufdt_try_increase_phandle(struct ufdt *tree, uint32_t offset);
41 uint32_t ufdt_get_max_phandle(struct ufdt *tree);
42 struct ufdt_static_phandle_table build_phandle_table(struct ufdt *tree);
43 int ufdt_overlay_do_local_fixups(struct ufdt *tree, uint32_t phandle_offset);
Dlibufdt.h156 struct ufdt *ufdt_construct(void *fdtp, struct ufdt_node_pool *pool);
162 void ufdt_destruct(struct ufdt *tree, struct ufdt_node_pool *pool);
171 int ufdt_add_fdt(struct ufdt *tree, void *fdtp);
181 int ufdt_get_string_off(const struct ufdt *tree, const char *s);
192 struct ufdt_node *ufdt_get_node_by_phandle(struct ufdt *tree, uint32_t phandle);
207 struct ufdt_node *ufdt_get_node_by_path_len(struct ufdt *tree, const char *path,
209 struct ufdt_node *ufdt_get_node_by_path(struct ufdt *tree, const char *path);
288 struct ufdt *ufdt_from_fdt(void *fdtp, size_t fdt_size,
302 int ufdt_to_fdt(const struct ufdt *tree, void *buf, int buf_size);
321 void ufdt_print(struct ufdt *tree);
Dufdt_types.h79 struct ufdt { struct
/system/libufdt/tests/libufdt_verify/
Dufdt_test_overlay.cpp32 struct ufdt* tree_a, struct ufdt* tree_b);
39 struct ufdt * tree_a, struct ufdt * tree_b) { in compare_child_nodes()
74 struct ufdt* tree_final, struct ufdt* tree_overlay) { in ufdt_compare_property()
128 struct ufdt * tree_final, struct ufdt * tree_overlay) { in ufdt_node_compare()
141 void ufdt_combine_fixup(struct ufdt *tree, const char *fixup, in ufdt_combine_fixup()
207 struct ufdt* main_tree) { in create_path_phandle_map()
255 struct ufdt * target_tree, in ufdt_verify_overlay_node()
256 struct ufdt * overlay_tree) { in ufdt_verify_overlay_node()
263 static int ufdt_verify_fragment(struct ufdt *tree, in ufdt_verify_fragment()
264 struct ufdt *overlay_tree, in ufdt_verify_fragment()
[all …]
/system/libufdt/
Dufdt_overlay.c70 uint32_t ufdt_get_max_phandle(struct ufdt *tree) { in ufdt_get_max_phandle()
99 void ufdt_try_increase_phandle(struct ufdt *tree, uint32_t offset) { in ufdt_try_increase_phandle()
130 void *ufdt_get_fixup_location(struct ufdt *tree, const char *fixup) { 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()
232 int ufdt_overlay_do_fixups(struct ufdt *main_tree, struct ufdt *overlay_tree) { in ufdt_overlay_do_fixups()
321 enum overlay_result ufdt_overlay_get_target(struct ufdt *tree, in ufdt_overlay_get_target()
360 static enum overlay_result ufdt_apply_fragment(struct ufdt *tree, in ufdt_apply_fragment()
392 static int ufdt_overlay_apply_fragments(struct ufdt *main_tree, in ufdt_overlay_apply_fragments()
393 struct ufdt *overlay_tree, in ufdt_overlay_apply_fragments()
520 int ufdt_overlay_do_local_fixups(struct ufdt *tree, uint32_t phandle_offset) { in ufdt_overlay_do_local_fixups()
[all …]
Dufdt_convert.c22 struct ufdt *ufdt_construct(void *fdtp, struct ufdt_node_pool *pool) { in ufdt_construct()
30 struct ufdt *res_ufdt = NULL; in ufdt_construct()
36 res_ufdt = dto_malloc(sizeof(struct ufdt)); in ufdt_construct()
53 void ufdt_destruct(struct ufdt *tree, struct ufdt_node_pool *pool) { in ufdt_destruct()
63 int ufdt_add_fdt(struct ufdt *tree, void *fdtp) { in ufdt_add_fdt()
87 int ufdt_get_string_off(const struct ufdt *tree, const char *s) { in ufdt_get_string_off()
166 void ufdt_print(struct ufdt *tree) { in ufdt_print()
170 struct ufdt_node *ufdt_get_node_by_path_len(struct ufdt *tree, const char *path, in ufdt_get_node_by_path_len()
213 struct ufdt_node *ufdt_get_node_by_path(struct ufdt *tree, const char *path) { in ufdt_get_node_by_path()
217 struct ufdt_node *ufdt_get_node_by_phandle(struct ufdt *tree, in ufdt_get_node_by_phandle()
[all …]
/system/libufdt/tests/
Dgen_test.sh54 $SCRIPT_DIR/apply_overlay.sh --ufdt "$BASE_DTS" "$OVERLAY_DTS" "$OVL_MERGED_DTS"
Drun_stress_test.sh64 apply_overlay ufdt $base_dts $overlay_dts $merged_dts
Drun_performance_test.sh80 apply_overlay ufdt $base_dts $overlay_dts $merged_dts