Home
last modified time | relevance | path

Searched refs:fdt_size (Results 1 – 25 of 43) sorted by relevance

12

/openbmc/qemu/hw/nios2/
H A Dboot.c87 int fdt_size; in nios2_load_dtb() local
93 fdt = load_device_tree(dtb_filename, &fdt_size); in nios2_load_dtb()
118 cpu_physical_memory_write(bi.fdt, fdt, fdt_size); in nios2_load_dtb()
123 return fdt_size; in nios2_load_dtb()
149 int kernel_size, fdt_size; in nios2_load_kernel() local
222 fdt_size = nios2_load_dtb(boot_info, ramsize, kernel_cmdline, in nios2_load_kernel()
225 high += fdt_size; in nios2_load_kernel()
/openbmc/linux/drivers/firmware/efi/libstub/
H A Dfdt.c233 unsigned long fdt_size = 0; in allocate_new_fdt_and_exit_boot() local
254 status = efi_load_dtb(image, &fdt_addr, &fdt_size); in allocate_new_fdt_and_exit_boot()
266 fdt_addr = (uintptr_t)get_fdt(&fdt_size); in allocate_new_fdt_and_exit_boot()
282 status = update_fdt((void *)fdt_addr, fdt_size, in allocate_new_fdt_and_exit_boot()
337 efi_free(fdt_size, fdt_addr); in allocate_new_fdt_and_exit_boot()
364 void *get_fdt(unsigned long *fdt_size) in get_fdt() argument
377 *fdt_size = fdt_totalsize(fdt); in get_fdt()
H A Driscv.c85 unsigned long fdt_size) in efi_enter_kernel() argument
H A Darm64.c134 unsigned long fdt_size) in efi_enter_kernel() argument
/openbmc/qemu/hw/ppc/
H A Dvirtex_ml507.c154 int fdt_size; in xilinx_load_device_tree() local
161 fdt = load_device_tree(dtb_filename, &fdt_size); in xilinx_load_device_tree()
168 fdt = load_device_tree("ppc.dtb", &fdt_size); in xilinx_load_device_tree()
172 fdt = load_device_tree(path, &fdt_size); in xilinx_load_device_tree()
197 cpu_physical_memory_write(addr, fdt, fdt_size); in xilinx_load_device_tree()
202 return fdt_size; in xilinx_load_device_tree()
H A Dspapr_vof.c108 spapr->fdt_size = fdt_totalsize(spapr->fdt_blob); in spapr_vof_quiesce()
109 spapr->fdt_initial_size = spapr->fdt_size; in spapr_vof_quiesce()
H A Dppc440_bamboo.c60 int fdt_size; in bamboo_load_device_tree() local
69 fdt = load_device_tree(filename, &fdt_size); in bamboo_load_device_tree()
103 rom_add_blob_fixed(BINARY_DEVICE_TREE_FILE, fdt, fdt_size, addr); in bamboo_load_device_tree()
H A Dsam460ex.c136 int fdt_size; in sam460ex_load_device_tree() local
147 fdt = load_device_tree(filename, &fdt_size); in sam460ex_load_device_tree()
205 rom_add_blob_fixed(BINARY_DEVICE_TREE_FILE, fdt, fdt_size, addr); in sam460ex_load_device_tree()
210 return fdt_size; in sam460ex_load_device_tree()
H A Dspapr_hcall.c1320 spapr->fdt_size = fdt_totalsize(fdt); in do_client_architecture_support()
1321 spapr->fdt_initial_size = spapr->fdt_size; in do_client_architecture_support()
1357 spapr->fdt_size = fdt_totalsize(spapr->fdt_blob); in h_client_architecture_support()
1358 spapr->fdt_initial_size = spapr->fdt_size; in h_client_architecture_support()
1362 spapr->fdt_size); in h_client_architecture_support()
1363 trace_spapr_cas_continue(spapr->fdt_size + sizeof(hdr)); in h_client_architecture_support()
1491 spapr->fdt_size = cb; in h_update_dt()
/openbmc/u-boot/cmd/
H A Ddtimg.c46 u32 fdt_size; in dtimg_get_fdt() local
69 if (!android_dt_get_fdt_by_index(hdr_addr, index, &fdt_addr, &fdt_size)) in dtimg_get_fdt()
77 snprintf(buf, sizeof(buf), "%x", fdt_size); in dtimg_get_fdt()
H A Dbootefi.c85 uint fdt_size; in copy_fdt() local
105 fdt_size = fdt_pages << EFI_PAGE_SHIFT; in copy_fdt()
112 fdt_size, 0); in copy_fdt()
118 new_fdt_addr = (ulong)memalign(EFI_PAGE_SIZE, fdt_size); in copy_fdt()
129 fdt_set_totalsize(new_fdt, fdt_size); in copy_fdt()
/openbmc/qemu/hw/microblaze/
H A Dboot.c76 int fdt_size; in microblaze_load_dtb() local
82 fdt = load_device_tree(dtb_filename, &fdt_size); in microblaze_load_dtb()
107 cpu_physical_memory_write(addr, fdt, fdt_size); in microblaze_load_dtb()
109 return fdt_size; in microblaze_load_dtb()
/openbmc/u-boot/common/
H A Dimage-android-dt.c79 u32 fdt_size; in android_dt_print_fdt_info() local
83 fdt_size = fdt_totalsize(fdt); in android_dt_print_fdt_info()
92 printf(" (FDT)size = %d\n", fdt_size); in android_dt_print_fdt_info()
H A Dboard_f.c523 gd->fdt_size = ALIGN(fdt_totalsize(gd->fdt_blob) + 0x1000, 32); in reserve_fdt()
525 gd->start_addr_sp -= gd->fdt_size; in reserve_fdt()
526 gd->new_fdt = map_sysmem(gd->start_addr_sp, gd->fdt_size); in reserve_fdt()
528 gd->fdt_size, gd->start_addr_sp); in reserve_fdt()
657 memcpy(gd->new_fdt, gd->fdt_blob, gd->fdt_size); in reloc_fdt()
/openbmc/linux/drivers/of/
H A Dkexec.c287 size_t fdt_size; in of_kexec_alloc_and_setup_fdt() local
289 fdt_size = fdt_totalsize(initial_boot_params) + in of_kexec_alloc_and_setup_fdt()
293 fdt = kvmalloc(fdt_size, GFP_KERNEL); in of_kexec_alloc_and_setup_fdt()
297 ret = fdt_open_into(initial_boot_params, fdt, fdt_size); in of_kexec_alloc_and_setup_fdt()
/openbmc/linux/drivers/dma/bestcomm/
H A Dbestcomm.c278 unsigned int tdt_size, ctx_size, var_size, fdt_size; in bcom_engine_init() local
284 fdt_size = BCOM_FDT_SIZE; in bcom_engine_init()
289 bcom_eng->fdt = bcom_sram_alloc(fdt_size, BCOM_FDT_ALIGN, &fdt_pa); in bcom_engine_init()
305 memset_io(bcom_eng->fdt, 0x00, fdt_size); in bcom_engine_init()
/openbmc/qemu/include/hw/loongarch/
H A Dvirt.h49 int fdt_size; member
/openbmc/qemu/include/hw/riscv/
H A Dvirt.h55 int fdt_size; member
H A Dsifive_u.h71 int fdt_size; member
/openbmc/qemu/hw/xtensa/
H A Dxtfpga.c362 int fdt_size; in xtfpga_init() local
363 void *fdt = load_device_tree(dtb_filename, &fdt_size); in xtfpga_init()
371 cpu_physical_memory_write(cur_lowmem, fdt, fdt_size); in xtfpga_init()
374 cur_lowmem = QEMU_ALIGN_UP(cur_lowmem + fdt_size, 4 * KiB); in xtfpga_init()
/openbmc/u-boot/include/asm-generic/
H A Dglobal_data.h76 unsigned long fdt_size; /* Space reserved for relocated FDT */ member
/openbmc/linux/arch/arm64/kernel/
H A Dsetup.c178 int fdt_size; in early_fdt_map() local
181 early_fdt_ptr = fixmap_remap_fdt(dt_phys, &fdt_size, PAGE_KERNEL); in early_fdt_map()
/openbmc/u-boot/common/spl/
H A Dspl.c453 gd->fdt_size = ALIGN(fdt_totalsize(gd->fdt_blob) + 0x1000, 32); in spl_setup_reloc()
455 gd->start_addr_sp -= gd->fdt_size; in spl_setup_reloc()
457 memcpy(gd->new_fdt, gd->fdt_blob, gd->fdt_size); in spl_setup_reloc()
/openbmc/qemu/hw/arm/
H A Dxlnx-versal-virt.c36 int fdt_size; member
59 s->fdt = create_device_tree(&s->fdt_size); in fdt_create()
555 int *fdt_size) in versal_virt_get_dtb() argument
559 *fdt_size = board->fdt_size; in versal_virt_get_dtb()
H A Dsbsa-ref.c93 int fdt_size; member
204 void *fdt = create_device_tree(&sms->fdt_size); in create_fdt()
705 static void *sbsa_ref_dtb(const struct arm_boot_info *binfo, int *fdt_size) in sbsa_ref_dtb() argument
710 *fdt_size = board->fdt_size; in sbsa_ref_dtb()

12