Home
last modified time | relevance | path

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

/system/libufdt/include/
Dlibufdt.h155 struct ufdt *ufdt_construct(void *fdtp);
161 void ufdt_destruct(struct ufdt *tree);
170 int ufdt_add_fdt(struct ufdt *tree, void *fdtp);
180 int ufdt_get_string_off(const struct ufdt *tree, const char *s);
191 struct ufdt_node *ufdt_get_node_by_phandle(struct ufdt *tree, uint32_t phandle);
206 struct ufdt_node *ufdt_get_node_by_path_len(struct ufdt *tree, const char *path,
208 struct ufdt_node *ufdt_get_node_by_path(struct ufdt *tree, const char *path);
295 struct ufdt *fdt_to_ufdt(void *fdtp, size_t fdt_size);
308 int ufdt_to_fdt(const struct ufdt *tree, void *buf, int buf_size);
327 void ufdt_print(struct ufdt *tree);
[all …]
Dufdt_types.h76 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()
200 static int ufdt_do_one_fixup(struct ufdt *tree, const char *fixups, in ufdt_do_one_fixup()
226 static int ufdt_overlay_do_fixups(struct ufdt *main_tree, in ufdt_overlay_do_fixups()
227 struct ufdt *overlay_tree) { in ufdt_overlay_do_fixups()
330 static enum overlay_result ufdt_apply_fragment(struct ufdt *tree, in ufdt_apply_fragment()
383 static int ufdt_overlay_apply_fragments(struct ufdt *main_tree, in ufdt_overlay_apply_fragments()
384 struct ufdt *overlay_tree) { in ufdt_overlay_apply_fragments()
510 static int ufdt_overlay_do_local_fixups(struct ufdt *tree, in ufdt_overlay_do_local_fixups()
[all …]
Dufdt_convert.c21 struct ufdt *ufdt_construct(void *fdtp) { in ufdt_construct()
27 struct ufdt *res_ufdt = NULL; in ufdt_construct()
33 res_ufdt = dto_malloc(sizeof(struct ufdt)); in ufdt_construct()
50 void ufdt_destruct(struct ufdt *tree) { in ufdt_destruct()
60 int ufdt_add_fdt(struct ufdt *tree, void *fdtp) { in ufdt_add_fdt()
84 int ufdt_get_string_off(const struct ufdt *tree, const char *s) { in ufdt_get_string_off()
162 void ufdt_print(struct ufdt *tree) { in ufdt_print()
166 struct ufdt_node *ufdt_get_node_by_path_len(struct ufdt *tree, const char *path, in ufdt_get_node_by_path_len()
209 struct ufdt_node *ufdt_get_node_by_path(struct ufdt *tree, const char *path) { in ufdt_get_node_by_path()
213 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_performance_test.sh80 apply_overlay ufdt $base_dts $overlay_dts $merged_dts