Lines Matching +full:a +full:- +full:child +full:- +full:node +full:- +full:property

15  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18 * You should have received a copy of the GNU General Public License
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
64 #define streq(a, b) (strcmp((a), (b)) == 0) argument
65 #define strneq(a, b, n) (strncmp((a), (b), (n)) == 0) argument
67 #define ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1)) argument
94 for (; (m); (m) = (m)->next)
97 if ((m)->type == (t))
133 struct property { struct
137 struct property *next; argument
142 struct node { struct
144 struct property *proplist; argument
145 struct node *children; argument
147 struct node *parent; argument
148 struct node *next_sibling; argument
160 for ((l) = (l0); (l); (l) = (l)->next)
163 for ((p) = (n)->proplist; (p); (p) = (p)->next)
166 for ((c) = (n)->children; (c); (c) = (c)->next_sibling)
170 struct property *build_property(char *name, struct data val);
171 struct property *chain_property(struct property *first, struct property *list);
172 struct property *reverse_properties(struct property *first);
174 struct node *build_node(struct property *proplist, struct node *children); argument
175 struct node *name_node(struct node *node, char *name);
176 struct node *chain_node(struct node *first, struct node *list);
177 struct node *merge_nodes(struct node *old_node, struct node *new_node);
179 void add_property(struct node *node, struct property *prop);
180 void add_child(struct node *parent, struct node *child);
182 const char *get_unitname(struct node *node);
183 struct property *get_property(struct node *node, const char *propname);
184 cell_t propval_cell(struct property *prop);
185 struct property *get_property_by_label(struct node *tree, const char *label,
186 struct node **node);
187 struct marker *get_marker_label(struct node *tree, const char *label,
188 struct node **node, struct property **prop);
189 struct node *get_subnode(struct node *node, const char *nodename);
190 struct node *get_node_by_path(struct node *tree, const char *path);
191 struct node *get_node_by_label(struct node *tree, const char *label);
192 struct node *get_node_by_phandle(struct node *tree, cell_t phandle);
193 struct node *get_node_by_ref(struct node *tree, const char *ref);
194 cell_t get_node_phandle(struct node *root, struct node *node);
196 uint32_t guess_boot_cpuid(struct node *tree);
217 struct node *dt; /* the device tree */
222 struct node *tree, uint32_t boot_cpuid_phys);