/openbmc/linux/scripts/gdb/linux/ |
H A D | proc.py | 216 def fdthdr_to_cpu(self, fdt_header): argument 227 fdt_header['magic'], 228 fdt_header['totalsize'], 229 fdt_header['off_dt_struct'], 230 fdt_header['off_dt_strings'], 232 fdt_header['version'], 249 fdt_header = self.fdthdr_to_cpu(py_fdt_header) 251 if fdt_header[0] != constants.LX_OF_DT_HEADER: 259 gdb.write("version: {}\n".format(fdt_header[5])) 260 gdb.write("last_comp_version: {}\n".format(fdt_header[6])) [all …]
|
/openbmc/u-boot/cmd/ |
H A D | fdt.c | 29 static int fdt_valid(struct fdt_header **blobp); 37 struct fdt_header *working_fdt; 124 struct fdt_header *blob; in do_fdt() 140 blob = (struct fdt_header *)gd->fdt_blob; in do_fdt() 198 struct fdt_header *newaddr; in do_fdt() 208 working_fdt = (struct fdt_header *)simple_strtoul(argv[2], NULL, 16); in do_fdt() 212 newaddr = (struct fdt_header *)simple_strtoul(argv[3],NULL,16); in do_fdt() 661 struct fdt_header *blob; in do_fdt() 670 blob = (struct fdt_header *)gd->fdt_blob; in do_fdt() 695 struct fdt_header *blob; in do_fdt() [all …]
|
/openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/ |
H A D | ppa.c | 62 size_t fw_length, fdt_header_len = sizeof(struct fdt_header); in ppa_init() 68 struct fdt_header *fitp; in ppa_init() 161 struct fdt_header fit; in ppa_init()
|
/openbmc/u-boot/lib/efi_selftest/ |
H A D | efi_selftest_fdt.c | 51 struct fdt_header *header = (struct fdt_header *)fdt; in get_property()
|
/openbmc/u-boot/common/ |
H A D | image-android-dt.c | 77 static void android_dt_print_fdt_info(const struct fdt_header *fdt) in android_dt_print_fdt_info() 130 const struct fdt_header *fdt; in android_dt_print_contents()
|
H A D | bootstage.c | 249 static int add_bootstages_devicetree(struct fdt_header *blob) in add_bootstages_devicetree()
|
/openbmc/u-boot/scripts/dtc/libfdt/ |
H A D | fdt.h | 57 struct fdt_header { struct
|
H A D | fdt_sw.c | 92 if (bufsize < sizeof(struct fdt_header)) in fdt_create() 102 fdt_set_off_mem_rsvmap(fdt, FDT_ALIGN(sizeof(struct fdt_header), in fdt_create()
|
H A D | libfdt.h | 216 (fdt32_to_cpu(((const struct fdt_header *)(fdt))->field)) 231 struct fdt_header *fdth = (struct fdt_header *)fdt; \
|
H A D | fdt_rw.c | 61 return (fdt_off_mem_rsvmap(fdt) < FDT_ALIGN(sizeof(struct fdt_header), 8)) in fdt_blocks_misordered_() 412 mem_rsv_off = FDT_ALIGN(sizeof(struct fdt_header), 8); in fdt_packblocks_() 465 newsize = FDT_ALIGN(sizeof(struct fdt_header), 8) + mem_rsv_size in fdt_open_into()
|
/openbmc/linux/scripts/dtc/libfdt/ |
H A D | fdt.h | 12 struct fdt_header { struct
|
H A D | fdt_rw.c | 16 return (fdt_off_mem_rsvmap(fdt) < FDT_ALIGN(sizeof(struct fdt_header), 8)) in fdt_blocks_misordered_() 403 mem_rsv_off = FDT_ALIGN(sizeof(struct fdt_header), 8); in fdt_packblocks_() 458 newsize = FDT_ALIGN(sizeof(struct fdt_header), 8) + mem_rsv_size in fdt_open_into()
|
H A D | libfdt.h | 248 (fdt32_ld(&((const struct fdt_header *)(fdt))->field)) 263 struct fdt_header *fdth = (struct fdt_header *)fdt; \
|
H A D | fdt_sw.c | 111 const int hdrsize = FDT_ALIGN(sizeof(struct fdt_header), in fdt_create_with_flags()
|
/openbmc/u-boot/include/linux/ |
H A D | libfdt.h | 310 extern struct fdt_header *working_fdt; /* Pointer to the working fdt */
|
/openbmc/linux/arch/riscv/kernel/ |
H A D | machine_kexec.c | 58 struct fdt_header fdt = {0}; in machine_kexec_prepare()
|
/openbmc/linux/arch/mips/kernel/ |
H A D | machine_kexec.c | 65 struct fdt_header fdt; in uhi_machine_kexec_prepare()
|
/openbmc/u-boot/scripts/dtc/ |
H A D | flattree.c | 328 static void make_fdt_header(struct fdt_header *fdt, in make_fdt_header() 368 struct fdt_header fdt; in dt_to_blob() 818 struct fdt_header *fdt; in dt_from_blob() 861 fdt = (struct fdt_header *)blob; in dt_from_blob()
|
/openbmc/linux/scripts/dtc/ |
H A D | flattree.c | 314 static void make_fdt_header(struct fdt_header *fdt, in make_fdt_header() 354 struct fdt_header fdt; in dt_to_blob() 804 struct fdt_header *fdt; in dt_from_blob() 847 fdt = (struct fdt_header *)blob; in dt_from_blob()
|
/openbmc/u-boot/tools/ |
H A D | fdtgrep.c | 431 struct fdt_header *fdt; in dump_fdt_regions() 437 fdt = (struct fdt_header *)out; in dump_fdt_regions() 440 struct_start = FDT_ALIGN(sizeof(struct fdt_header), in dump_fdt_regions()
|
/openbmc/linux/drivers/of/ |
H A D | overlay.c | 1004 if (overlay_fdt_size < sizeof(struct fdt_header) || in of_overlay_fdt_apply()
|
/openbmc/qemu/hw/ppc/ |
H A D | spapr_hcall.c | 1464 struct fdt_header hdr = { 0 }; in h_update_dt()
|