Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/scripts/gdb/linux/
H A Dproc.py214 def fdthdr_to_cpu(self, fdt_header): argument
225 fdt_header['magic'],
226 fdt_header['totalsize'],
227 fdt_header['off_dt_struct'],
228 fdt_header['off_dt_strings'],
229 fdt_header['off_mem_rsvmap'],
230 fdt_header['version'],
231 fdt_header['last_comp_version']))
247 fdt_header = self.fdthdr_to_cpu(py_fdt_header)
249 if fdt_header[0] != constants.LX_OF_DT_HEADER:
[all …]
/OK3568_Linux_fs/u-boot/cmd/
H A Dfdt.c30 static int fdt_valid(struct fdt_header **blobp);
38 struct fdt_header *working_fdt;
91 struct fdt_header *blob; in do_fdt()
107 blob = (struct fdt_header *)gd->fdt_blob; in do_fdt()
163 struct fdt_header *newaddr; in do_fdt()
173 working_fdt = (struct fdt_header *)simple_strtoul(argv[2], NULL, 16); in do_fdt()
177 newaddr = (struct fdt_header *)simple_strtoul(argv[3],NULL,16); in do_fdt()
620 struct fdt_header *blob; in do_fdt()
629 blob = (struct fdt_header *)gd->fdt_blob; in do_fdt()
654 struct fdt_header *blob; in do_fdt()
[all …]
/OK3568_Linux_fs/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()
162 struct fdt_header fit; in ppa_init()
/OK3568_Linux_fs/u-boot/common/
H A Dimage-android-dt.c78 static void android_dt_print_fdt_info(const struct fdt_header *fdt) in android_dt_print_fdt_info()
131 const struct fdt_header *fdt; in android_dt_print_contents()
H A Dbootstage.c250 static int add_bootstages_devicetree(struct fdt_header *blob) in add_bootstages_devicetree()
/OK3568_Linux_fs/u-boot/scripts/dtc/libfdt/
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_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 Dfdt.h57 struct fdt_header { struct
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()
/OK3568_Linux_fs/kernel/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_()
398 mem_rsv_off = FDT_ALIGN(sizeof(struct fdt_header), 8); in fdt_packblocks_()
452 newsize = FDT_ALIGN(sizeof(struct fdt_header), 8) + mem_rsv_size in fdt_open_into()
H A Dlibfdt.h239 (fdt32_ld(&((const struct fdt_header *)(fdt))->field))
254 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()
/OK3568_Linux_fs/u-boot/include/linux/
H A Dlibfdt.h310 extern struct fdt_header *working_fdt; /* Pointer to the working fdt */
/OK3568_Linux_fs/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()
/OK3568_Linux_fs/kernel/scripts/dtc/
H A Dflattree.c313 static void make_fdt_header(struct fdt_header *fdt, in make_fdt_header()
353 struct fdt_header fdt; in dt_to_blob()
803 struct fdt_header *fdt; in dt_from_blob()
846 fdt = (struct fdt_header *)blob; in dt_from_blob()
H A Dfdtdump.c48 struct fdt_header *bph = blob; in dump_blob()
/OK3568_Linux_fs/kernel/arch/mips/kernel/
H A Dmachine_kexec.c65 struct fdt_header fdt; in uhi_machine_kexec_prepare()
/OK3568_Linux_fs/u-boot/tools/
H A Dfdtgrep.c429 struct fdt_header *fdt; in dump_fdt_regions()
435 fdt = (struct fdt_header *)out; in dump_fdt_regions()
438 struct_start = FDT_ALIGN(sizeof(struct fdt_header), in dump_fdt_regions()
/OK3568_Linux_fs/u-boot/board/raspberrypi/rpi/
H A Drpi.c397 struct fdt_header *passed_fdt = rpi_passed_fdt(); in set_boot_args()
/OK3568_Linux_fs/u-boot/common/spl/
H A Dspl_boot_image.c286 blkcnt = BLK_CNT(sizeof(struct fdt_header), info->bl_len); in spl_load_fit()
/OK3568_Linux_fs/u-boot/arch/arm/mach-rockchip/
H A Dfit.c160 blk_num = DIV_ROUND_UP(sizeof(struct fdt_header), dev_desc->blksz); in fit_get_blob()
/OK3568_Linux_fs/kernel/drivers/of/
H A Doverlay.c1024 if (overlay_fdt_size < sizeof(struct fdt_header) || in of_overlay_fdt_apply()