Searched refs:BlockIoMedia (Results 1 – 8 of 8) sorted by relevance
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/ |
D | CEATABlockIo.c | 103 Address = MultU64x32(LBA, CardData->BlockIoMedia.BlockSize); in CEATABlockReadBlocks() 112 if (MediaId != CardData->BlockIoMedia.MediaId) { in CEATABlockReadBlocks() 118 if ((BufferSize % CardData->BlockIoMedia.BlockSize) != 0) { in CEATABlockReadBlocks() 129 …if ((Address + BufferSize) > MultU64x32 (CardData->BlockIoMedia.LastBlock + 1, CardData->BlockIoMe… in CEATABlockReadBlocks() 213 Address = MultU64x32(LBA, CardData->BlockIoMedia.BlockSize); in CEATABlockWriteBlocks() 222 if (MediaId != CardData->BlockIoMedia.MediaId) { in CEATABlockWriteBlocks() 227 if ((BufferSize % CardData->BlockIoMedia.BlockSize) != 0) { in CEATABlockWriteBlocks() 237 if (CardData->BlockIoMedia.ReadOnly) { in CEATABlockWriteBlocks() 242 …if ((Address + BufferSize) > MultU64x32 (CardData->BlockIoMedia.LastBlock + 1, CardData->BlockIoMe… in CEATABlockWriteBlocks() 342 CardData->BlockIo.Media = &(CardData->BlockIoMedia); in CEATABlockIoInit() [all …]
|
D | MMCSDBlockIo.c | 89 if (MediaId != CardData->BlockIoMedia.MediaId) { in MMCSDBlockReadBlocks() 93 if (ModU64x32 (BufferSize,CardData->BlockIoMedia.BlockSize) != 0) { in MMCSDBlockReadBlocks() 105 Address = (UINT32)DivU64x32 (MultU64x32 (LBA, CardData->BlockIoMedia.BlockSize), 512); in MMCSDBlockReadBlocks() 110 Address = (UINT32)MultU64x32 (LBA, CardData->BlockIoMedia.BlockSize); in MMCSDBlockReadBlocks() 112 TotalBlock = (UINTN) DivU64x32 (BufferSize, CardData->BlockIoMedia.BlockSize); in MMCSDBlockReadBlocks() 113 if (LBA + TotalBlock > CardData->BlockIoMedia.LastBlock + 1) { in MMCSDBlockReadBlocks() 124 if ((BufferSize % CardData->BlockIoMedia.BlockSize) != 0) { in MMCSDBlockReadBlocks() 142 if ((BufferSize > CardData->BlockIoMedia.BlockSize)) { in MMCSDBlockReadBlocks() 154 CardData->BlockIoMedia.BlockSize, in MMCSDBlockReadBlocks() 169 TransferLength / CardData->BlockIoMedia.BlockSize, in MMCSDBlockReadBlocks() [all …]
|
D | SDMediaDevice.h | 75 EFI_BLOCK_IO_MEDIA BlockIoMedia; member
|
/device/linaro/bootloader/edk2/OvmfPkg/VirtioBlkDxe/ |
D | VirtioBlk.c | 254 BlockSize = Dev->BlockIoMedia.BlockSize; in SynchronousRequest() 373 &Dev->BlockIoMedia, in VirtioBlkReadBlocks() 428 &Dev->BlockIoMedia, in VirtioBlkWriteBlocks() 473 return Dev->BlockIoMedia.WriteCaching ? in VirtioBlkFlushBlocks() 764 Dev->BlockIo.Media = &Dev->BlockIoMedia; in VirtioBlkInit() 769 Dev->BlockIoMedia.MediaId = 0; in VirtioBlkInit() 770 Dev->BlockIoMedia.RemovableMedia = FALSE; in VirtioBlkInit() 771 Dev->BlockIoMedia.MediaPresent = TRUE; in VirtioBlkInit() 772 Dev->BlockIoMedia.LogicalPartition = FALSE; in VirtioBlkInit() 773 Dev->BlockIoMedia.ReadOnly = (BOOLEAN) ((Features & VIRTIO_BLK_F_RO) != 0); in VirtioBlkInit() [all …]
|
D | VirtioBlk.h | 43 EFI_BLOCK_IO_MEDIA BlockIoMedia; // VirtioBlkInit 1 member
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/ |
D | UsbMassBoot.c | 78 Media = &UsbMass->BlockIoMedia; in UsbBootRequestSense() 353 Media = &(UsbMass->BlockIoMedia); in UsbBootInquiry() 415 Media = &UsbMass->BlockIoMedia; in UsbBootReadCapacity16() 497 Media = &UsbMass->BlockIoMedia; in UsbBootReadCapacity() 564 Media = &UsbMass->BlockIoMedia; in UsbScsiModeSense() 623 Media = &(UsbMass->BlockIoMedia); in UsbBootGetParams() 684 Media = &UsbMass->BlockIoMedia; in UsbBootDetectMedia() 686 CopyMem (&OldMedia, &(UsbMass->BlockIoMedia), sizeof (EFI_BLOCK_IO_MEDIA)); in UsbBootDetectMedia() 795 BlockSize = UsbMass->BlockIoMedia.BlockSize; in UsbBootReadBlocks() 871 BlockSize = UsbMass->BlockIoMedia.BlockSize; in UsbBootWriteBlocks() [all …]
|
D | UsbMassImpl.c | 122 Media = &UsbMass->BlockIoMedia; in UsbMassReadBlocks() 238 Media = &UsbMass->BlockIoMedia; in UsbMassWriteBlocks() 350 Media = &UsbMass->BlockIoMedia; in UsbMassInitMedia() 500 UsbMass->BlockIo.Media = &UsbMass->BlockIoMedia; in UsbMassInitMultiLun() 641 UsbMass->BlockIo.Media = &UsbMass->BlockIoMedia; in UsbMassInitNonLun()
|
D | UsbMass.h | 182 EFI_BLOCK_IO_MEDIA BlockIoMedia; member
|