Lines Matching full:vi
238 struct version_info *vi) in flatten_tree() argument
249 if (vi->flags & FTF_FULLPATH) in flatten_tree()
268 if ((vi->flags & FTF_VARALIGN) && (prop->val.len >= 8)) in flatten_tree()
275 if ((vi->flags & FTF_NAMEPROPS) && !seen_name_prop) { in flatten_tree()
280 if ((vi->flags & FTF_VARALIGN) && ((tree->basenamelen+1) >= 8)) in flatten_tree()
288 flatten_tree(child, emit, etarget, strbuf, vi); in flatten_tree()
295 struct version_info *vi) in flatten_reserve_list() argument
315 struct version_info *vi, in make_fdt_header() argument
326 fdt->version = cpu_to_fdt32(vi->version); in make_fdt_header()
327 fdt->last_comp_version = cpu_to_fdt32(vi->last_comp_version); in make_fdt_header()
330 reserve_off = ALIGN(vi->hdr_size, 8); in make_fdt_header()
338 if (vi->flags & FTF_BOOTCPUID) in make_fdt_header()
340 if (vi->flags & FTF_STRTABSIZE) in make_fdt_header()
342 if (vi->flags & FTF_STRUCTSIZE) in make_fdt_header()
348 struct version_info *vi = NULL; in dt_to_blob() local
359 vi = &version_table[i]; in dt_to_blob()
361 if (!vi) in dt_to_blob()
364 flatten_tree(dti->dt, &bin_emitter, &dtbuf, &strbuf, vi); in dt_to_blob()
367 reservebuf = flatten_reserve_list(dti->reservelist, vi); in dt_to_blob()
370 make_fdt_header(&fdt, vi, reservebuf.len, dtbuf.len, strbuf.len, in dt_to_blob()
405 blob = data_append_data(blob, &fdt, vi->hdr_size); in dt_to_blob()
449 struct version_info *vi = NULL; in dt_to_asm() local
457 vi = &version_table[i]; in dt_to_asm()
459 if (!vi) in dt_to_asm()
481 asm_emit_cell(f, vi->version); in dt_to_asm()
483 asm_emit_cell(f, vi->last_comp_version); in dt_to_asm()
485 if (vi->flags & FTF_BOOTCPUID) { in dt_to_asm()
490 if (vi->flags & FTF_STRTABSIZE) { in dt_to_asm()
496 if (vi->flags & FTF_STRUCTSIZE) { in dt_to_asm()
537 flatten_tree(dti->dt, &asm_emitter, f, &strbuf, vi); in dt_to_asm()