Lines Matching refs:dt

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,
125 static void check_nodes_props(struct check *c, struct node *dt, struct node *node) in check_nodes_props() argument
132 c->node_fn(c, dt, node); in check_nodes_props()
137 c->prop_fn(c, dt, node, prop); in check_nodes_props()
141 check_nodes_props(c, dt, child); in check_nodes_props()
144 static int run_check(struct check *c, struct node *dt) in run_check() argument
158 error |= run_check(prq, dt); in run_check()
170 check_nodes_props(c, dt, dt); in run_check()
173 c->tree_fn(c, dt); in run_check()
191 static inline void check_always_fail(struct check *c, struct node *dt) in check_always_fail() argument
239 static void check_duplicate_node_names(struct check *c, struct node *dt, in check_duplicate_node_names() argument
254 static void check_duplicate_property_names(struct check *c, struct node *dt, in check_duplicate_property_names() argument
276 static void check_node_name_chars(struct check *c, struct node *dt, in check_node_name_chars() argument
287 static void check_node_name_format(struct check *c, struct node *dt, in check_node_name_format() argument
296 static void check_property_name_chars(struct check *c, struct node *dt, in check_property_name_chars() argument
314 static void check_duplicate_label(struct check *c, struct node *dt, in check_duplicate_label() argument
322 othernode = get_node_by_label(dt, label); in check_duplicate_label()
325 otherprop = get_property_by_label(dt, label, &othernode); in check_duplicate_label()
327 othermark = get_marker_label(dt, label, &othernode, in check_duplicate_label()
340 static void check_duplicate_label_node(struct check *c, struct node *dt, in check_duplicate_label_node() argument
346 check_duplicate_label(c, dt, l->label, node, NULL, NULL); in check_duplicate_label_node()
348 static void check_duplicate_label_prop(struct check *c, struct node *dt, in check_duplicate_label_prop() argument
355 check_duplicate_label(c, dt, l->label, node, prop, NULL); in check_duplicate_label_prop()
358 check_duplicate_label(c, dt, m->ref, node, prop, m); in check_duplicate_label_prop()
456 static void fixup_phandle_references(struct check *c, struct node *dt, in fixup_phandle_references() argument
466 refnode = get_node_by_ref(dt, m->ref); in fixup_phandle_references()
473 phandle = get_node_phandle(dt, refnode); in fixup_phandle_references()
480 static void fixup_path_references(struct check *c, struct node *dt, in fixup_path_references() argument
490 refnode = get_node_by_ref(dt, m->ref); in fixup_path_references()
516 static void fixup_addr_size_cells(struct check *c, struct node *dt, in fixup_addr_size_cells() argument
540 static void check_reg_format(struct check *c, struct node *dt, in check_reg_format() argument
569 static void check_ranges_format(struct check *c, struct node *dt, in check_ranges_format() argument
613 static void check_avoid_default_addr_size(struct check *c, struct node *dt, in check_avoid_default_addr_size() argument
638 struct node *dt) in check_obsolete_chosen_interrupt_controller() argument
643 chosen = get_node_by_path(dt, "/chosen"); in check_obsolete_chosen_interrupt_controller()
738 struct node *dt = bi->dt; in process_checks() local
746 error = error || run_check(c, dt); in process_checks()