Home
last modified time | relevance | path

Searched refs:MediaInfo (Results 1 – 18 of 18) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/IdeBusPei/
DAtapiPeim.c169 OUT EFI_PEI_BLOCK_IO_MEDIA *MediaInfo in AtapiGetBlockDeviceMediaInfo() argument
179 if (This == NULL || MediaInfo == NULL) { in AtapiGetBlockDeviceMediaInfo()
200 …FO, "Atatpi GetInfo DeviceType is %d\n", AtapiBlkIoDev->DeviceInfo[Index].MediaInfo.DeviceType)); in AtapiGetBlockDeviceMediaInfo()
201 …, "Atatpi GetInfo MediaPresent is %d\n", AtapiBlkIoDev->DeviceInfo[Index].MediaInfo.MediaPresent)); in AtapiGetBlockDeviceMediaInfo()
202 …NFO, "Atatpi GetInfo BlockSize is 0x%x\n", AtapiBlkIoDev->DeviceInfo[Index].MediaInfo.BlockSize)); in AtapiGetBlockDeviceMediaInfo()
203 …NFO, "Atatpi GetInfo LastBlock is 0x%x\n", AtapiBlkIoDev->DeviceInfo[Index].MediaInfo.LastBlock)); in AtapiGetBlockDeviceMediaInfo()
208 &AtapiBlkIoDev->DeviceInfo[Index].MediaInfo, in AtapiGetBlockDeviceMediaInfo()
216 …FO, "Atatpi GetInfo DeviceType is %d\n", AtapiBlkIoDev->DeviceInfo[Index].MediaInfo.DeviceType)); in AtapiGetBlockDeviceMediaInfo()
217 …, "Atatpi GetInfo MediaPresent is %d\n", AtapiBlkIoDev->DeviceInfo[Index].MediaInfo.MediaPresent)); in AtapiGetBlockDeviceMediaInfo()
218 …NFO, "Atatpi GetInfo BlockSize is 0x%x\n", AtapiBlkIoDev->DeviceInfo[Index].MediaInfo.BlockSize)); in AtapiGetBlockDeviceMediaInfo()
[all …]
DAtapiPeim.h93 EFI_PEI_BLOCK_IO_MEDIA MediaInfo; member
201 OUT EFI_PEI_BLOCK_IO_MEDIA *MediaInfo
310 OUT EFI_PEI_BLOCK_IO2_MEDIA *MediaInfo
391 OUT EFI_PEI_BLOCK_IO_MEDIA *MediaInfo,
612 OUT EFI_PEI_BLOCK_IO_MEDIA *MediaInfo,
635 IN OUT EFI_PEI_BLOCK_IO_MEDIA *MediaInfo,
695 IN OUT EFI_PEI_BLOCK_IO_MEDIA *MediaInfo,
/device/linaro/bootloader/edk2/OvmfPkg/XenPvBlkDxe/
DBlockFront.c184 Dev->MediaInfo.CdRom = TRUE; in XenPvBlockFrontInitialization()
186 Dev->MediaInfo.CdRom = FALSE; in XenPvBlockFrontInitialization()
190 if (Dev->MediaInfo.CdRom) { in XenPvBlockFrontInitialization()
276 Dev->MediaInfo.VDiskInfo = (UINT32)Value; in XenPvBlockFrontInitialization()
277 if (Dev->MediaInfo.VDiskInfo & VDISK_READONLY) { in XenPvBlockFrontInitialization()
278 Dev->MediaInfo.ReadWrite = FALSE; in XenPvBlockFrontInitialization()
280 Dev->MediaInfo.ReadWrite = TRUE; in XenPvBlockFrontInitialization()
283 Status = XenBusReadUint64 (XenBusIo, "sectors", TRUE, &Dev->MediaInfo.Sectors); in XenPvBlockFrontInitialization()
300 Dev->MediaInfo.SectorSize = (UINT32)Value; in XenPvBlockFrontInitialization()
306 Dev->MediaInfo.FeatureBarrier = TRUE; in XenPvBlockFrontInitialization()
[all …]
DXenPvBlkDxe.c286 if (Dev->MediaInfo.VDiskInfo & VDISK_REMOVABLE) { in XenPvBlkDxeDriverBindingStart()
290 Media->ReadOnly = !Dev->MediaInfo.ReadWrite; in XenPvBlkDxeDriverBindingStart()
291 if (Dev->MediaInfo.CdRom) { in XenPvBlkDxeDriverBindingStart()
298 Media->LastBlock = DivU64x32 (Dev->MediaInfo.Sectors, in XenPvBlkDxeDriverBindingStart()
299 Media->BlockSize / Dev->MediaInfo.SectorSize) - 1; in XenPvBlkDxeDriverBindingStart()
301 Media->BlockSize = Dev->MediaInfo.SectorSize; in XenPvBlkDxeDriverBindingStart()
302 Media->LastBlock = Dev->MediaInfo.Sectors - 1; in XenPvBlkDxeDriverBindingStart()
DBlockFront.h59 XEN_BLOCK_FRONT_MEDIA_INFO MediaInfo; member
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyPei/
DFloppyPeim.c994 OUT EFI_PEI_BLOCK_IO_MEDIA *MediaInfo in DiscoverFdcDevice() argument
1014 MediaInfo->DeviceType = LegacyFloppy; in DiscoverFdcDevice()
1015 MediaInfo->MediaPresent = TRUE; in DiscoverFdcDevice()
1025 MediaInfo->MediaPresent = FALSE; in DiscoverFdcDevice()
1041 MediaInfo->BlockSize = BytePerSector[Para->Number]; in DiscoverFdcDevice()
1042 MediaInfo->LastBlock = Para->EndOfTrack * 2 * (Para->MaxTrackNum + 1) - 1; in DiscoverFdcDevice()
1062 EFI_PEI_BLOCK_IO_MEDIA MediaInfo; in FdcEnumeration() local
1094 if (DiscoverFdcDevice (FdcBlkIoDev, &(FdcBlkIoDev->DeviceInfo[DevPos]), &MediaInfo)) { in FdcEnumeration()
1103 &(FdcBlkIoDev->DeviceInfo[DevNo].MediaInfo), in FdcEnumeration()
1104 &MediaInfo, in FdcEnumeration()
[all …]
DFloppyPeim.h145 EFI_PEI_BLOCK_IO_MEDIA MediaInfo; member
210 OUT EFI_PEI_BLOCK_IO_MEDIA *MediaInfo
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/SdBlockIoPei/
DSdBlockIoPei.c171 OUT EFI_PEI_BLOCK_IO_MEDIA *MediaInfo in SdBlockIoPeimGetMediaInfo() argument
182 MediaInfo->DeviceType = SD; in SdBlockIoPeimGetMediaInfo()
183 MediaInfo->MediaPresent = TRUE; in SdBlockIoPeimGetMediaInfo()
184 MediaInfo->LastBlock = (UINTN)Private->Slot[DeviceIndex - 1].Media.LastBlock; in SdBlockIoPeimGetMediaInfo()
185 MediaInfo->BlockSize = Private->Slot[DeviceIndex - 1].Media.BlockSize; in SdBlockIoPeimGetMediaInfo()
383 OUT EFI_PEI_BLOCK_IO2_MEDIA *MediaInfo in SdBlockIoPeimGetMediaInfo2() argument
402 CopyMem (MediaInfo, &(Private->Slot[DeviceIndex - 1].Media), sizeof (EFI_PEI_BLOCK_IO2_MEDIA)); in SdBlockIoPeimGetMediaInfo2()
DSdBlockIoPei.h162 OUT EFI_PEI_BLOCK_IO_MEDIA *MediaInfo
284 OUT EFI_PEI_BLOCK_IO2_MEDIA *MediaInfo
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/
DEmmcBlockIoPei.c243 OUT EFI_PEI_BLOCK_IO_MEDIA *MediaInfo in EmmcBlockIoPeimGetMediaInfo() argument
274 MediaInfo->DeviceType = EMMC; in EmmcBlockIoPeimGetMediaInfo()
275 MediaInfo->MediaPresent = TRUE; in EmmcBlockIoPeimGetMediaInfo()
276 MediaInfo->LastBlock = (UINTN)Private->Slot[SlotNum].Media[MediaNum].LastBlock; in EmmcBlockIoPeimGetMediaInfo()
277 MediaInfo->BlockSize = Private->Slot[SlotNum].Media[MediaNum].BlockSize; in EmmcBlockIoPeimGetMediaInfo()
516 OUT EFI_PEI_BLOCK_IO2_MEDIA *MediaInfo in EmmcBlockIoPeimGetMediaInfo2() argument
555 CopyMem (MediaInfo, &(Private->Slot[SlotNum].Media[MediaNum]), sizeof (EFI_PEI_BLOCK_IO2_MEDIA)); in EmmcBlockIoPeimGetMediaInfo2()
DEmmcBlockIoPei.h166 OUT EFI_PEI_BLOCK_IO_MEDIA *MediaInfo
288 OUT EFI_PEI_BLOCK_IO2_MEDIA *MediaInfo
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBotPei/
DUsbBotPeim.h94 OUT EFI_PEI_BLOCK_IO_MEDIA *MediaInfo
202 OUT EFI_PEI_BLOCK_IO2_MEDIA *MediaInfo
DUsbBotPeim.c359 OUT EFI_PEI_BLOCK_IO_MEDIA *MediaInfo in BotGetMediaInfo() argument
385 MediaInfo, in BotGetMediaInfo()
640 OUT EFI_PEI_BLOCK_IO2_MEDIA *MediaInfo in BotGetMediaInfo2() argument
660 MediaInfo, in BotGetMediaInfo2()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ufs/UfsBlockIoPei/
DUfsBlockIoPei.c673 OUT EFI_PEI_BLOCK_IO_MEDIA *MediaInfo in UfsBlockIoPeimGetMediaInfo() argument
748 MediaInfo->DeviceType = UfsDevice; in UfsBlockIoPeimGetMediaInfo()
749 MediaInfo->MediaPresent = Private->Media[DeviceIndex].MediaPresent; in UfsBlockIoPeimGetMediaInfo()
750 MediaInfo->LastBlock = (UINTN)Private->Media[DeviceIndex].LastBlock; in UfsBlockIoPeimGetMediaInfo()
751 MediaInfo->BlockSize = Private->Media[DeviceIndex].BlockSize; in UfsBlockIoPeimGetMediaInfo()
979 OUT EFI_PEI_BLOCK_IO2_MEDIA *MediaInfo in UfsBlockIoPeimGetMediaInfo2() argument
998 CopyMem (MediaInfo, &(Private->Media[DeviceIndex]), sizeof (EFI_PEI_BLOCK_IO2_MEDIA)); in UfsBlockIoPeimGetMediaInfo2()
DUfsBlockIoPei.h345 OUT EFI_PEI_BLOCK_IO_MEDIA *MediaInfo
467 OUT EFI_PEI_BLOCK_IO2_MEDIA *MediaInfo
/device/linaro/bootloader/edk2/MdePkg/Include/Ppi/
DBlockIo2.h147 OUT EFI_PEI_BLOCK_IO2_MEDIA *MediaInfo
DBlockIo.h167 OUT EFI_PEI_BLOCK_IO_MEDIA *MediaInfo
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Ppi/BlockIo/
DBlockIo.h66 OUT PEI_BLOCK_IO_MEDIA * MediaInfo