Home
last modified time | relevance | path

Searched refs:SpareBuffer (Results 1 – 3 of 3) sorted by relevance

/device/linaro/bootloader/edk2/Omap35xxPkg/Flash/
DFlash.c287 OUT UINT8 *SpareBuffer in NandReadPage() argument
295 UINT16 *SpareAreaWordBuffer = (UINT16 *)SpareBuffer; in NandReadPage()
356 IN UINT8 *SpareBuffer in NandWritePage() argument
361 UINT16 *SpareAreaWordBuffer = (UINT16 *)SpareBuffer; in NandWritePage()
396 SetMem(SpareBuffer, gNandFlashInfo->SparePageSize, 0xFF); in NandWritePage()
397 CopyMem(&SpareBuffer[ECC_POSITION], gEccCode, gNum512BytesChunks * 3); in NandWritePage()
488 OUT VOID *SpareBuffer in NandReadBlock() argument
498 Status = NandReadPage(BlockIndex, PageIndex, Buffer, SpareBuffer); in NandReadBlock()
514 OUT VOID *SpareBuffer in NandWriteBlock() argument
524 Status = NandWritePage(BlockIndex, PageIndex, Buffer, SpareBuffer); in NandWriteBlock()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/FaultTolerantWriteDxe/
DUpdateWorkingBlock.c379 UINT8 *SpareBuffer; in FtwReclaimWorkSpace() local
485 SpareBuffer = AllocatePool (SpareBufferSize); in FtwReclaimWorkSpace()
486 if (SpareBuffer == NULL) { in FtwReclaimWorkSpace()
491 Ptr = SpareBuffer; in FtwReclaimWorkSpace()
503 FreePool (SpareBuffer); in FtwReclaimWorkSpace()
515 FreePool (SpareBuffer); in FtwReclaimWorkSpace()
534 FreePool (SpareBuffer); in FtwReclaimWorkSpace()
557 FreePool (SpareBuffer); in FtwReclaimWorkSpace()
574 FreePool (SpareBuffer); in FtwReclaimWorkSpace()
585 FreePool (SpareBuffer); in FtwReclaimWorkSpace()
[all …]
DFaultTolerantWrite.c333 UINT8 *SpareBuffer; in FtwWrite() local
500 SpareBuffer = AllocatePool (SpareBufferSize); in FtwWrite()
501 if (SpareBuffer == NULL) { in FtwWrite()
506 Ptr = SpareBuffer; in FtwWrite()
518 FreePool (SpareBuffer); in FtwWrite()
531 FreePool (SpareBuffer); in FtwWrite()
550 FreePool (SpareBuffer); in FtwWrite()
574 FreePool (SpareBuffer); in FtwWrite()
586 FreePool (SpareBuffer); in FtwWrite()
594 FreePool (SpareBuffer); in FtwWrite()
[all …]