Home
last modified time | relevance | path

Searched refs:dt_size (Results 1 – 9 of 9) sorted by relevance

/openbmc/u-boot/common/
H A Dimage-android-dt.c48 u32 dt_offset, dt_size; in android_dt_get_fdt_by_index() local
65 dt_size = fdt32_to_cpu(e->dt_size); in android_dt_get_fdt_by_index()
71 *size = dt_size; in android_dt_get_fdt_by_index()
131 u32 dt_offset, dt_size; in android_dt_print_contents() local
136 dt_size = fdt32_to_cpu(e->dt_size); in android_dt_print_contents()
139 printf(" dt_size = %d\n", dt_size); in android_dt_print_contents()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/core/
H A D0009-mkbootimg-Add-dt-parameter-to-specify-DT-image.patch25 + unsigned dt_size; /* device tree in bytes */
40 +** p = (dt_size + page_size - 1) / page_size
79 + dt_data = load_file(dt_fn, &hdr.dt_size);
94 + SHA_update(&ctx, dt_data, hdr.dt_size);
95 + SHA_update(&ctx, &hdr.dt_size, sizeof(hdr.dt_size));
105 + if(write(fd, dt_data, hdr.dt_size) != (ssize_t) hdr.dt_size) goto fail;
106 + if(write_padding(fd, pagesize, hdr.dt_size)) goto fail;
/openbmc/qemu/system/
H A Ddevice_tree.c80 int dt_size; in load_device_tree() local
86 dt_size = get_image_size(filename_path); in load_device_tree()
87 if (dt_size < 0) { in load_device_tree()
92 if (dt_size > INT_MAX / 2 - 10000) { in load_device_tree()
98 dt_size += 10000; in load_device_tree()
99 dt_size *= 2; in load_device_tree()
101 fdt = g_malloc0(dt_size); in load_device_tree()
103 dt_file_load_size = load_image_size(filename_path, fdt, dt_size); in load_device_tree()
110 ret = fdt_open_into(fdt, fdt, dt_size); in load_device_tree()
123 *sizep = dt_size; in load_device_tree()
/openbmc/qemu/hw/ppc/
H A Dsam460ex.c85 uint32_t dt_size; member
532 int dt_size; in sam460ex_init() local
534 dt_size = sam460ex_load_device_tree(machine, FDT_ADDR, in sam460ex_init()
538 boot_info->dt_size = dt_size; in sam460ex_init()
H A De500.c86 uint32_t dt_size; member
737 dt_end = bi->dt_base + bi->dt_size; in booke206_initial_map_tsize()
923 int dt_size; in ppce500_init() local
1268 dt_size = ppce500_prep_device_tree(pms, dt_base, in ppce500_init()
1271 if (dt_size < 0) { in ppce500_init()
1275 assert(dt_size < DTB_MAX_SIZE); in ppce500_init()
1279 boot_info->dt_size = dt_size; in ppce500_init()
/openbmc/qemu/hw/mips/
H A Dboston.c514 const MemMapEntry *memmap, int *dt_size) in create_fdt() argument
525 fdt = create_device_tree(dt_size); in create_fdt()
798 int dt_size; in boston_mach_init() local
806 dtb_file_data = load_device_tree(machine->dtb, &dt_size); in boston_mach_init()
808 dtb_file_data = create_fdt(s, boston_memmap, &dt_size); in boston_mach_init()
815 dt_size = fdt_totalsize(dtb_load_data); in boston_mach_init()
816 rom_add_blob_fixed("dtb", dtb_load_data, dt_size, dtb_paddr); in boston_mach_init()
818 rom_ptr(dtb_paddr, dt_size)); in boston_mach_init()
/openbmc/u-boot/include/
H A Ddt_table.h41 u32 dt_size; member
/openbmc/linux/arch/parisc/kernel/
H A Dcache.c152 cache_info.dt_size, in show_cache_info()
587 threshold = max(cache_info.it_size, cache_info.dt_size); in parisc_setup_cache_timing()
/openbmc/linux/arch/parisc/include/uapi/asm/
H A Dpdc.h533 unsigned long dt_size; /* number of entries in D-TLB */ member