/openbmc/linux/drivers/firmware/efi/libstub/ |
H A D | fdt.c | 233 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 D | riscv.c | 85 unsigned long fdt_size) in efi_enter_kernel() argument
|
H A D | arm64.c | 134 unsigned long fdt_size) in efi_enter_kernel() argument
|
/openbmc/qemu/hw/ppc/ |
H A D | virtex_ml507.c | 155 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 D | spapr_vof.c | 108 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 D | ppc440_bamboo.c | 62 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 D | sam460ex.c | 139 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 D | spapr_hcall.c | 1323 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 D | e500.c | 379 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 D | dtimg.c | 46 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 D | bootefi.c | 85 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 D | boot.c | 76 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 D | image-android-dt.c | 79 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 D | board_f.c | 523 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 D | kexec.c | 287 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 D | bestcomm.c | 278 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 D | virt.h | 56 int fdt_size; member
|
/openbmc/qemu/hw/xtensa/ |
H A D | xtfpga.c | 360 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 D | global_data.h | 76 unsigned long fdt_size; /* Space reserved for relocated FDT */ member
|
/openbmc/qemu/include/hw/riscv/ |
H A D | sifive_u.h | 71 int fdt_size; member
|
H A D | virt.h | 56 int fdt_size; member
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | setup.c | 178 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 D | spl.c | 453 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 D | sbsa-ref.c | 104 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 D | xlnx-versal-virt.c | 37 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()
|