Home
last modified time | relevance | path

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

/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.c133 unsigned long fdt_size) in efi_enter_kernel() argument
/linux/lib/
H A Dtest_kho.c96 static int kho_test_prepare_fdt(struct kho_test_state *state, ssize_t fdt_size) in kho_test_prepare_fdt() argument
103 err = fdt_create(fdt, fdt_size); in kho_test_prepare_fdt()
125 ssize_t fdt_size; in kho_test_preserve() local
128 fdt_size = state->nr_folios * sizeof(phys_addr_t) + PAGE_SIZE; in kho_test_preserve()
129 state->fdt = folio_alloc(GFP_KERNEL, get_order(fdt_size)); in kho_test_preserve()
141 err = kho_test_prepare_fdt(state, fdt_size); in kho_test_preserve()
/linux/drivers/of/
H A Dkexec.c324 size_t fdt_size; in of_kexec_alloc_and_setup_fdt() local
326 fdt_size = fdt_totalsize(initial_boot_params) + in of_kexec_alloc_and_setup_fdt()
330 fdt = kvmalloc(fdt_size, GFP_KERNEL); in of_kexec_alloc_and_setup_fdt()
334 ret = fdt_open_into(initial_boot_params, fdt, fdt_size); in of_kexec_alloc_and_setup_fdt()
H A Dfdt.c924 u64 fdt_start, fdt_size, scratch_start, scratch_size; in early_init_dt_check_kho() local
930 &fdt_start, &fdt_size)) in early_init_dt_check_kho()
937 kho_populate(fdt_start, fdt_size, scratch_start, scratch_size); in early_init_dt_check_kho()
/linux/arch/x86/include/uapi/asm/
H A Dsetup_data.h87 __u64 fdt_size; member
/linux/arch/x86/kernel/
H A Dkexec-bzimage64.c285 kho->fdt_size = PAGE_SIZE; in setup_kho()
H A Dsetup.c470 kho_populate(kho->fdt_addr, kho->fdt_size, kho->scratch_addr, kho->scratch_size); in add_kho()
/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_83xx_hw.c2793 int count, fdt_size, ret = 0; in qlcnic_83xx_read_flash_descriptor_table() local
2795 fdt_size = sizeof(struct qlcnic_fdt); in qlcnic_83xx_read_flash_descriptor_table()
2796 count = fdt_size / sizeof(u32); in qlcnic_83xx_read_flash_descriptor_table()
2801 memset(&adapter->ahw->fdt, 0, fdt_size); in qlcnic_83xx_read_flash_descriptor_table()