Lines Matching refs:header
110 static void output_table_header(FILE *out_fp, const struct dt_table_header *header) { in output_table_header() argument
112 output_prop_hex(out_fp, "magic", header->magic); in output_table_header()
113 output_prop_int(out_fp, "total_size", header->total_size); in output_table_header()
114 output_prop_int(out_fp, "header_size", header->header_size); in output_table_header()
115 output_prop_int(out_fp, "dt_entry_size", header->dt_entry_size); in output_table_header()
116 output_prop_int(out_fp, "dt_entry_count", header->dt_entry_count); in output_table_header()
117 output_prop_int(out_fp, "dt_entries_offset", header->dt_entries_offset); in output_table_header()
118 output_prop_int(out_fp, "page_size", header->page_size); in output_table_header()
119 output_prop_int(out_fp, "version", header->version); in output_table_header()
163 struct dt_table_header header; in dump_image_from_fp() local
164 if (fread(&header, sizeof(header), 1, img_fp) != 1) { in dump_image_from_fp()
169 output_table_header(out_fp, &header); in dump_image_from_fp()
172 uint32_t entry_magic = fdt32_to_cpu(header.magic); in dump_image_from_fp()
178 uint32_t entry_size = fdt32_to_cpu(header.dt_entry_size); in dump_image_from_fp()
179 uint32_t entry_offset = fdt32_to_cpu(header.dt_entries_offset); in dump_image_from_fp()
180 uint32_t entry_count = fdt32_to_cpu(header.dt_entry_count); in dump_image_from_fp()