Home
last modified time | relevance | path

Searched refs:bi (Results 1 – 6 of 6) sorted by relevance

/scripts/dtc/
Ddtc.c99 struct boot_info *bi; in main() local
203 bi = dt_from_source(arg); in main()
205 bi = dt_from_fs(arg); in main()
207 bi = dt_from_blob(arg); in main()
217 bi->boot_cpuid_phys = cmdline_boot_cpuid; in main()
219 fill_fullpaths(bi->dt, ""); in main()
220 process_checks(force, bi); in main()
223 sort_tree(bi); in main()
235 dt_to_source(outf, bi); in main()
237 dt_to_blob(outf, bi, outversion); in main()
[all …]
Dlivetree.c247 struct boot_info *bi; in build_boot_info() local
249 bi = xmalloc(sizeof(*bi)); in build_boot_info()
250 bi->reservelist = reservelist; in build_boot_info()
251 bi->dt = tree; in build_boot_info()
252 bi->boot_cpuid_phys = boot_cpuid_phys; in build_boot_info()
254 return bi; in build_boot_info()
493 static void sort_reserve_entries(struct boot_info *bi) in sort_reserve_entries() argument
498 for (ri = bi->reservelist; in sort_reserve_entries()
508 for (ri = bi->reservelist; in sort_reserve_entries()
515 bi->reservelist = tbl[0]; in sort_reserve_entries()
[all …]
Ddtc.h223 void sort_tree(struct boot_info *bi);
227 void process_checks(int force, struct boot_info *bi);
231 void dt_to_blob(FILE *f, struct boot_info *bi, int version);
232 void dt_to_asm(FILE *f, struct boot_info *bi, int version);
238 void dt_to_source(FILE *f, struct boot_info *bi);
Dflattree.c366 void dt_to_blob(FILE *f, struct boot_info *bi, int version) in dt_to_blob() argument
384 flatten_tree(bi->dt, &bin_emitter, &dtbuf, &strbuf, vi); in dt_to_blob()
387 reservebuf = flatten_reserve_list(bi->reservelist, vi); in dt_to_blob()
391 bi->boot_cpuid_phys); in dt_to_blob()
460 void dt_to_asm(FILE *f, struct boot_info *bi, int version) in dt_to_asm() argument
500 asm_emit_cell(f, bi->boot_cpuid_phys); in dt_to_asm()
530 for (re = bi->reservelist; re; re = re->next) { in dt_to_asm()
550 flatten_tree(bi->dt, &asm_emitter, f, &strbuf, vi); in dt_to_asm()
Dtreesource.c264 void dt_to_source(FILE *f, struct boot_info *bi) in dt_to_source() argument
270 for (re = bi->reservelist; re; re = re->next) { in dt_to_source()
280 write_tree_source_node(f, bi->dt, 0); in dt_to_source()
Dchecks.c647 void process_checks(int force, struct boot_info *bi) in process_checks() argument
649 struct node *dt = bi->dt; in process_checks()