Lines Matching +full:node +full:- +full:version
10 * published by the Free Software Foundation; either version 2 of the
11 * License, or (at your option) any later version.
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
60 extern int auto_label_aliases; /* auto generate labels -> aliases */
73 #define ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1))
99 for (; (m); (m) = (m)->next)
102 if ((m)->type == (t))
154 struct node { struct
158 struct node *children; argument
160 struct node *parent; argument
161 struct node *next_sibling; argument
174 for ((l) = (l0); (l); (l) = (l)->next)
178 if (!(l)->deleted)
181 for ((p) = (n)->proplist; (p); (p) = (p)->next)
185 if (!(p)->deleted)
188 for ((c) = (n)->children; (c); (c) = (c)->next_sibling)
192 if (!(c)->deleted)
202 struct node *build_node(struct property *proplist, struct node *children);
203 struct node *build_node_delete(void);
204 struct node *name_node(struct node *node, char *name);
205 struct node *chain_node(struct node *first, struct node *list);
206 struct node *merge_nodes(struct node *old_node, struct node *new_node);
207 struct node *add_orphan_node(struct node *old_node, struct node *new_node, char *ref);
209 void add_property(struct node *node, struct property *prop);
210 void delete_property_by_name(struct node *node, char *name);
212 void add_child(struct node *parent, struct node *child);
213 void delete_node_by_name(struct node *parent, char *name);
214 void delete_node(struct node *node);
215 void append_to_property(struct node *node,
218 const char *get_unitname(struct node *node);
219 struct property *get_property(struct node *node, const char *propname);
222 struct property *get_property_by_label(struct node *tree, const char *label,
223 struct node **node);
224 struct marker *get_marker_label(struct node *tree, const char *label,
225 struct node **node, struct property **prop);
226 struct node *get_subnode(struct node *node, const char *nodename);
227 struct node *get_node_by_path(struct node *tree, const char *path);
228 struct node *get_node_by_label(struct node *tree, const char *label);
229 struct node *get_node_by_phandle(struct node *tree, cell_t phandle);
230 struct node *get_node_by_ref(struct node *tree, const char *ref);
231 cell_t get_node_phandle(struct node *root, struct node *node);
233 uint32_t guess_boot_cpuid(struct node *tree);
256 struct node *dt; /* the device tree */
257 const char *outname; /* filename being written to, "-" for stdout */
260 /* DTS version flags definitions */
261 #define DTSF_V1 0x0001 /* /dts-v1/ */
266 struct node *tree, uint32_t boot_cpuid_phys);
279 void dt_to_blob(FILE *f, struct dt_info *dti, int version);
280 void dt_to_asm(FILE *f, struct dt_info *dti, int version);