Lines Matching refs:check

41 struct check;
43 typedef void (*tree_check_fn)(struct check *c, struct node *dt);
44 typedef void (*node_check_fn)(struct check *c, struct node *dt, struct node *node);
45 typedef void (*prop_check_fn)(struct check *c, struct node *dt,
48 struct check { struct
58 struct check **prereq; argument
62 static struct check *nm##_prereqs[] = { __VA_ARGS__ }; \
63 static struct check nm = { \
102 static inline void check_msg(struct check *c, const char *fmt, ...) __attribute__((format (printf, …
104 static inline void check_msg(struct check *c, const char *fmt, ...) in check_msg()
125 static void check_nodes_props(struct check *c, struct node *dt, struct node *node) in check_nodes_props()
144 static int run_check(struct check *c, struct node *dt) in run_check()
157 struct check *prq = c->prereq[i]; in run_check()
191 static inline void check_always_fail(struct check *c, struct node *dt) in check_always_fail()
197 static void check_is_string(struct check *c, struct node *root, in check_is_string()
216 static void check_is_cell(struct check *c, struct node *root, in check_is_cell()
239 static void check_duplicate_node_names(struct check *c, struct node *dt, in check_duplicate_node_names()
254 static void check_duplicate_property_names(struct check *c, struct node *dt, in check_duplicate_property_names()
276 static void check_node_name_chars(struct check *c, struct node *dt, in check_node_name_chars()
287 static void check_node_name_format(struct check *c, struct node *dt, in check_node_name_format()
296 static void check_property_name_chars(struct check *c, struct node *dt, in check_property_name_chars()
314 static void check_duplicate_label(struct check *c, struct node *dt, in check_duplicate_label()
340 static void check_duplicate_label_node(struct check *c, struct node *dt, in check_duplicate_label_node()
348 static void check_duplicate_label_prop(struct check *c, struct node *dt, in check_duplicate_label_prop()
363 static void check_explicit_phandles(struct check *c, struct node *root, in check_explicit_phandles()
422 static void check_name_properties(struct check *c, struct node *root, in check_name_properties()
456 static void fixup_phandle_references(struct check *c, struct node *dt, in fixup_phandle_references()
480 static void fixup_path_references(struct check *c, struct node *dt, in fixup_path_references()
516 static void fixup_addr_size_cells(struct check *c, struct node *dt, in fixup_addr_size_cells()
540 static void check_reg_format(struct check *c, struct node *dt, in check_reg_format()
569 static void check_ranges_format(struct check *c, struct node *dt, in check_ranges_format()
613 static void check_avoid_default_addr_size(struct check *c, struct node *dt, in check_avoid_default_addr_size()
637 static void check_obsolete_chosen_interrupt_controller(struct check *c, in check_obsolete_chosen_interrupt_controller()
654 static struct check *check_table[] = {
675 static void enable_warning_error(struct check *c, bool warn, bool error) in enable_warning_error()
688 static void disable_warning_error(struct check *c, bool warn, bool error) in disable_warning_error()
696 struct check *cc = check_table[i]; in disable_warning_error()
722 struct check *c = check_table[i]; in parse_checks_option()
743 struct check *c = check_table[i]; in process_checks()