Lines Matching refs:BlockIndex
54 UINTN BlockIndex,
60 return ((BlockIndex << gNandFlashInfo->BlockAddressStart) + (PageIndex << gNandFlashInfo->PageAddressStart));
284 IN UINTN BlockIndex,
299 Address = GetActualPageAddressInBytes(BlockIndex, PageIndex);
353 IN UINTN BlockIndex,
367 Address = GetActualPageAddressInBytes(BlockIndex, PageIndex);
432 IN UINTN BlockIndex
440 Address = GetActualPageAddressInBytes(BlockIndex, 0);
471 DEBUG ((EFI_D_ERROR, "Erase block timed out for Block: %d.\n", BlockIndex));
491 UINTN BlockIndex;
495 for (BlockIndex = StartBlockIndex; BlockIndex <= EndBlockIndex; BlockIndex++) {
498 Status = NandReadPage(BlockIndex, PageIndex, Buffer, SpareBuffer);
517 UINTN BlockIndex;
521 for (BlockIndex = StartBlockIndex; BlockIndex <= EndBlockIndex; BlockIndex++) {
524 Status = NandWritePage(BlockIndex, PageIndex, Buffer, SpareBuffer);
633 UINTN BlockIndex;
664 for (BlockIndex = (UINTN)Lba; BlockIndex <= EndBlockIndex; BlockIndex++) {
665 Status = NandEraseBlock(BlockIndex);