/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBotPei/ |
D | UsbBotPeim.c | 457 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 …]
|
D | PeiAtapi.c | 284 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/ |
D | Recovery.c | 65 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/ |
D | DwMmcHcDxe.c | 168 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/ |
D | SdMmcPciHcDxe.c | 165 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/ |
D | BlockIo.c | 105 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/ |
D | AtapiPeim.c | 201 …, "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/ |
D | Atapi.c | 690 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/ |
D | FlashBlockIoDxe.c | 39 if ( !This->Media->MediaPresent ) in FlashBlockIoReadBlocks() 75 if ( !This->Media->MediaPresent ) in FlashBlockIoWriteBlocks()
|
/device/linaro/bootloader/OpenPlatformPkg/Drivers/SdMmc/XenonDxe/ |
D | SdMmcPciHcDxe.c | 168 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/ |
D | WinNtBlockIo.c | 544 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/ |
D | UsbMassBoot.c | 96 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/ |
D | DnsDhcp.c | 272 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/ |
D | NorFlashBlockIoDxe.c | 67 } else if (!Media->MediaPresent) { in NorFlashBlockIoReadBlocks() 100 if( !This->Media->MediaPresent ) { in NorFlashBlockIoWriteBlocks()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/SnpDxe/ |
D | Initialize.c | 120 Snp->Mode.MediaPresent = TRUE; in PxeInit() 122 Snp->Mode.MediaPresent = FALSE; in PxeInit() 263 Snp->Mode.MediaPresent = FALSE; in SnpUndi32Initialize()
|
D | Receive.c | 141 if (Snp->Mode.MediaPresentSupported && !Snp->Mode.MediaPresent) { in PxeReceive() 142 Snp->Mode.MediaPresent = TRUE; in PxeReceive()
|
/device/linaro/bootloader/edk2/NetworkPkg/HttpBootDxe/ |
D | HttpBootImpl.c | 441 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/ |
D | IsaFloppyCtrl.c | 84 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/ |
D | SimpleNetwork.c | 176 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/ |
D | IScsiDhcp.c | 363 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/ |
D | BiosInt13.c | 89 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/ |
D | IScsiDhcp.c | 388 BOOLEAN MediaPresent; in IScsiDoDhcp() local 397 MediaPresent = TRUE; in IScsiDoDhcp() 398 NetLibDetectMedia (Controller, &MediaPresent); in IScsiDoDhcp() 399 if (!MediaPresent) { in IScsiDoDhcp()
|
D | IScsiDhcp6.c | 379 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/ |
D | LegacyBbs.c | 119 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/ |
D | BlockIo2.h | 58 BOOLEAN MediaPresent; member
|