Searched refs:EraseBlockStart (Results 1 – 2 of 2) sorted by relevance
1040 SD_REQUEST *EraseBlockStart; in SdEraseBlockStart() local1043 EraseBlockStart = NULL; in SdEraseBlockStart()1046 EraseBlockStart = AllocateZeroPool (sizeof (SD_REQUEST)); in SdEraseBlockStart()1047 if (EraseBlockStart == NULL) { in SdEraseBlockStart()1052 EraseBlockStart->Signature = SD_REQUEST_SIGNATURE; in SdEraseBlockStart()1054 InsertTailList (&Device->Queue, &EraseBlockStart->Link); in SdEraseBlockStart()1056 EraseBlockStart->Packet.SdMmcCmdBlk = &EraseBlockStart->SdMmcCmdBlk; in SdEraseBlockStart()1057 EraseBlockStart->Packet.SdMmcStatusBlk = &EraseBlockStart->SdMmcStatusBlk; in SdEraseBlockStart()1058 EraseBlockStart->Packet.Timeout = SD_GENERIC_TIMEOUT; in SdEraseBlockStart()1060 EraseBlockStart->SdMmcCmdBlk.CommandIndex = SD_ERASE_WR_BLK_START; in SdEraseBlockStart()[all …]
1617 EMMC_REQUEST *EraseBlockStart; in EmmcEraseBlockStart() local1620 EraseBlockStart = NULL; in EmmcEraseBlockStart()1625 EraseBlockStart = AllocateZeroPool (sizeof (EMMC_REQUEST)); in EmmcEraseBlockStart()1626 if (EraseBlockStart == NULL) { in EmmcEraseBlockStart()1631 EraseBlockStart->Signature = EMMC_REQUEST_SIGNATURE; in EmmcEraseBlockStart()1633 InsertTailList (&Partition->Queue, &EraseBlockStart->Link); in EmmcEraseBlockStart()1635 EraseBlockStart->Packet.SdMmcCmdBlk = &EraseBlockStart->SdMmcCmdBlk; in EmmcEraseBlockStart()1636 EraseBlockStart->Packet.SdMmcStatusBlk = &EraseBlockStart->SdMmcStatusBlk; in EmmcEraseBlockStart()1637 EraseBlockStart->Packet.Timeout = EMMC_GENERIC_TIMEOUT; in EmmcEraseBlockStart()1639 EraseBlockStart->SdMmcCmdBlk.CommandIndex = EMMC_ERASE_GROUP_START; in EmmcEraseBlockStart()[all …]