OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ufdt
(Results
1 - 9
of
9
) sorted by null
/system/libufdt/include/
ufdt_overlay_internal.h
22
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);
libufdt.h
146
* BEGIN of
ufdt
methods.
150
* Constructs a
ufdt
whose base fdt is fdtp.
154
* @return: an empty
ufdt
with base fdtp = fdtp
156
struct
ufdt
*ufdt_construct(void *fdtp, struct ufdt_node_pool *pool);
159
* Frees the space occupied by the
ufdt
, including all ufdt_nodes
162
void ufdt_destruct(struct
ufdt
*tree, struct ufdt_node_pool *pool);
165
* Add a fdt into this
ufdt
.
166
* Note that this function just add the given fdtp into this
ufdt
,
171
int ufdt_add_fdt(struct
ufdt
*tree, void *fdtp);
181
int ufdt_get_string_off(const struct
ufdt
*tree, const char *s)
[
all
...]
ufdt_types.h
79
struct
ufdt
{
struct
/system/libufdt/tests/libufdt_verify/
ufdt_test_overlay.cpp
32
struct
ufdt
* tree_a, struct
ufdt
* tree_b);
39
struct
ufdt
* tree_a, struct
ufdt
* tree_b) {
74
struct
ufdt
* tree_final, struct
ufdt
* tree_overlay) {
124
* Checks if the
ufdt
tree rooted at node_b is a subtree of the tree rooted at
128
struct
ufdt
* tree_final, struct
ufdt
* tree_overlay) {
141
void ufdt_combine_fixup(struct
ufdt
*tree, const char *fixup
[
all
...]
/system/libufdt/
ufdt_overlay.c
41
*
ufdt
-- unflattned device tree) from FDT. In the real tree, we can perform
54
/* BEGIN of operations about phandles in
ufdt
. */
68
* Gets the max phandle of a given
ufdt
.
70
uint32_t ufdt_get_max_phandle(struct
ufdt
*tree) {
96
* Increases all phandles by offset in a
ufdt
99
void ufdt_try_increase_phandle(struct
ufdt
*tree, uint32_t offset) {
110
/* END of operations about phandles in
ufdt
. */
119
/* BEGIN of doing fixup in the overlay
ufdt
. */
130
void *ufdt_get_fixup_location(struct
ufdt
*tree, const char *fixup) {
206
int ufdt_do_one_fixup(struct
ufdt
*tree, const char *fixups, int fixups_len
[
all
...]
ufdt_convert.c
22
struct
ufdt
*ufdt_construct(void *fdtp, struct ufdt_node_pool *pool) {
30
struct
ufdt
*res_ufdt = NULL;
36
res_ufdt = dto_malloc(sizeof(struct
ufdt
));
53
void ufdt_destruct(struct
ufdt
*tree, struct ufdt_node_pool *pool) {
63
int ufdt_add_fdt(struct
ufdt
*tree, void *fdtp) {
87
int ufdt_get_string_off(const struct
ufdt
*tree, const char *s) {
166
void ufdt_print(struct
ufdt
*tree) {
170
struct ufdt_node *ufdt_get_node_by_path_len(struct
ufdt
*tree, const char *path,
213
struct ufdt_node *ufdt_get_node_by_path(struct
ufdt
*tree, const char *path) {
217
struct ufdt_node *ufdt_get_node_by_phandle(struct
ufdt
*tree
[
all
...]
/system/libufdt/tests/
gen_test.sh
54
$SCRIPT_DIR/apply_overlay.sh --
ufdt
"$BASE_DTS" "$OVERLAY_DTS" "$OVL_MERGED_DTS"
run_stress_test.sh
64
apply_overlay
ufdt
$base_dts $overlay_dts $merged_dts
run_performance_test.sh
80
apply_overlay
ufdt
$base_dts $overlay_dts $merged_dts
Completed in 706 milliseconds