Lines Matching refs:dt

49 typedef void (*tree_check_fn)(struct check *c, struct node *dt);
50 typedef void (*node_check_fn)(struct check *c, struct node *dt, struct node *node);
51 typedef void (*prop_check_fn)(struct check *c, struct node *dt,
114 static void check_nodes_props(struct check *c, struct node *dt, struct node *node) in check_nodes_props() argument
121 c->node_fn(c, dt, node); in check_nodes_props()
126 c->prop_fn(c, dt, node, prop); in check_nodes_props()
130 check_nodes_props(c, dt, child); in check_nodes_props()
133 static int run_check(struct check *c, struct node *dt) in run_check() argument
147 error |= run_check(prq, dt); in run_check()
159 check_nodes_props(c, dt, dt); in run_check()
162 c->tree_fn(c, dt); in run_check()
217 static void check_duplicate_node_names(struct check *c, struct node *dt, in check_duplicate_node_names() argument
232 static void check_duplicate_property_names(struct check *c, struct node *dt, in check_duplicate_property_names() argument
250 static void check_node_name_chars(struct check *c, struct node *dt, in check_node_name_chars() argument
261 static void check_node_name_format(struct check *c, struct node *dt, in check_node_name_format() argument
270 static void check_property_name_chars(struct check *c, struct node *dt, in check_property_name_chars() argument
288 static void check_duplicate_label(struct check *c, struct node *dt, in check_duplicate_label() argument
296 othernode = get_node_by_label(dt, label); in check_duplicate_label()
299 otherprop = get_property_by_label(dt, label, &othernode); in check_duplicate_label()
301 othermark = get_marker_label(dt, label, &othernode, in check_duplicate_label()
314 static void check_duplicate_label_node(struct check *c, struct node *dt, in check_duplicate_label_node() argument
320 check_duplicate_label(c, dt, l->label, node, NULL, NULL); in check_duplicate_label_node()
322 static void check_duplicate_label_prop(struct check *c, struct node *dt, in check_duplicate_label_prop() argument
329 check_duplicate_label(c, dt, l->label, node, prop, NULL); in check_duplicate_label_prop()
332 check_duplicate_label(c, dt, m->ref, node, prop, m); in check_duplicate_label_prop()
430 static void fixup_phandle_references(struct check *c, struct node *dt, in fixup_phandle_references() argument
440 refnode = get_node_by_ref(dt, m->ref); in fixup_phandle_references()
447 phandle = get_node_phandle(dt, refnode); in fixup_phandle_references()
454 static void fixup_path_references(struct check *c, struct node *dt, in fixup_path_references() argument
464 refnode = get_node_by_ref(dt, m->ref); in fixup_path_references()
490 static void fixup_addr_size_cells(struct check *c, struct node *dt, in fixup_addr_size_cells() argument
514 static void check_reg_format(struct check *c, struct node *dt, in check_reg_format() argument
543 static void check_ranges_format(struct check *c, struct node *dt, in check_ranges_format() argument
587 static void check_avoid_default_addr_size(struct check *c, struct node *dt, in check_avoid_default_addr_size() argument
612 struct node *dt) in check_obsolete_chosen_interrupt_controller() argument
617 chosen = get_node_by_path(dt, "/chosen"); in check_obsolete_chosen_interrupt_controller()
649 struct node *dt = bi->dt; in process_checks() local
657 error = error || run_check(c, dt); in process_checks()