Home
last modified time | relevance | path

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

/system/libufdt/include/
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/
Dufdt_overlay.c70 static uint32_t ufdt_get_max_phandle(struct ufdt *tree) { in ufdt_get_max_phandle()
99 static void ufdt_try_increase_phandle(struct ufdt *tree, uint32_t offset) { in ufdt_try_increase_phandle()
130 static void *ufdt_get_fixup_location(struct ufdt *tree, const char *fixup) { in ufdt_get_fixup_location()
206 static int ufdt_do_one_fixup(struct ufdt *tree, const char *fixups, in ufdt_do_one_fixup()
232 static int ufdt_overlay_do_fixups(struct ufdt *main_tree, in ufdt_overlay_do_fixups()
233 struct ufdt *overlay_tree) { in ufdt_overlay_do_fixups()
338 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 static int ufdt_overlay_do_local_fixups(struct ufdt *tree, 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