Home
last modified time | relevance | path

Searched refs:MediaPresent (Results 1 – 25 of 107) sorted by relevance

12345

/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBotPei/
DUsbBotPeim.c457 if (!PeiBotDev->Media.MediaPresent) { in BotReadBlocks()
513 if (!(PeiBotDev->Media.MediaPresent)) { in BotReadBlocks()
793 PeiBotDev->Media.MediaPresent = FALSE; in PeiBotDetectMedia()
795 PeiBotDev->Media2.MediaPresent = FALSE; in PeiBotDetectMedia()
802 PeiBotDev->Media.MediaPresent = TRUE; in PeiBotDetectMedia()
803 PeiBotDev->Media2.MediaPresent = TRUE; in PeiBotDetectMedia()
812 PeiBotDev->Media.MediaPresent = FALSE; in PeiBotDetectMedia()
814 PeiBotDev->Media2.MediaPresent = FALSE; in PeiBotDetectMedia()
841 !PeiBotDev->Media.MediaPresent) { in PeiBotDetectMedia()
891 PeiBotDev->Media.MediaPresent = FALSE; in PeiBotDetectMedia()
[all …]
DPeiAtapi.c284 PeiBotDevice->Media.MediaPresent = TRUE; in PeiUsbReadCapacity()
287 PeiBotDevice->Media2.MediaPresent = TRUE; in PeiUsbReadCapacity()
343 PeiBotDevice->Media.MediaPresent = FALSE; in PeiUsbReadFormattedCapacity()
345 PeiBotDevice->Media2.MediaPresent = FALSE; in PeiUsbReadFormattedCapacity()
358 PeiBotDevice->Media.MediaPresent = TRUE; in PeiUsbReadFormattedCapacity()
360 PeiBotDevice->Media2.MediaPresent = TRUE; in PeiUsbReadFormattedCapacity()
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/Pei/PlatformInit/Generic/
DRecovery.c65 IN OUT BOOLEAN *MediaPresent
375 BOOLEAN MediaPresent; in AssertNoCapsulesError() local
378 MediaPresent = FALSE; in AssertNoCapsulesError()
380 CheckIfMediaPresentOnBlockIoDevice (PeiServices, &MediaDeviceError, &MediaPresent); in AssertNoCapsulesError()
415 IN OUT BOOLEAN *MediaPresent in CheckIfMediaPresentOnBlockIoDevice() argument
425 *MediaPresent = FALSE; in CheckIfMediaPresentOnBlockIoDevice()
460 if (Media.MediaPresent) { in CheckIfMediaPresentOnBlockIoDevice()
461 *MediaPresent = TRUE; in CheckIfMediaPresentOnBlockIoDevice()
/device/linaro/bootloader/OpenPlatformPkg/Drivers/SdMmc/DwMmcHcDxe/
DDwMmcHcDxe.c168 if (!Private->Slot[Trb->Slot].MediaPresent) { in ProcessAsyncTaskList()
237 BOOLEAN MediaPresent; in DwMmcHcEnumerateDevice() local
251 Status = DwMmcHcCardDetect (Private->PciIo, Private->ControllerHandle, Slot, &MediaPresent); in DwMmcHcEnumerateDevice()
252 if ((Status == EFI_MEDIA_CHANGED) && !MediaPresent) { in DwMmcHcEnumerateDevice()
254 Private->Slot[Slot].MediaPresent = FALSE; in DwMmcHcEnumerateDevice()
282 if ((Status == EFI_MEDIA_CHANGED) && MediaPresent) { in DwMmcHcEnumerateDevice()
299 Private->Slot[Slot].MediaPresent = TRUE; in DwMmcHcEnumerateDevice()
589 BOOLEAN MediaPresent; in DwMmcHcDriverBindingStart() local
681 MediaPresent = FALSE; in DwMmcHcDriverBindingStart()
682 Status = DwMmcHcCardDetect (Private->PciIo, Controller, Slot, &MediaPresent); in DwMmcHcDriverBindingStart()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/
DSdMmcPciHcDxe.c165 if (!Private->Slot[Trb->Slot].MediaPresent) { in ProcessAsyncTaskList()
234 BOOLEAN MediaPresent; in SdMmcPciHcEnumerateDevice() local
247 Status = SdMmcHcCardDetect (Private->PciIo, Slot, &MediaPresent); in SdMmcPciHcEnumerateDevice()
248 if ((Status == EFI_MEDIA_CHANGED) && !MediaPresent) { in SdMmcPciHcEnumerateDevice()
250 Private->Slot[Slot].MediaPresent = FALSE; in SdMmcPciHcEnumerateDevice()
279 if ((Status == EFI_MEDIA_CHANGED) && MediaPresent) { in SdMmcPciHcEnumerateDevice()
296 Private->Slot[Slot].MediaPresent = TRUE; in SdMmcPciHcEnumerateDevice()
529 BOOLEAN MediaPresent; in SdMmcPciHcDriverBindingStart() local
637 Status = SdMmcHcCardDetect (PciIo, Slot, &MediaPresent); in SdMmcPciHcDriverBindingStart()
640 } else if (!MediaPresent) { in SdMmcPciHcDriverBindingStart()
[all …]
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/
DBlockIo.c105 Private->Media->MediaPresent = FALSE; in EmuBlockIoOpenDevice()
110 if (!Private->Media->MediaPresent) { in EmuBlockIoOpenDevice()
114 Private->Media->MediaPresent = TRUE; in EmuBlockIoOpenDevice()
204 Media->MediaPresent = TRUE; in EmuBlockIoCreateMapping()
240 Private->Media->MediaPresent = FALSE; in EmuBlockIoError()
246 Private->Media->MediaPresent = TRUE; in EmuBlockIoError()
290 if (!Private->Media->MediaPresent) { in EmuBlockIoReadWriteCommon()
401 Private->Media->MediaPresent = TRUE; in EmuBlockIoReadBlocks()
479 Private->Media->MediaPresent = TRUE; in EmuBlockIoWriteBlocks()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/IdeBusPei/
DAtapiPeim.c201 …, "Atatpi GetInfo MediaPresent is %d\n", AtapiBlkIoDev->DeviceInfo[Index].MediaInfo.MediaPresent)); in AtapiGetBlockDeviceMediaInfo()
217 …, "Atatpi GetInfo MediaPresent is %d\n", AtapiBlkIoDev->DeviceInfo[Index].MediaInfo.MediaPresent)); in AtapiGetBlockDeviceMediaInfo()
307 if (!MediaInfo.MediaPresent) { in AtapiReadBlocks()
612 DEBUG ((EFI_D_INFO, "Atatpi MediaPresent is %d\n", MediaInfo.MediaPresent)); in AtapiEnumerateDevices()
616 AtapiBlkIoDev->DeviceInfo[DeviceCount].MediaInfo.MediaPresent = FALSE; in AtapiEnumerateDevices()
618 AtapiBlkIoDev->DeviceInfo[DeviceCount].MediaInfo2.MediaPresent = FALSE; in AtapiEnumerateDevices()
1671 MediaInfo->MediaPresent = FALSE; in Inquiry()
1676 MediaInfo2->MediaPresent = FALSE; in Inquiry()
1687 MediaInfo->MediaPresent = FALSE; in Inquiry()
1692 MediaInfo2->MediaPresent = FALSE; in Inquiry()
[all …]
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/
DAtapi.c690 IdeDev->BlkIo.Media->MediaPresent = FALSE; in ATAPIIdentify()
706 IdeDev->BlkIo.Media->MediaPresent = FALSE; in ATAPIIdentify()
1061 IdeDev->BlkIo.Media->MediaPresent = TRUE; in AtapiReadCapacity()
1075 IdeDev->BlkIo.Media->MediaPresent = FALSE; in AtapiReadCapacity()
1090 IdeDev->BlkIo.Media->MediaPresent = TRUE; in AtapiReadCapacity()
1092 IdeDev->BlkIo.Media->MediaPresent = FALSE; in AtapiReadCapacity()
1236 if (IdeDev->BlkIo.Media->MediaPresent) { in AtapiDetectMedia()
1256 IdeDev->BlkIo.Media->MediaPresent = FALSE; in AtapiDetectMedia()
1307 IdeDev->BlkIo.Media->MediaPresent = FALSE; in AtapiDetectMedia()
1334 if ((IdeDev->BlkIo.Media->MediaPresent) && (IdeDev->Type == IdeMagnetic)) { in AtapiDetectMedia()
[all …]
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Drivers/FlashFvbDxe/
DFlashBlockIoDxe.c39 if ( !This->Media->MediaPresent ) in FlashBlockIoReadBlocks()
75 if ( !This->Media->MediaPresent ) in FlashBlockIoWriteBlocks()
/device/linaro/bootloader/OpenPlatformPkg/Drivers/SdMmc/XenonDxe/
DSdMmcPciHcDxe.c168 if (!Private->Slot[Trb->Slot].MediaPresent) { in ProcessAsyncTaskList()
237 BOOLEAN MediaPresent; in SdMmcPciHcEnumerateDevice() local
250 Status = SdMmcHcCardDetect (Private->PciIo, Slot, &MediaPresent); in SdMmcPciHcEnumerateDevice()
251 if ((Status == EFI_MEDIA_CHANGED) && !MediaPresent) { in SdMmcPciHcEnumerateDevice()
253 Private->Slot[Slot].MediaPresent = FALSE; in SdMmcPciHcEnumerateDevice()
282 if ((Status == EFI_MEDIA_CHANGED) && MediaPresent) { in SdMmcPciHcEnumerateDevice()
299 Private->Slot[Slot].MediaPresent = TRUE; in SdMmcPciHcEnumerateDevice()
650 Private->Slot[Slot].MediaPresent = TRUE; in SdMmcPciHcDriverBindingStart()
963 if (!Private->Slot[Slot].MediaPresent) { in SdMmcPassThruPassThru()
1141 if ((!Private->Slot[Slot].Enable) || (!Private->Slot[Slot].MediaPresent)) { in SdMmcPassThruBuildDevicePath()
[all …]
/device/linaro/bootloader/edk2/Nt32Pkg/WinNtBlockIoDxe/
DWinNtBlockIo.c544 BlockIo->Media->MediaPresent = TRUE; in WinNtBlockIoCreateMapping()
641 BlockIo->Media->MediaPresent = FALSE; in WinNtBlockIoOpenDevice()
646 if (!BlockIo->Media->MediaPresent) { in WinNtBlockIoOpenDevice()
650 BlockIo->Media->MediaPresent = TRUE; in WinNtBlockIoOpenDevice()
739 BlockIo->Media->MediaPresent = FALSE; in WinNtBlockIoError()
745 BlockIo->Media->MediaPresent = TRUE; in WinNtBlockIoError()
826 if (!Private->Media.MediaPresent) { in WinNtBlockIoReadWriteCommon()
930 This->Media->MediaPresent = TRUE; in WinNtBlockIoReadBlocks()
1016 This->Media->MediaPresent = TRUE; in WinNtBlockIoWriteBlocks()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/
DUsbMassBoot.c96 Media->MediaPresent = FALSE; in UsbBootRequestSense()
417 Media->MediaPresent = FALSE; in UsbBootReadCapacity16()
450 Media->MediaPresent = TRUE; in UsbBootReadCapacity16()
522 Media->MediaPresent = TRUE; in UsbBootReadCapacity()
724 (Media->MediaPresent != OldMedia.MediaPresent) || in UsbBootDetectMedia()
749 if (Media->MediaPresent != OldMedia.MediaPresent) { in UsbBootDetectMedia()
750 if (Media->MediaPresent) { in UsbBootDetectMedia()
/device/linaro/bootloader/edk2/NetworkPkg/DnsDxe/
DDnsDhcp.c272 BOOLEAN MediaPresent; in GetDns4ServerFromDhcp4() local
319 MediaPresent = TRUE; in GetDns4ServerFromDhcp4()
320 NetLibDetectMedia (Controller, &MediaPresent); in GetDns4ServerFromDhcp4()
321 if (!MediaPresent) { in GetDns4ServerFromDhcp4()
623 BOOLEAN MediaPresent; in GetDns6ServerFromDhcp6() local
638 MediaPresent = TRUE; in GetDns6ServerFromDhcp6()
639 NetLibDetectMedia (Controller, &MediaPresent); in GetDns6ServerFromDhcp6()
640 if (!MediaPresent) { in GetDns6ServerFromDhcp6()
/device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/NorFlashDxe/
DNorFlashBlockIoDxe.c67 } else if (!Media->MediaPresent) { in NorFlashBlockIoReadBlocks()
100 if( !This->Media->MediaPresent ) { in NorFlashBlockIoWriteBlocks()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/SnpDxe/
DInitialize.c120 Snp->Mode.MediaPresent = TRUE; in PxeInit()
122 Snp->Mode.MediaPresent = FALSE; in PxeInit()
263 Snp->Mode.MediaPresent = FALSE; in SnpUndi32Initialize()
DReceive.c141 if (Snp->Mode.MediaPresentSupported && !Snp->Mode.MediaPresent) { in PxeReceive()
142 Snp->Mode.MediaPresent = TRUE; in PxeReceive()
/device/linaro/bootloader/edk2/NetworkPkg/HttpBootDxe/
DHttpBootImpl.c441 BOOLEAN MediaPresent; in HttpBootDxeLoadFile() local
463 MediaPresent = TRUE; in HttpBootDxeLoadFile()
464 NetLibDetectMedia (Private->Controller, &MediaPresent); in HttpBootDxeLoadFile()
465 if (!MediaPresent) { in HttpBootDxeLoadFile()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/
DIsaFloppyCtrl.c84 FdcDev->BlkIo.Media->MediaPresent = TRUE; in FddIdentify()
93 FdcDev->BlkIo.Media->MediaPresent = FALSE; in FddIdentify()
722 MediaPresentLastTime = FdcDev->BlkIo.Media->MediaPresent; in DetectMedia()
731 FdcDev->BlkIo.Media->MediaPresent = TRUE; in DetectMedia()
734 FdcDev->BlkIo.Media->MediaPresent = FALSE; in DetectMedia()
743 if (FdcDev->BlkIo.Media->MediaPresent) { in DetectMedia()
755 if (FdcDev->BlkIo.Media->MediaPresent && (ReadOnlyLastTime != FdcDev->BlkIo.Media->ReadOnly)) { in DetectMedia()
759 if (MediaPresentLastTime != FdcDev->BlkIo.Media->MediaPresent) { in DetectMedia()
/device/linaro/bootloader/edk2/OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772/
DSimpleNetwork.c176 pMode->MediaPresent = pNicDevice->bLinkUp; in SN_GetStatus()
463 pMode->MediaPresent = pNicDevice->bLinkUp; in SN_Receive()
464 if ( pMode->MediaPresent ) { in SN_Receive()
756 pMode->MediaPresent = FALSE; in SN_Reset()
880 pMode->MediaPresent = FALSE; in SN_Setup()
993 pMode->MediaPresent = FALSE; in SN_Start()
1377 pMode->MediaPresent = pNicDevice->bLinkUp; in SN_Transmit()
1383 if ( pMode->MediaPresent ) { in SN_Transmit()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/
DIScsiDhcp.c363 BOOLEAN MediaPresent; in IScsiDoDhcp() local
373 MediaPresent = TRUE; in IScsiDoDhcp()
374 NetLibDetectMedia (Controller, &MediaPresent); in IScsiDoDhcp()
375 if (!MediaPresent) { in IScsiDoDhcp()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/BlockIoDxe/
DBiosInt13.c89 BlockMedia->MediaPresent = TRUE; in BiosInitBlockIo()
501 Media->MediaPresent = TRUE; in Edd30BiosReadBlocks()
526 Media->MediaPresent = FALSE; in Edd30BiosReadBlocks()
653 Media->MediaPresent = TRUE; in Edd30BiosWriteBlocks()
681 Media->MediaPresent = FALSE; in Edd30BiosWriteBlocks()
888 Media->MediaPresent = TRUE; in Edd11BiosReadBlocks()
913 Media->MediaPresent = FALSE; in Edd11BiosReadBlocks()
1048 Media->MediaPresent = TRUE; in Edd11BiosWriteBlocks()
1076 Media->MediaPresent = FALSE; in Edd11BiosWriteBlocks()
1243 Media->MediaPresent = TRUE; in BiosReadLegacyDrive()
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/IScsiDxe/
DIScsiDhcp.c388 BOOLEAN MediaPresent; in IScsiDoDhcp() local
397 MediaPresent = TRUE; in IScsiDoDhcp()
398 NetLibDetectMedia (Controller, &MediaPresent); in IScsiDoDhcp()
399 if (!MediaPresent) { in IScsiDoDhcp()
DIScsiDhcp6.c379 BOOLEAN MediaPresent; in IScsiDoDhcp6() local
384 MediaPresent = TRUE; in IScsiDoDhcp6()
385 NetLibDetectMedia (Controller, &MediaPresent); in IScsiDoDhcp6()
386 if (!MediaPresent) { in IScsiDoDhcp6()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/
DLegacyBbs.c119 if (BlkIo->Media->MediaPresent) { in HasMediaInFloppy()
188 BbsTable[0].StatusFlags.MediaPresent = 0; in LegacyBiosBuildBbs()
215 BbsTable[BbsIndex + Index].StatusFlags.MediaPresent = 0; in LegacyBiosBuildBbs()
/device/linaro/bootloader/edk2/MdePkg/Include/Ppi/
DBlockIo2.h58 BOOLEAN MediaPresent; member

12345