Home
last modified time | relevance | path

Searched refs:EraseBlock (Results 1 – 12 of 12) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/SdDxe/
DSdBlockIo.c1246 SD_REQUEST *EraseBlock; in SdEraseBlock() local
1249 EraseBlock = NULL; in SdEraseBlock()
1252 EraseBlock = AllocateZeroPool (sizeof (SD_REQUEST)); in SdEraseBlock()
1253 if (EraseBlock == NULL) { in SdEraseBlock()
1258 EraseBlock->Signature = SD_REQUEST_SIGNATURE; in SdEraseBlock()
1260 InsertTailList (&Device->Queue, &EraseBlock->Link); in SdEraseBlock()
1262 EraseBlock->Packet.SdMmcCmdBlk = &EraseBlock->SdMmcCmdBlk; in SdEraseBlock()
1263 EraseBlock->Packet.SdMmcStatusBlk = &EraseBlock->SdMmcStatusBlk; in SdEraseBlock()
1264 EraseBlock->Packet.Timeout = SD_GENERIC_TIMEOUT; in SdEraseBlock()
1266 EraseBlock->SdMmcCmdBlk.CommandIndex = SD_ERASE; in SdEraseBlock()
[all …]
DSdDxe.h58 CR(a, SD_DEVICE, EraseBlock, SD_DEVICE_SIGNATURE)
102 EFI_ERASE_BLOCK_PROTOCOL EraseBlock; member
DSdDxe.c256 Device->EraseBlock.EraseLengthGranularity = 1; in DiscoverUserArea()
258 … Device->EraseBlock.EraseLengthGranularity = (Csd->SectorSize + 1) * (1 << (Csd->WriteBlLen - 9)); in DiscoverUserArea()
384 &Device->EraseBlock, in DiscoverSdDevice()
842 &Device->EraseBlock, in SdDxeDriverBindingStop()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/EmmcDxe/
DEmmcBlockIo.c1829 EMMC_REQUEST *EraseBlock; in EmmcEraseBlock() local
1832 EraseBlock = NULL; in EmmcEraseBlock()
1837 EraseBlock = AllocateZeroPool (sizeof (EMMC_REQUEST)); in EmmcEraseBlock()
1838 if (EraseBlock == NULL) { in EmmcEraseBlock()
1843 EraseBlock->Signature = EMMC_REQUEST_SIGNATURE; in EmmcEraseBlock()
1845 InsertTailList (&Partition->Queue, &EraseBlock->Link); in EmmcEraseBlock()
1847 EraseBlock->Packet.SdMmcCmdBlk = &EraseBlock->SdMmcCmdBlk; in EmmcEraseBlock()
1848 EraseBlock->Packet.SdMmcStatusBlk = &EraseBlock->SdMmcStatusBlk; in EmmcEraseBlock()
1849 EraseBlock->Packet.Timeout = EMMC_GENERIC_TIMEOUT; in EmmcEraseBlock()
1851 EraseBlock->SdMmcCmdBlk.CommandIndex = EMMC_ERASE; in EmmcEraseBlock()
[all …]
DEmmcDxe.h62 CR(a, EMMC_PARTITION, EraseBlock, EMMC_PARTITION_SIGNATURE)
104 EFI_ERASE_BLOCK_PROTOCOL EraseBlock; member
DEmmcDxe.c380 Partition->EraseBlock.EraseLengthGranularity = 1; in DiscoverAllPartitions()
382 …Partition->EraseBlock.EraseLengthGranularity = (Csd->EraseGrpMult + 1) * (Csd->EraseGrpSize + 1) *… in DiscoverAllPartitions()
385 Partition->EraseBlock.EraseLengthGranularity = 1024 * ExtCsd->HcEraseGrpSize; in DiscoverAllPartitions()
456 &Partition->EraseBlock, in InstallProtocolOnPartition()
483 &Partition->EraseBlock, in InstallProtocolOnPartition()
1106 &Partition->EraseBlock, in EmmcDxeDriverBindingStop()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/
DScsiDisk.c247 ScsiDiskDevice->EraseBlock.Revision = EFI_ERASE_BLOCK_PROTOCOL_REVISION; in ScsiDiskDriverBindingStart()
248 ScsiDiskDevice->EraseBlock.EraseLengthGranularity = 1; in ScsiDiskDriverBindingStart()
249 ScsiDiskDevice->EraseBlock.EraseBlocks = ScsiDiskEraseBlocks; in ScsiDiskDriverBindingStart()
336 &ScsiDiskDevice->EraseBlock in ScsiDiskDriverBindingStart()
404 EFI_ERASE_BLOCK_PROTOCOL *EraseBlock; in ScsiDiskDriverBindingStop() local
433 (VOID **) &EraseBlock, in ScsiDiskDriverBindingStop()
443 &ScsiDiskDevice->EraseBlock in ScsiDiskDriverBindingStop()
597 &ScsiDiskDevice->EraseBlock, in ScsiDiskReadBlocks()
598 &ScsiDiskDevice->EraseBlock in ScsiDiskReadBlocks()
729 &ScsiDiskDevice->EraseBlock, in ScsiDiskWriteBlocks()
[all …]
DScsiDisk.h63 EFI_ERASE_BLOCK_PROTOCOL EraseBlock; member
103 #define SCSI_DISK_DEV_FROM_ERASEBLK(a) CR (a, SCSI_DISK_DEV, EraseBlock, SCSI_DISK_DEV_SIGNATURE)
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Protocol/ExtendedSalGuid/
DExtendedSalGuid.h171 EraseBlock, enumerator
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/Ipf/
DFvb.c147 return EfiCallEsalService (&Guid, EraseBlock, Instance, Lba, 0, 0, 0, 0, 0).Status; in EfiFvbEraseBlock()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/FvbRuntimeDxe/
DFvbSmmDxe.c646 EraseBlock ( in EraseBlock()
755 Status = EraseBlock (This, StartingLba, NumOfLba); in FvbEraseBlocks()
/device/linaro/bootloader/edk2/MdePkg/
DMdePkg.dec1654 ## Include/Protocol/EraseBlock.h