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,
126 static void check_nodes_props(struct check *c, struct node *dt, struct node *node) in check_nodes_props() argument
133 c->node_fn(c, dt, node); in check_nodes_props()
138 c->prop_fn(c, dt, node, prop); in check_nodes_props()
142 check_nodes_props(c, dt, child); in check_nodes_props()
145 static bool run_check(struct check *c, struct node *dt) in run_check() argument
159 error = error || run_check(prq, dt); in run_check()
171 check_nodes_props(c, dt, dt); in run_check()
174 c->tree_fn(c, dt); in run_check()
192 static inline void check_always_fail(struct check *c, struct node *dt) in check_always_fail() argument
240 static void check_duplicate_node_names(struct check *c, struct node *dt, in check_duplicate_node_names() argument
255 static void check_duplicate_property_names(struct check *c, struct node *dt, in check_duplicate_property_names() argument
277 static void check_node_name_chars(struct check *c, struct node *dt, in check_node_name_chars() argument
288 static void check_node_name_format(struct check *c, struct node *dt, in check_node_name_format() argument
297 static void check_property_name_chars(struct check *c, struct node *dt, in check_property_name_chars() argument
315 static void check_duplicate_label(struct check *c, struct node *dt, in check_duplicate_label() argument
323 othernode = get_node_by_label(dt, label); in check_duplicate_label()
326 otherprop = get_property_by_label(dt, label, &othernode); in check_duplicate_label()
328 othermark = get_marker_label(dt, label, &othernode, in check_duplicate_label()
341 static void check_duplicate_label_node(struct check *c, struct node *dt, in check_duplicate_label_node() argument
347 check_duplicate_label(c, dt, l->label, node, NULL, NULL); in check_duplicate_label_node()
349 static void check_duplicate_label_prop(struct check *c, struct node *dt, in check_duplicate_label_prop() argument
356 check_duplicate_label(c, dt, l->label, node, prop, NULL); in check_duplicate_label_prop()
359 check_duplicate_label(c, dt, m->ref, node, prop, m); in check_duplicate_label_prop()
457 static void fixup_phandle_references(struct check *c, struct node *dt, in fixup_phandle_references() argument
467 refnode = get_node_by_ref(dt, m->ref); in fixup_phandle_references()
474 phandle = get_node_phandle(dt, refnode); in fixup_phandle_references()
481 static void fixup_path_references(struct check *c, struct node *dt, in fixup_path_references() argument
491 refnode = get_node_by_ref(dt, m->ref); in fixup_path_references()
517 static void fixup_addr_size_cells(struct check *c, struct node *dt, in fixup_addr_size_cells() argument
541 static void check_reg_format(struct check *c, struct node *dt, in check_reg_format() argument
570 static void check_ranges_format(struct check *c, struct node *dt, in check_ranges_format() argument
614 static void check_avoid_default_addr_size(struct check *c, struct node *dt, in check_avoid_default_addr_size() argument
639 struct node *dt) in check_obsolete_chosen_interrupt_controller() argument
644 chosen = get_node_by_path(dt, "/chosen"); in check_obsolete_chosen_interrupt_controller()
739 struct node *dt = bi->dt; in process_checks() local
747 error = error || run_check(c, dt); in process_checks()