Home | History | Annotate | Download | only in BlockMmioToBlockIoDxe

Lines Matching refs:Media

61   @param  MediaId                The media ID that the read request is for.

70 @retval EFI_NO_MEDIA There is no media in the device.
71 @retval EFI_MEDIA_CHANGED The MediaId is not for the current media.
91 EFI_BLOCK_IO_MEDIA *Media;
107 Media = Private->BlockMmio->Media;
112 if (ModU64x32 (BufferSize, Media->BlockSize) != 0) {
116 TotalBlock = (UINTN) DivU64x32 (BufferSize, Media->BlockSize);
121 if (Lba + TotalBlock - 1 > Media->LastBlock) {
125 if (!(Media->MediaPresent)) {
129 if (MediaId != Media->MediaId) {
134 Address += MultU64x32 (Lba, Media->BlockSize);
164 @param MediaId The media ID that the read request is for.
173 @retval EFI_NO_MEDIA There is no media in the device.
174 @retval EFI_MEDIA_CHANGED The MediaId is not for the current media.
211 @param MediaId The media ID that the write request is for.
219 @retval EFI_NO_MEDIA There is no media in the device.
220 @retval EFI_MEDIA_CHANGED The MediaId is not for the current media.
257 @retval EFI_NO_MEDIA There is no media in the device.
315 DEBUG ((EFI_D_INFO, "BlockMmio->Media->LastBlock: 0x%lx\n", BlockMmio->Media->LastBlock));
320 Private->BlockIo.Media = BlockMmio->Media;
326 DEBUG ((EFI_D_INFO, "Private->BlockIo.Media->LastBlock: 0x%lx\n", Private->BlockIo.Media->LastBlock));