Home
last modified time | relevance | path

Searched refs:RwMultiBlkReq (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/SdDxe/
DSdBlockIo.c490 SD_REQUEST *RwMultiBlkReq; in SdRwMultiBlocks() local
494 RwMultiBlkReq = NULL; in SdRwMultiBlocks()
498 RwMultiBlkReq = AllocateZeroPool (sizeof (SD_REQUEST)); in SdRwMultiBlocks()
499 if (RwMultiBlkReq == NULL) { in SdRwMultiBlocks()
504 RwMultiBlkReq->Signature = SD_REQUEST_SIGNATURE; in SdRwMultiBlocks()
506 InsertTailList (&Device->Queue, &RwMultiBlkReq->Link); in SdRwMultiBlocks()
508 RwMultiBlkReq->Packet.SdMmcCmdBlk = &RwMultiBlkReq->SdMmcCmdBlk; in SdRwMultiBlocks()
509 RwMultiBlkReq->Packet.SdMmcStatusBlk = &RwMultiBlkReq->SdMmcStatusBlk; in SdRwMultiBlocks()
517 RwMultiBlkReq->Packet.Timeout = (BufferSize / (2 * 1024 * 1024) + 1) * 1000 * 1000; in SdRwMultiBlocks()
520 RwMultiBlkReq->Packet.InDataBuffer = Buffer; in SdRwMultiBlocks()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/EmmcDxe/
DEmmcBlockIo.c675 EMMC_REQUEST *RwMultiBlkReq; in EmmcRwMultiBlocks() local
679 RwMultiBlkReq = NULL; in EmmcRwMultiBlocks()
684 RwMultiBlkReq = AllocateZeroPool (sizeof (EMMC_REQUEST)); in EmmcRwMultiBlocks()
685 if (RwMultiBlkReq == NULL) { in EmmcRwMultiBlocks()
690 RwMultiBlkReq->Signature = EMMC_REQUEST_SIGNATURE; in EmmcRwMultiBlocks()
692 InsertTailList (&Partition->Queue, &RwMultiBlkReq->Link); in EmmcRwMultiBlocks()
694 RwMultiBlkReq->Packet.SdMmcCmdBlk = &RwMultiBlkReq->SdMmcCmdBlk; in EmmcRwMultiBlocks()
695 RwMultiBlkReq->Packet.SdMmcStatusBlk = &RwMultiBlkReq->SdMmcStatusBlk; in EmmcRwMultiBlocks()
703 RwMultiBlkReq->Packet.Timeout = (BufferSize / (2 * 1024 * 1024) + 1) * 1000 * 1000; in EmmcRwMultiBlocks()
706 RwMultiBlkReq->Packet.InDataBuffer = Buffer; in EmmcRwMultiBlocks()
[all …]