Home
last modified time | relevance | path

Searched refs:fdt_totalsize (Results 1 – 18 of 18) sorted by relevance

/device/linaro/bootloader/arm-trusted-firmware/lib/libfdt/
Dfdt_sw.c78 spaceleft = fdt_totalsize(fdt) - fdt_off_dt_struct(fdt) in _fdt_grab_space()
123 oldtail = (char *)fdt + fdt_totalsize(fdt) - tailsize; in fdt_resize()
153 if ((offset + sizeof(*re)) > fdt_totalsize(fdt)) in fdt_add_reservemap_entry()
202 char *strtab = (char *)fdt + fdt_totalsize(fdt); in _fdt_find_add_string()
215 if (fdt_totalsize(fdt) + offset < struct_top) in _fdt_find_add_string()
262 oldstroffset = fdt_totalsize(fdt) - fdt_size_dt_strings(fdt); in fdt_finish()
Dfdt.c83 || (absoffset + len) > fdt_totalsize(fdt)) in fdt_offset_ptr()
246 if (fdt_totalsize(fdt) > bufsize) in fdt_move()
249 memmove(buf, fdt, fdt_totalsize(fdt)); in fdt_move()
Dfdt_rw.c66 || (fdt_totalsize(fdt) < in _fdt_blocks_misordered()
106 if ((end - oldlen + newlen) > ((char *)fdt + fdt_totalsize(fdt))) in _fdt_splice()
420 const char *fdtend = fdtstart + fdt_totalsize(fdt); in fdt_open_into()
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/FdtLib/
Dfdt_sw.c78 spaceleft = fdt_totalsize(fdt) - fdt_off_dt_struct(fdt) in _fdt_grab_space()
121 if ((offset + sizeof(*re)) > fdt_totalsize(fdt)) in fdt_add_reservemap_entry()
170 char *strtab = (char *)fdt + fdt_totalsize(fdt); in _fdt_find_add_string()
183 if (fdt_totalsize(fdt) + offset < struct_top) in _fdt_find_add_string()
230 oldstroffset = fdt_totalsize(fdt) - fdt_size_dt_strings(fdt); in fdt_finish()
Dfdt.c245 if (fdt_totalsize(fdt) > bufsize) in fdt_move()
248 memmove(buf, fdt, fdt_totalsize(fdt)); in fdt_move()
Dfdt_rw.c66 || (fdt_totalsize(fdt) < in _fdt_blocks_misordered()
104 if ((end - oldlen + newlen) > ((char *)fdt + fdt_totalsize(fdt))) in _fdt_splice()
425 const char *fdtend = fdtstart + fdt_totalsize(fdt); in fdt_open_into()
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Drivers/UpdateFdtDxe/
DUpdateFdtDxe.c47 if(!((UINTN)fdt_totalsize (FdtBlob) <= FdtSize)) in InstallFdtIntoConfigurationTable()
112 Size = (UINTN)fdt_totalsize ((VOID*)(PcdGet64(FdtFileAddress))); in UpdateFdt()
/device/linaro/bootloader/edk2/ArmVirtPkg/Library/ArmQemuRelocatablePlatformLib/
DFdtParser.c89 CopyMem (FdtDest, FdtSource, fdt_totalsize (FdtSource)); in CopyFdt()
/device/linaro/bootloader/edk2/ArmVirtPkg/Library/ArmXenRelocatablePlatformLib/
DFdtParser.c88 CopyMem (FdtDest, FdtSource, fdt_totalsize (FdtSource)); in CopyFdt()
/device/linaro/bootloader/edk2/ArmVirtPkg/Library/PlatformPeiLib/
DPlatformPeiLib.c51 FdtSize = fdt_totalsize (Base) + PcdGet32 (PcdDeviceTreeAllocationPadding); in PlatformPeim()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/AMD/Styx/Drivers/FdtDxe/
DBdsLinuxFdt.c418 OriginalFdtSize = (UINTN)fdt_totalsize ((VOID*)(UINTN)(*FdtBlobBase)); in AmdStyxPrepareFdt()
748 *FdtBlobSize = (UINTN)fdt_totalsize ((VOID*)(UINTN)(NewFdtBlobBase)); in AmdStyxPrepareFdt()
755 *FdtBlobSize = (UINTN)fdt_totalsize ((VOID*)(UINTN)(*FdtBlobBase)); in AmdStyxPrepareFdt()
/device/linaro/bootloader/edk2/EmbeddedPkg/Drivers/FdtPlatformDxe/
DFdtPlatform.c102 (UINTN)fdt_totalsize ((VOID*)(UINTN)FdtBlobBase) > FdtBlobSize) { in InstallFdt()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/HiKeyDxe/
DHiKeyDxe.c224 FdtSize = fdt_totalsize ((VOID *)(UINTN)OrigFdtBase); in AbootimgUpdateDtb()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/D02/FdtUpdateLibD02/
DFdtUpdateLib.c302 Size = (UINTN)fdt_totalsize ((VOID*)(UINTN)(FdtFileAddr)); in EFIFdtUpdate()
/device/linaro/bootloader/edk2/EmbeddedPkg/Include/
Dlibfdt.h168 #define fdt_totalsize(fdt) (fdt_get_header(fdt, totalsize)) macro
/device/linaro/bootloader/arm-trusted-firmware/include/lib/libfdt/
Dlibfdt.h211 #define fdt_totalsize(fdt) (fdt_get_header(fdt, totalsize)) macro
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/D03/Library/FdtUpdateLib/
DFdtUpdateLib.c434 Size = (UINTN)fdt_totalsize ((VOID*)(UINTN)(FdtFileAddr)); in EFIFdtUpdate()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey960/HiKey960Dxe/
DHiKey960Dxe.c473 FdtSize = fdt_totalsize ((VOID *)(UINTN)OrigFdtBase); in AbootimgUpdateDtb()