/device/linaro/bootloader/edk2/EmbeddedPkg/Library/AbootimgLib/ |
D | AbootimgLib.c | 134 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/ |
D | DiskCache.c | 49 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/ |
D | Flash.c | 189 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()
|
D | Flash.h | 98 UINT32 PageSize; member
|
/device/linaro/bootloader/edk2/OvmfPkg/Library/VirtioMmioDeviceLib/ |
D | VirtioMmioDeviceFunctions.c | 149 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()
|
D | VirtioMmioDevice.h | 130 UINT32 PageSize
|
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/X64/ |
D | PageTbl.c | 672 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/ |
D | SmmCpuPlatformHookLibNull.c | 102 IN OUT SMM_PAGE_SIZE_TYPE *PageSize, in GetPlatformPageTableAttribute() argument
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Include/Library/ |
D | SmmCpuPlatformHookLib.h | 104 OUT SMM_PAGE_SIZE_TYPE *PageSize,
|
/device/linaro/bootloader/edk2/OvmfPkg/VirtioPciDeviceDxe/ |
D | VirtioPciFunctions.c | 225 UINT32 PageSize in VirtioPciSetPageSize() argument 228 return (PageSize == EFI_PAGE_SIZE) ? EFI_SUCCESS : EFI_UNSUPPORTED; in VirtioPciSetPageSize()
|
D | VirtioPciDevice.h | 107 UINT32 PageSize
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Include/Library/ |
D | AbootimgLib.h | 46 UINT32 PageSize; member
|
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Spi/Devices/ |
D | MvSpiFlash.c | 267 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/ |
D | XhcPeim.h | 164 UINT32 PageSize; member
|
D | XhcPeim.c | 1423 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()
|
D | XhciSched.c | 2832 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/ |
D | VirtioDevice.h | 235 IN UINT32 PageSize
|
/device/linaro/bootloader/edk2/OvmfPkg/Virtio10Dxe/ |
D | Virtio10.c | 637 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/ |
D | Xhci.h | 234 UINT32 PageSize; member
|
D | Xhci.c | 1799 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()
|
D | XhciSched.c | 532 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()
|