• Home
  • Raw
  • Download

Lines Matching refs:ufdt_node

21 struct ufdt_node *ufdt_node_construct(void *fdtp, fdt32_t *fdt_tag_ptr,  in ufdt_node_construct()
32 return (struct ufdt_node *)res; in ufdt_node_construct()
40 return (struct ufdt_node *)res; in ufdt_node_construct()
44 void ufdt_node_destruct(struct ufdt_node *node, struct ufdt_node_pool *pool) { in ufdt_node_destruct()
48 struct ufdt_node *it = ((struct ufdt_node_fdt_node *)node)->child; in ufdt_node_destruct()
50 struct ufdt_node *next = it->sibling; in ufdt_node_destruct()
59 int ufdt_node_add_child(struct ufdt_node *parent, struct ufdt_node *child) { in ufdt_node_add_child()
85 struct ufdt_node *ufdt_node_get_subnode_by_name_len(const struct ufdt_node *node, in ufdt_node_get_subnode_by_name_len()
87 struct ufdt_node **it = NULL; in ufdt_node_get_subnode_by_name_len()
94 struct ufdt_node *ufdt_node_get_subnode_by_name(const struct ufdt_node *node, in ufdt_node_get_subnode_by_name()
99 struct ufdt_node *ufdt_node_get_property_by_name_len( in ufdt_node_get_property_by_name_len()
100 const struct ufdt_node *node, const char *name, int len) { in ufdt_node_get_property_by_name_len()
103 struct ufdt_node **it = NULL; in ufdt_node_get_property_by_name_len()
110 struct ufdt_node *ufdt_node_get_property_by_name(const struct ufdt_node *node, in ufdt_node_get_property_by_name()
115 char *ufdt_node_get_fdt_prop_data(const struct ufdt_node *node, int *out_len) { in ufdt_node_get_fdt_prop_data()
126 char *ufdt_node_get_fdt_prop_data_by_name_len(const struct ufdt_node *node, in ufdt_node_get_fdt_prop_data_by_name_len()
133 char *ufdt_node_get_fdt_prop_data_by_name(const struct ufdt_node *node, in ufdt_node_get_fdt_prop_data_by_name()
147 uint32_t ufdt_node_get_phandle(const struct ufdt_node *node) { in ufdt_node_get_phandle()
162 struct ufdt_node *ufdt_node_get_node_by_path_len(const struct ufdt_node *node, in ufdt_node_get_node_by_path_len()
166 struct ufdt_node *cur = (struct ufdt_node *)node; in ufdt_node_get_node_by_path_len()
176 struct ufdt_node *next = NULL; in ufdt_node_get_node_by_path_len()
188 struct ufdt_node *ufdt_node_get_node_by_path(const struct ufdt_node *node, in ufdt_node_get_node_by_path()
193 bool ufdt_node_name_eq(const struct ufdt_node *node, const char *name, int len) { in ufdt_node_name_eq()
205 static int merge_children(struct ufdt_node *node_a, struct ufdt_node *node_b, in merge_children()
208 struct ufdt_node *it; in merge_children()
210 struct ufdt_node *cur_node = it; in merge_children()
213 struct ufdt_node *target_node = NULL; in merge_children()
241 int ufdt_node_merge_into(struct ufdt_node *node_a, struct ufdt_node *node_b, in ufdt_node_merge_into()
257 void ufdt_node_print(const struct ufdt_node *node, int depth) { in ufdt_node_print()
285 struct ufdt_node **it; in ufdt_node_print()