Lines Matching +full:bool +full:- +full:property
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
45 extern int auto_label_aliases; /* auto generate labels -> aliases */
54 static inline bool phandle_is_valid(cell_t phandle) in phandle_is_valid()
94 static inline bool strends(const char *str, const char *suffix) in strends()
102 return streq(str + len - suffix_len, suffix); in strends()
105 #define ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1))
120 static inline bool is_type_marker(enum markertype type) in is_type_marker()
144 for (; (m); (m) = (m)->next)
147 if ((m)->type == (t))
152 if (is_type_marker(m->type)) in next_type_marker()
159 struct marker *next = next_type_marker(m->next); in type_marker_length()
162 return next->offset - m->offset; in type_marker_length()
188 bool data_is_one_string(struct data d);
197 bool deleted;
206 struct property { struct
207 bool deleted;
211 struct property *next; argument
218 bool deleted;
220 struct property *proplist; argument
236 bool omit_if_unused, is_referenced;
240 for ((l) = (l0); (l); (l) = (l)->next)
244 if (!(l)->deleted)
247 for ((p) = (n)->proplist; (p); (p) = (p)->next)
251 if (!(p)->deleted)
254 for ((c) = (n)->children; (c); (c) = (c)->next_sibling)
258 if (!(c)->deleted)
263 struct property *build_property(const char *name, struct data val,
265 struct property *build_property_delete(const char *name);
266 struct property *chain_property(struct property *first, struct property *list);
267 struct property *reverse_properties(struct property *first);
269 struct node *build_node(struct property *proplist, struct node *children,
279 void add_property(struct node *node, struct property *prop);
281 void delete_property(struct property *prop);
290 struct property *get_property(struct node *node, const char *propname);
291 cell_t propval_cell(struct property *prop);
292 cell_t propval_cell_n(struct property *prop, unsigned int n);
293 struct property *get_property_by_label(struct node *tree, const char *label,
296 struct node **node, struct property **prop);
328 const char *outname; /* filename being written to, "-" for stdout */
332 #define DTSF_V1 0x0001 /* /dts-v1/ */
339 void generate_label_tree(struct dt_info *dti, const char *name, bool allocph);
345 void parse_checks_option(bool warn, bool error, const char *arg);
346 void process_checks(bool force, struct dt_info *dti);