Home
last modified time | relevance | path

Searched refs:PageSize (Results 1 – 21 of 21) sorted by relevance

/device/linaro/bootloader/edk2/EmbeddedPkg/Library/AbootimgLib/
DAbootimgLib.c134 ASSERT (IS_POWER_OF_2 (Header->PageSize)); in GetImgSize()
137 *ImgSize = ALIGN_VALUE (Header->KernelSize, Header->PageSize) + in GetImgSize()
138 ALIGN_VALUE (Header->RamdiskSize, Header->PageSize) + in GetImgSize()
139 ALIGN_VALUE (Header->SecondStageBootloaderSize, Header->PageSize) + in GetImgSize()
140 Header->PageSize; in GetImgSize()
163 ASSERT (IS_POWER_OF_2 (Header->PageSize)); in AbootimgGetKernelInfo()
166 *Kernel = BootImg + Header->PageSize; in AbootimgGetKernelInfo()
189 ASSERT (IS_POWER_OF_2 (Header->PageSize)); in GetRamdiskInfo()
194 *Ramdisk = (VOID *) (BootImgBytePtr + Header->PageSize + in GetRamdiskInfo()
195 ALIGN_VALUE (Header->KernelSize, Header->PageSize)); in GetRamdiskInfo()
[all …]
/device/linaro/bootloader/edk2/FatPkg/EnhancedFatDxe/
DDiskCache.c49 UINTN PageSize; in FatFlushDataCacheRange() local
59 PageSize = (UINTN)1 << PageAlignment; in FatFlushDataCacheRange()
75 PageSize in FatFlushDataCacheRange()
309 UINTN PageSize; in FatAccessCache() local
327 PageSize = (UINTN)1 << PageAlignment; in FatAccessCache()
329 UnderRun = ((UINTN) EntryPos) & (PageSize - 1); in FatAccessCache()
332 Length = PageSize - UnderRun; in FatAccessCache()
/device/linaro/bootloader/edk2/Omap35xxPkg/Flash/
DFlash.c189 gNandFlashInfo->PageSize = PAGE_SIZE_2K; in NandDetectPart()
216 gNandFlashInfo->NumPagesPerBlock = DivU64x32(gNandFlashInfo->BlockSize, gNandFlashInfo->PageSize); in NandDetectPart()
292 UINTN NumMainAreaWords = (gNandFlashInfo->PageSize/2); in NandReadPage()
379 for (Index = 0; Index < (gNandFlashInfo->PageSize/2); Index++) { in NandWritePage()
502 Buffer = ((UINT8 *)Buffer + gNandFlashInfo->PageSize); in NandReadBlock()
528 Buffer = ((UINT8 *)Buffer + gNandFlashInfo->PageSize); in NandWriteBlock()
745 if (gNandFlashInfo->PageSize == PAGE_SIZE_512B) { in NandFlashInitialize()
747 } else if (gNandFlashInfo->PageSize == PAGE_SIZE_2K) { in NandFlashInitialize()
749 } else if (gNandFlashInfo->PageSize == PAGE_SIZE_4K) { in NandFlashInitialize()
DFlash.h98 UINT32 PageSize; member
/device/linaro/bootloader/edk2/OvmfPkg/Library/VirtioMmioDeviceLib/
DVirtioMmioDeviceFunctions.c149 UINT32 PageSize in VirtioMmioSetPageSize() argument
154 if (PageSize != EFI_PAGE_SIZE) { in VirtioMmioSetPageSize()
160 VIRTIO_CFG_WRITE (Device, VIRTIO_MMIO_OFFSET_GUEST_PAGE_SIZE, PageSize); in VirtioMmioSetPageSize()
DVirtioMmioDevice.h130 UINT32 PageSize
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/X64/
DPageTbl.c672 SMM_PAGE_SIZE_TYPE PageSize; in SmiDefaultPFHandler() local
681 PageSize = SmmPageSize2M; in SmiDefaultPFHandler()
689 Status = GetPlatformPageTableAttribute (PFAddress, &PageSize, &NumOfPages, &PageAttribute); in SmiDefaultPFHandler()
694 PageSize = SmmPageSize2M; in SmiDefaultPFHandler()
698 if (PageSize >= MaxSmmPageSizeType) { in SmiDefaultPFHandler()
699 PageSize = SmmPageSize2M; in SmiDefaultPFHandler()
705 switch (PageSize) { in SmiDefaultPFHandler()
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/
DSmmCpuPlatformHookLibNull.c102 IN OUT SMM_PAGE_SIZE_TYPE *PageSize, in GetPlatformPageTableAttribute() argument
/device/linaro/bootloader/edk2/UefiCpuPkg/Include/Library/
DSmmCpuPlatformHookLib.h104 OUT SMM_PAGE_SIZE_TYPE *PageSize,
/device/linaro/bootloader/edk2/OvmfPkg/VirtioPciDeviceDxe/
DVirtioPciFunctions.c225 UINT32 PageSize in VirtioPciSetPageSize() argument
228 return (PageSize == EFI_PAGE_SIZE) ? EFI_SUCCESS : EFI_UNSUPPORTED; in VirtioPciSetPageSize()
DVirtioPciDevice.h107 UINT32 PageSize
/device/linaro/bootloader/edk2/EmbeddedPkg/Include/Library/
DAbootimgLib.h46 UINT32 PageSize; member
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Spi/Devices/
DMvSpiFlash.c267 UINTN ByteAddr, ChunkLength, ActualIndex, PageSize; in MvSpiFlashWrite() local
272 PageSize = PcdGet32 (PcdSpiFlashPageSize); in MvSpiFlashWrite()
281 ByteAddr = Offset % PageSize; in MvSpiFlashWrite()
283 ChunkLength = MIN(Length - ActualIndex, (UINT64) (PageSize - ByteAddr)); in MvSpiFlashWrite()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciPei/
DXhcPeim.h164 UINT32 PageSize; member
DXhcPeim.c1423 UINT32 PageSize; in XhcPeimEntry() local
1492 PageSize = XhcPeiReadOpReg (XhcDev, XHC_PAGESIZE_OFFSET) & XHC_PAGESIZE_MASK; in XhcPeimEntry()
1493 XhcDev->PageSize = 1 << (HighBitSet32 (PageSize) + 12); in XhcPeimEntry()
1502 DEBUG ((EFI_D_INFO, "XhciPei: PageSize: %x\n", XhcDev->PageSize)); in XhcPeimEntry()
DXhciSched.c2832 Xhc->PageSize, in XhcPeiInitSched()
2847 EFI_SIZE_TO_PAGES (Xhc->PageSize), in XhcPeiInitSched()
2848 Xhc->PageSize, in XhcPeiInitSched()
2853 ZeroMem ((VOID *) (UINTN) ScratchEntry[Index], Xhc->PageSize); in XhcPeiInitSched()
2942 … UsbHcFreeAlignedPages ((VOID*) (UINTN) ScratchEntry[Index], EFI_SIZE_TO_PAGES (Xhc->PageSize)); in XhcPeiFreeSched()
/device/linaro/bootloader/edk2/OvmfPkg/Include/Protocol/
DVirtioDevice.h235 IN UINT32 PageSize
/device/linaro/bootloader/edk2/OvmfPkg/Virtio10Dxe/
DVirtio10.c637 IN UINT32 PageSize in Virtio10SetPageSize() argument
640 return (PageSize == EFI_PAGE_SIZE) ? EFI_SUCCESS : EFI_UNSUPPORTED; in Virtio10SetPageSize()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciDxe/
DXhci.h234 UINT32 PageSize; member
DXhci.c1799 UINT32 PageSize; in XhcCreateUsbHc() local
1834 PageSize = XhcReadOpReg(Xhc, XHC_PAGESIZE_OFFSET) & XHC_PAGESIZE_MASK; in XhcCreateUsbHc()
1835 Xhc->PageSize = 1 << (HighBitSet32(PageSize) + 12); in XhcCreateUsbHc()
DXhciSched.c532 Xhc->PageSize, in XhcInitSched()
549 EFI_SIZE_TO_PAGES (Xhc->PageSize), in XhcInitSched()
550 Xhc->PageSize, in XhcInitSched()
556 ZeroMem ((VOID *)(UINTN)ScratchEntry[Index], Xhc->PageSize); in XhcInitSched()
948 …(Xhc->PciIo, (VOID*)(UINTN)ScratchEntry[Index], EFI_SIZE_TO_PAGES (Xhc->PageSize), (VOID *) Xhc->S… in XhcFreeSched()