Home
last modified time | relevance | path

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

12

/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.c155 int fdt_size; in xilinx_load_device_tree() local
162 fdt = load_device_tree(dtb_filename, &fdt_size); in xilinx_load_device_tree()
169 fdt = load_device_tree("ppc.dtb", &fdt_size); in xilinx_load_device_tree()
173 fdt = load_device_tree(path, &fdt_size); in xilinx_load_device_tree()
198 cpu_physical_memory_write(addr, fdt, fdt_size); in xilinx_load_device_tree()
203 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.c62 int fdt_size; in bamboo_load_device_tree() local
71 fdt = load_device_tree(filename, &fdt_size); in bamboo_load_device_tree()
105 rom_add_blob_fixed(BINARY_DEVICE_TREE_FILE, fdt, fdt_size, addr); in bamboo_load_device_tree()
H A Dsam460ex.c139 int fdt_size; in sam460ex_load_device_tree() local
150 fdt = load_device_tree(filename, &fdt_size); in sam460ex_load_device_tree()
208 rom_add_blob_fixed(BINARY_DEVICE_TREE_FILE, fdt, fdt_size, addr); in sam460ex_load_device_tree()
213 return fdt_size; in sam460ex_load_device_tree()
H A Dspapr_hcall.c1323 spapr->fdt_size = fdt_totalsize(fdt); in do_client_architecture_support()
1324 spapr->fdt_initial_size = spapr->fdt_size; in do_client_architecture_support()
1360 spapr->fdt_size = fdt_totalsize(spapr->fdt_blob); in h_client_architecture_support()
1361 spapr->fdt_initial_size = spapr->fdt_size; in h_client_architecture_support()
1365 spapr->fdt_size); in h_client_architecture_support()
1366 trace_spapr_cas_continue(spapr->fdt_size + sizeof(hdr)); in h_client_architecture_support()
1494 spapr->fdt_size = cb; in h_update_dt()
H A De500.c379 int fdt_size; in ppce500_load_device_tree() local
416 fdt = load_device_tree(filename, &fdt_size); in ppce500_load_device_tree()
424 fdt = create_device_tree(&fdt_size); in ppce500_load_device_tree()
659 qemu_fdt_dumpdtb(fdt, fdt_size); in ppce500_load_device_tree()
660 cpu_physical_memory_write(addr, fdt, fdt_size); in ppce500_load_device_tree()
668 ret = fdt_size; in ppce500_load_device_tree()
/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.h56 int fdt_size; member
/openbmc/qemu/hw/xtensa/
H A Dxtfpga.c360 int fdt_size; in xtfpga_init() local
361 void *fdt = load_device_tree(dtb_filename, &fdt_size); in xtfpga_init()
369 cpu_physical_memory_write(cur_lowmem, fdt, fdt_size); in xtfpga_init()
372 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/qemu/include/hw/riscv/
H A Dsifive_u.h71 int fdt_size; member
H A Dvirt.h56 int fdt_size; 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 Dsbsa-ref.c104 int fdt_size; member
194 void *fdt = create_device_tree(&sms->fdt_size); in create_fdt()
693 static void *sbsa_ref_dtb(const struct arm_boot_info *binfo, int *fdt_size) in sbsa_ref_dtb() argument
698 *fdt_size = board->fdt_size; in sbsa_ref_dtb()
H A Dxlnx-versal-virt.c37 int fdt_size; member
61 s->fdt = create_device_tree(&s->fdt_size); in fdt_create()
558 int *fdt_size) in versal_virt_get_dtb() argument
562 *fdt_size = board->fdt_size; in versal_virt_get_dtb()

12