Home
last modified time | relevance | path

Searched refs:fdt_header (Results 1 – 22 of 22) sorted by relevance

/openbmc/linux/scripts/gdb/linux/
H A Dproc.py216 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 Dfdt.c29 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 Dppa.c62 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 Defi_selftest_fdt.c51 struct fdt_header *header = (struct fdt_header *)fdt; in get_property()
/openbmc/u-boot/common/
H A Dimage-android-dt.c77 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 Dbootstage.c249 static int add_bootstages_devicetree(struct fdt_header *blob) in add_bootstages_devicetree()
/openbmc/u-boot/scripts/dtc/libfdt/
H A Dfdt.h57 struct fdt_header { struct
H A Dfdt_sw.c92 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 Dlibfdt.h216 (fdt32_to_cpu(((const struct fdt_header *)(fdt))->field))
231 struct fdt_header *fdth = (struct fdt_header *)fdt; \
H A Dfdt_rw.c61 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 Dfdt.h12 struct fdt_header { struct
H A Dfdt_rw.c16 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 Dlibfdt.h248 (fdt32_ld(&((const struct fdt_header *)(fdt))->field))
263 struct fdt_header *fdth = (struct fdt_header *)fdt; \
H A Dfdt_sw.c111 const int hdrsize = FDT_ALIGN(sizeof(struct fdt_header), in fdt_create_with_flags()
/openbmc/u-boot/include/linux/
H A Dlibfdt.h310 extern struct fdt_header *working_fdt; /* Pointer to the working fdt */
/openbmc/linux/arch/riscv/kernel/
H A Dmachine_kexec.c58 struct fdt_header fdt = {0}; in machine_kexec_prepare()
/openbmc/linux/arch/mips/kernel/
H A Dmachine_kexec.c65 struct fdt_header fdt; in uhi_machine_kexec_prepare()
/openbmc/u-boot/scripts/dtc/
H A Dflattree.c328 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 Dflattree.c314 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 Dfdtgrep.c431 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 Doverlay.c1004 if (overlay_fdt_size < sizeof(struct fdt_header) || in of_overlay_fdt_apply()
/openbmc/qemu/hw/ppc/
H A Dspapr_hcall.c1464 struct fdt_header hdr = { 0 }; in h_update_dt()