• Home
  • Raw
  • Download

Lines Matching refs:dti

381 	struct dt_info *dti;  in build_dt_info()  local
383 dti = xmalloc(sizeof(*dti)); in build_dt_info()
384 dti->dtsflags = dtsflags; in build_dt_info()
385 dti->reservelist = reservelist; in build_dt_info()
386 dti->dt = tree; in build_dt_info()
387 dti->boot_cpuid_phys = boot_cpuid_phys; in build_dt_info()
389 return dti; in build_dt_info()
637 static void sort_reserve_entries(struct dt_info *dti) in sort_reserve_entries() argument
642 for (ri = dti->reservelist; in sort_reserve_entries()
652 for (ri = dti->reservelist; in sort_reserve_entries()
659 dti->reservelist = tbl[0]; in sort_reserve_entries()
749 void sort_tree(struct dt_info *dti) in sort_tree() argument
751 sort_reserve_entries(dti); in sort_tree()
752 sort_node(dti->dt); in sort_tree()
781 static bool any_label_tree(struct dt_info *dti, struct node *node) in any_label_tree() argument
789 if (any_label_tree(dti, c)) in any_label_tree()
795 static void generate_label_tree_internal(struct dt_info *dti, in generate_label_tree_internal() argument
799 struct node *dt = dti->dt; in generate_label_tree_internal()
832 generate_label_tree_internal(dti, an, c, allocph); in generate_label_tree_internal()
835 static bool any_fixup_tree(struct dt_info *dti, struct node *node) in any_fixup_tree() argument
844 if (!get_node_by_ref(dti->dt, m->ref)) in any_fixup_tree()
850 if (any_fixup_tree(dti, c)) in any_fixup_tree()
857 static void add_fixup_entry(struct dt_info *dti, struct node *fn, in add_fixup_entry() argument
877 static void generate_fixups_tree_internal(struct dt_info *dti, in generate_fixups_tree_internal() argument
881 struct node *dt = dti->dt; in generate_fixups_tree_internal()
892 add_fixup_entry(dti, fn, node, prop, m); in generate_fixups_tree_internal()
897 generate_fixups_tree_internal(dti, fn, c); in generate_fixups_tree_internal()
900 static bool any_local_fixup_tree(struct dt_info *dti, struct node *node) in any_local_fixup_tree() argument
909 if (get_node_by_ref(dti->dt, m->ref)) in any_local_fixup_tree()
915 if (any_local_fixup_tree(dti, c)) in any_local_fixup_tree()
922 static void add_local_fixup_entry(struct dt_info *dti, in add_local_fixup_entry() argument
958 static void generate_local_fixups_tree_internal(struct dt_info *dti, in generate_local_fixups_tree_internal() argument
962 struct node *dt = dti->dt; in generate_local_fixups_tree_internal()
973 add_local_fixup_entry(dti, lfn, node, prop, m, refnode); in generate_local_fixups_tree_internal()
978 generate_local_fixups_tree_internal(dti, lfn, c); in generate_local_fixups_tree_internal()
981 void generate_label_tree(struct dt_info *dti, char *name, bool allocph) in generate_label_tree() argument
983 if (!any_label_tree(dti, dti->dt)) in generate_label_tree()
985 generate_label_tree_internal(dti, build_root_node(dti->dt, name), in generate_label_tree()
986 dti->dt, allocph); in generate_label_tree()
989 void generate_fixups_tree(struct dt_info *dti, char *name) in generate_fixups_tree() argument
991 if (!any_fixup_tree(dti, dti->dt)) in generate_fixups_tree()
993 generate_fixups_tree_internal(dti, build_root_node(dti->dt, name), in generate_fixups_tree()
994 dti->dt); in generate_fixups_tree()
997 void generate_local_fixups_tree(struct dt_info *dti, char *name) in generate_local_fixups_tree() argument
999 if (!any_local_fixup_tree(dti, dti->dt)) in generate_local_fixups_tree()
1001 generate_local_fixups_tree_internal(dti, build_root_node(dti->dt, name), in generate_local_fixups_tree()
1002 dti->dt); in generate_local_fixups_tree()