Home | History | Annotate | Download | only in WinNtBlockIoDxe

Lines Matching refs:Media

24   <R>emovable   - Removable media like a floppy or CD-ROM.

42 media device.
531 BlockIo->Media = &Private->Media;
532 BlockIo->Media->BlockSize = (UINT32)Private->BlockSize;
533 BlockIo->Media->LastBlock = Private->NumberOfBlocks - 1;
534 BlockIo->Media->MediaId = 0;;
541 BlockIo->Media->ReadOnly = ReadOnly;
542 BlockIo->Media->RemovableMedia = RemovableMedia;
543 BlockIo->Media->LogicalPartition = FALSE;
544 BlockIo->Media->MediaPresent = TRUE;
545 BlockIo->Media->WriteCaching = FALSE;
548 BlockIo->Media->IoAlign = 1;
558 BlockIo->Media->IoAlign = 4;
641 BlockIo->Media->MediaPresent = FALSE;
646 if (!BlockIo->Media->MediaPresent) {
650 BlockIo->Media->MediaPresent = TRUE;
738 BlockIo->Media->ReadOnly = FALSE;
739 BlockIo->Media->MediaPresent = FALSE;
744 BlockIo->Media->ReadOnly = FALSE;
745 BlockIo->Media->MediaPresent = TRUE;
746 BlockIo->Media->MediaId += 1;
752 BlockIo->Media->ReadOnly = TRUE;
826 if (!Private->Media.MediaPresent) {
827 DEBUG ((EFI_D_INIT, "%s: No Media\n", CallerName));
831 if (Private->Media.MediaId != MediaId) {
835 if ((UINTN) Buffer % Private->Media.IoAlign != 0) {
888 MediaId - Id of the media, changes every time the media is replaced.
896 EFI_NO_MEDIA - There is no media in the device.
928 // If we wrote then media is present.
930 This->Media->MediaPresent = TRUE;
954 MediaId - Id of the media, changes every time the media is replaced.
963 EFI_NO_MEDIA - There is no media in the device.
1014 // If the write succeeded, we are not write protected and media is present.
1016 This->Media->MediaPresent = TRUE;
1017 This->Media->ReadOnly = FALSE;
1042 EFI_NO_MEDIA - There is no media in the device.