HomeSort by relevance Sort by last modified time
    Searched defs:Media (Results 1 - 25 of 92) sorted by null

1 2 3 4

  /device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/NorFlashDxe/
NorFlashBlockIoDxe.c 34 DEBUG ((DEBUG_BLKIO, "NorFlashBlockIoReset(MediaId=0x%x)\n", This->Media->MediaId));
54 EFI_BLOCK_IO_MEDIA *Media;
61 Media = This->Media;
65 if (!Media) {
67 } else if (!Media->MediaPresent) {
69 } else if (Media->MediaId != MediaId) {
71 } else if ((Media->IoAlign > 2) && (((UINTN)Buffer & (Media->IoAlign - 1)) != 0)) {
100 if( !This->Media->MediaPresent ) {
    [all...]
  /device/linaro/bootloader/edk2/OvmfPkg/Include/Protocol/
BlockMmio.h 41 EFI_BLOCK_IO_MEDIA *Media;
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
MediaStoreTest.java 16 assertThat(Images.Media.EXTERNAL_CONTENT_URI.toString(), equalTo("content://media/external/images/media"));
17 assertThat(Images.Media.INTERNAL_CONTENT_URI.toString(), equalTo("content://media/internal/images/media"));
18 assertThat(Video.Media.EXTERNAL_CONTENT_URI.toString(), equalTo("content://media/external/video/media"));
19 assertThat(Video.Media.INTERNAL_CONTENT_URI.toString(), equalTo("content://media/internal/video/media"))
    [all...]
  /device/linaro/bootloader/edk2/ArmPlatformPkg/FileSystem/BootMonFs/
BootMonFsReadWrite.c 52 EFI_BLOCK_IO_MEDIA *Media;
73 Media = Instance->Media;
74 FileStart = (Media->LowestAlignedLba + File->HwDescription.BlockStart) * Media->BlockSize;
97 Media->MediaId,
BootMonFsInternal.h 82 EFI_BLOCK_IO_MEDIA *Media;
  /device/linaro/bootloader/edk2/EmulatorPkg/EmuBlockIoDxe/
EmuBlockIo.h 61 EFI_BLOCK_IO_MEDIA Media;
  /device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/
IsaFloppyBlock.c 57 @retval EFI_NO_MEDIA There is no media in the device.
99 @param MediaId Id of the media, changes every time the media is replaced.
107 @retval EFI_NO_MEDIA There is no media in the device.
139 @param MediaId The media ID that the write request is for.
148 @retval EFI_NO_MEDIA There is no media in the device.
180 @param MediaId Id of the media, changes every time the media is replaced.
189 @retval EFI_NO_MEDIA There is no media in the device.
207 EFI_BLOCK_IO_MEDIA *Media;
    [all...]
  /device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
BlockIo2.h 80 @param[in] MediaId Id of the media, changes every time the media is
94 @retval EFI_NO_MEDIA There is no media in the device.
95 @retval EFI_MEDIA_CHANGED The MediaId is not for the current media.
123 @param[in] MediaId The media ID that the write request is for.
135 @retval EFI_NO_MEDIA There is no media in the device.
172 @retval EFI_NO_MEDIA There is no media in the device.
173 @retval EFI_MEDIA_CHANGED The MediaId is not for the current media.
195 EFI_BLOCK_IO_MEDIA *Media;
BlockIo.h 60 @param MediaId Id of the media, changes every time the media is replaced.
68 @retval EFI_NO_MEDIA There is no media in the device.
89 @param MediaId The media ID that the write request is for.
98 @retval EFI_NO_MEDIA There is no media in the device.
122 @retval EFI_NO_MEDIA There is no media in the device.
136 /// The curent media Id. If the media changes, this value is changed.
141 /// TRUE if the media is removable; otherwise, FALSE.
146 /// TRUE if there is a media currently present in the device;
    [all...]
  /device/linaro/bootloader/edk2/OvmfPkg/XenPvBlkDxe/
BlockIo.c 24 /// Block I/O Media structure
48 &gXenPvBlkDxeBlockIoMedia, // Media
65 @param MediaId Id of the media, changes every time the media is replaced.
86 EFI_BLOCK_IO_MEDIA *Media = This->Media;
97 if (BufferSize % Media->BlockSize != 0) {
103 if (Lba > Media->LastBlock ||
104 (BufferSize / Media->BlockSize) - 1 > Media->LastBlock - Lba) {
    [all...]
XenPvBlkDxe.c 264 EFI_BLOCK_IO_MEDIA *Media;
284 Media = AllocateCopyPool (sizeof (EFI_BLOCK_IO_MEDIA),
287 Media->RemovableMedia = TRUE;
289 Media->MediaPresent = TRUE;
290 Media->ReadOnly = !Dev->MediaInfo.ReadWrite;
297 Media->BlockSize = 2048;
298 Media->LastBlock = DivU64x32 (Dev->MediaInfo.Sectors,
299 Media->BlockSize / Dev->MediaInfo.SectorSize) - 1;
301 Media->BlockSize = Dev->MediaInfo.SectorSize;
302 Media->LastBlock = Dev->MediaInfo.Sectors - 1;
    [all...]
  /device/linaro/bootloader/OpenPlatformPkg/Drivers/Variable/BlockVariableDxe/
BlockVariableDxe.h 41 EFI_BLOCK_IO_MEDIA Media;
  /device/linaro/bootloader/edk2/MdeModulePkg/Universal/Disk/PartitionDxe/
ElTorito.c 32 @retval EFI_MEDIA_CHANGED Media changed Detected.
50 EFI_BLOCK_IO_MEDIA *Media;
65 Media = BlockIo->Media;
73 // If the ISO image has been copied onto a different storage media
76 if (((SIZE_2KB % Media->BlockSize) != 0) || (Media->BlockSize > SIZE_2KB)) {
90 // The ISO-9660 volume descriptor starts at 32k on the media
93 VolDescriptorOffset <= MultU64x32 (Media->LastBlock, Media->BlockSize);
    [all...]
Partition.h 4 of the raw block devices media. Currently "El Torito CD-ROM", Legacy
54 EFI_BLOCK_IO_MEDIA Media;
360 @retval EFI_MEDIA_CHANGED Media changed Detected.
389 @retval EFI_MEDIA_CHANGED Media changed Detected.
416 @retval EFI_MEDIA_CHANGED Media change was detected.
  /device/linaro/bootloader/edk2/OvmfPkg/BlockMmioToBlockIoDxe/
BlockIo.c 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)) {
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/NvmExpressDxe/
NvmExpressBlockIo.c 47 BlockSize = Device->Media.BlockSize;
110 BlockSize = Device->Media.BlockSize;
175 BlockSize = Device->Media.BlockSize;
234 BlockSize = Device->Media.BlockSize;
361 @param MediaId Id of the media, changes every time the media is replaced.
369 @retval EFI_NO_MEDIA There is no media in the device.
388 EFI_BLOCK_IO_MEDIA *Media;
401 Media = This->Media;
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBotPei/
UsbBotPeim.h 62 Gets a block device's media information.
64 This function will provide the caller with the specified block device's media
65 information. If the media changes, calling this function will update the media
78 @param[out] MediaInfo The media information of the specified block media.
82 @retval EFI_SUCCESS Media information about the specified block device
84 @retval EFI_DEVICE_ERROR Cannot get the media information due to a hardware
101 blocks are read, or an error is returned. If there is no media in the device,
126 @retval EFI_NO_MEDIA There is no media in the device.
    [all...]
  /device/linaro/bootloader/edk2/Nt32Pkg/WinNtBlockIoDxe/
WinNtBlockIo.h 81 EFI_BLOCK_IO_MEDIA Media;
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/BlockIo/
BlockIo.h 78 MediaId - Id of the media, changes every time the media is replaced.
86 EFI_NO_MEDIA - There is no media in the device.
112 MediaId - Id of the media, changes every time the media is replaced.
121 EFI_NO_MEDIA - There is no media in the device.
147 EFI_NO_MEDIA - There is no media in the device.
156 MediaId - The curent media Id. If the media changes, this value is changed.
157 RemovableMedia - TRUE if the media is removable; otherwise, FALSE.
    [all...]
  /device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/BlockIoDxe/
BiosInt13.c 58 BlockIo->Media = &Dev->BlockMedia;
59 BlockMedia = BlockIo->Media;
85 // BugBug: Need to set this for removable media devices if they do not
86 // have media present
271 // Sense Media Type
279 // Media not present or unknown media present
294 // Media Present
352 // Default Media
368 // Unknown media type.
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ufs/UfsBlockIoPei/
UfsBlockIoPei.c 44 { // Media
525 @param Media The pointer of EFI_PEI_BLOCK_IO_MEDIA
535 IN EFI_PEI_BLOCK_IO2_MEDIA *Media,
542 Media->MediaPresent = FALSE;
544 DEBUG ((EFI_D_VERBOSE, "UfsBlockIoPei: Is No Media\n"));
551 DEBUG ((EFI_D_VERBOSE, "UfsBlockIoPei: Is Media Change\n"));
566 DEBUG ((EFI_D_VERBOSE, "UfsBlockIoPei: Media Error\n"));
627 Gets a block device's media information.
629 This function will provide the caller with the specified block device's media
630 information. If the media changes, calling this function will update the media
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/
UsbMassBoot.c 25 @retval EFI_NO_RESPONSE The device media doesn't response this request.
28 @retval EFI_MEDIA_CHANGED The device media has been changed.
38 EFI_BLOCK_IO_MEDIA *Media;
76 // and update the media status if necessary.
78 Media = &UsbMass->BlockIoMedia;
96 Media->MediaPresent = FALSE;
114 Media->ReadOnly = FALSE;
115 Media->MediaId++;
121 Media->ReadOnly = TRUE;
224 @retval EFI_MEDIA_CHANGED The device media has been changed.
    [all...]
UsbMassImpl.c 84 @param MediaId The media ID that the read request is for.
93 @retval EFI_NO_MEDIA There is no media in the device.
94 @retval EFI_MEDIA_CHANGED The MediaId is not for the current media.
111 EFI_BLOCK_IO_MEDIA *Media;
122 Media = &UsbMass->BlockIoMedia;
125 // If it is a removable media, such as CD-Rom or Usb-Floppy,
126 // need to detect the media before each read/write. While some of
127 // Usb-Flash is marked as removable media.
129 if (Media->RemovableMedia) {
136 if (!(Media->MediaPresent)) {
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Universal/Disk/CdExpressPei/
PeiCdExpress.c 160 EFI_PEI_BLOCK_IO_MEDIA Media;
237 &Media
240 !Media.MediaPresent ||
241 ((Media.DeviceType != IdeCDROM) && (Media.DeviceType != UsbMassStorage)) ||
242 (Media.BlockSize != PEI_CD_BLOCK_SIZE)
246 DEBUG ((EFI_D_INFO, "PeiCdExpress DeviceType is %d\n", Media.DeviceType));
247 DEBUG ((EFI_D_INFO, "PeiCdExpress MediaPresent is %d\n", Media.MediaPresent));
248 DEBUG ((EFI_D_INFO, "PeiCdExpress BlockSize is 0x%x\n", Media.BlockSize));
605 Loads a DXE capsule from some media into memory.
    [all...]
  /device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/Pei/PlatformInit/Generic/
Recovery.c 370 Case 1: Report the error that no recovery block io device/media is readable and assert.
371 Case 2: Report the error that there is no media present on any recovery block io device and assert.
372 Case 3: There is media present on some recovery block io device,
415 Checks to see whether there was a media device error or to see if there is media present.
428 EFI_PEI_BLOCK_IO_MEDIA Media;
462 &Media
466 if (Media.MediaPresent) {

Completed in 1810 milliseconds

1 2 3 4