Home
last modified time | relevance | path

Searched refs:SupportedModes (Results 1 – 16 of 16) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/SataControllerDxe/
DSataController.c914 OUT EFI_ATA_COLLECTIVE_MODE **SupportedModes in IdeInitCalculateMode() argument
928 …if ((Channel >= This->ChannelCount) || (SupportedModes == NULL) || (Device >= Private->DeviceCount… in IdeInitCalculateMode()
932 *SupportedModes = AllocateZeroPool (sizeof (EFI_ATA_COLLECTIVE_MODE)); in IdeInitCalculateMode()
933 if (*SupportedModes == NULL) { in IdeInitCalculateMode()
934 ASSERT (*SupportedModes != NULL); in IdeInitCalculateMode()
948 FreePool (*SupportedModes); in IdeInitCalculateMode()
958 (*SupportedModes)->PioMode.Valid = TRUE; in IdeInitCalculateMode()
959 (*SupportedModes)->PioMode.Mode = SelectedMode; in IdeInitCalculateMode()
962 (*SupportedModes)->PioMode.Valid = FALSE; in IdeInitCalculateMode()
964 DEBUG ((EFI_D_INFO, "IdeInitCalculateMode: PioMode = %x\n", (*SupportedModes)->PioMode.Mode)); in IdeInitCalculateMode()
[all …]
DSataController.h418 OUT EFI_ATA_COLLECTIVE_MODE **SupportedModes
/device/linaro/bootloader/edk2/CorebootModulePkg/SataControllerDxe/
DSataController.c943 OUT EFI_ATA_COLLECTIVE_MODE **SupportedModes in IdeInitCalculateMode() argument
957 …if ((Channel >= This->ChannelCount) || (SupportedModes == NULL) || (Device >= SataPrivateData->Dev… in IdeInitCalculateMode()
961 *SupportedModes = AllocateZeroPool (sizeof (EFI_ATA_COLLECTIVE_MODE)); in IdeInitCalculateMode()
962 if (*SupportedModes == NULL) { in IdeInitCalculateMode()
963 ASSERT (*SupportedModes != NULL); in IdeInitCalculateMode()
977 FreePool (*SupportedModes); in IdeInitCalculateMode()
987 (*SupportedModes)->PioMode.Valid = TRUE; in IdeInitCalculateMode()
988 (*SupportedModes)->PioMode.Mode = SelectedMode; in IdeInitCalculateMode()
991 (*SupportedModes)->PioMode.Valid = FALSE; in IdeInitCalculateMode()
993 DEBUG ((EFI_D_INFO, "IdeInitCalculateMode: PioMode = %x\n", (*SupportedModes)->PioMode.Mode)); in IdeInitCalculateMode()
[all …]
DSataController.h421 OUT EFI_ATA_COLLECTIVE_MODE **SupportedModes
/device/linaro/bootloader/edk2/DuetPkg/SataControllerDxe/
DSataController.c943 OUT EFI_ATA_COLLECTIVE_MODE **SupportedModes in IdeInitCalculateMode() argument
957 …if ((Channel >= This->ChannelCount) || (SupportedModes == NULL) || (Device >= SataPrivateData->Dev… in IdeInitCalculateMode()
961 *SupportedModes = AllocateZeroPool (sizeof (EFI_ATA_COLLECTIVE_MODE)); in IdeInitCalculateMode()
962 if (*SupportedModes == NULL) { in IdeInitCalculateMode()
963 ASSERT (*SupportedModes != NULL); in IdeInitCalculateMode()
977 FreePool (*SupportedModes); in IdeInitCalculateMode()
987 (*SupportedModes)->PioMode.Valid = TRUE; in IdeInitCalculateMode()
988 (*SupportedModes)->PioMode.Mode = SelectedMode; in IdeInitCalculateMode()
991 (*SupportedModes)->PioMode.Valid = FALSE; in IdeInitCalculateMode()
993 DEBUG ((EFI_D_INFO, "IdeInitCalculateMode: PioMode = %x\n", (*SupportedModes)->PioMode.Mode)); in IdeInitCalculateMode()
[all …]
DSataController.h421 OUT EFI_ATA_COLLECTIVE_MODE **SupportedModes
/device/linaro/bootloader/edk2/OvmfPkg/SataControllerDxe/
DSataController.c982 OUT EFI_ATA_COLLECTIVE_MODE **SupportedModes in IdeInitCalculateMode() argument
996 …if ((Channel >= This->ChannelCount) || (SupportedModes == NULL) || (Device >= SataPrivateData->Dev… in IdeInitCalculateMode()
1000 *SupportedModes = AllocateZeroPool (sizeof (EFI_ATA_COLLECTIVE_MODE)); in IdeInitCalculateMode()
1001 if (*SupportedModes == NULL) { in IdeInitCalculateMode()
1002 ASSERT (*SupportedModes != NULL); in IdeInitCalculateMode()
1016 FreePool (*SupportedModes); in IdeInitCalculateMode()
1026 (*SupportedModes)->PioMode.Valid = TRUE; in IdeInitCalculateMode()
1027 (*SupportedModes)->PioMode.Mode = SelectedMode; in IdeInitCalculateMode()
1030 (*SupportedModes)->PioMode.Valid = FALSE; in IdeInitCalculateMode()
1032 DEBUG ((EFI_D_INFO, "IdeInitCalculateMode: PioMode = %x\n", (*SupportedModes)->PioMode.Mode)); in IdeInitCalculateMode()
[all …]
DSataController.h426 OUT EFI_ATA_COLLECTIVE_MODE **SupportedModes
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/
DIdeBus.c325 EFI_ATA_COLLECTIVE_MODE *SupportedModes; in IDEBusDriverBindingStart() local
328 SupportedModes = NULL; in IDEBusDriverBindingStart()
735 &SupportedModes in IDEBusDriverBindingStart()
748 if (SupportedModes->PioMode.Mode <= AtaPioMode2) { in IDEBusDriverBindingStart()
754 TransferMode.ModeNumber = (UINT8) (SupportedModes->PioMode.Mode); in IDEBusDriverBindingStart()
756 if (SupportedModes->ExtModeCount == 0){ in IDEBusDriverBindingStart()
773 if (SupportedModes->UdmaMode.Valid) { in IDEBusDriverBindingStart()
776 TransferMode.ModeNumber = (UINT8) (SupportedModes->UdmaMode.Mode); in IDEBusDriverBindingStart()
789 IdeBlkIoDevicePtr->UdmaMode.Mode = SupportedModes->UdmaMode.Mode; in IDEBusDriverBindingStart()
791 } else if (SupportedModes->MultiWordDmaMode.Valid) { in IDEBusDriverBindingStart()
[all …]
/device/linaro/bootloader/edk2/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/
DIdeController.c571 OUT EFI_ATA_COLLECTIVE_MODE **SupportedModes in IdeInitCalculateMode() argument
578 …*SupportedModes = AllocateCopyPool (sizeof (EFI_ATA_COLLECTIVE_MODE), &gEfiAtaCollectiveModeTempla… in IdeInitCalculateMode()
579 if (*SupportedModes == NULL) { in IdeInitCalculateMode()
DIdeController.h357 OUT EFI_ATA_COLLECTIVE_MODE **SupportedModes
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DIdeControllerInit.h473 OUT EFI_ATA_COLLECTIVE_MODE **SupportedModes
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/
DIdeMode.c2636 EFI_ATA_COLLECTIVE_MODE *SupportedModes; in DetectAndConfigIdeDevice() local
2747 &SupportedModes in DetectAndConfigIdeDevice()
2757 if (SupportedModes->PioMode.Mode <= EfiAtaPioMode2) { in DetectAndConfigIdeDevice()
2763 TransferMode.ModeNumber = (UINT8) (SupportedModes->PioMode.Mode); in DetectAndConfigIdeDevice()
2765 if (SupportedModes->ExtModeCount == 0){ in DetectAndConfigIdeDevice()
2780 if (SupportedModes->UdmaMode.Valid) { in DetectAndConfigIdeDevice()
2782 TransferMode.ModeNumber = (UINT8) (SupportedModes->UdmaMode.Mode); in DetectAndConfigIdeDevice()
2789 } else if (SupportedModes->MultiWordDmaMode.Valid) { in DetectAndConfigIdeDevice()
2791 TransferMode.ModeNumber = (UINT8) SupportedModes->MultiWordDmaMode.Mode; in DetectAndConfigIdeDevice()
2819 IdeInit->SetTiming (IdeInit, IdeChannel, IdeDevice, SupportedModes); in DetectAndConfigIdeDevice()
DAhciMode.c2248 EFI_ATA_COLLECTIVE_MODE *SupportedModes; in AhciModeInitialization() local
2495 &SupportedModes in AhciModeInitialization()
2505 if (SupportedModes->PioMode.Mode <= EfiAtaPioMode2) { in AhciModeInitialization()
2511 TransferMode.ModeNumber = (UINT8) (SupportedModes->PioMode.Mode); in AhciModeInitialization()
2519 if (SupportedModes->UdmaMode.Valid) { in AhciModeInitialization()
2521 TransferMode.ModeNumber = (UINT8) (SupportedModes->UdmaMode.Mode); in AhciModeInitialization()
2522 } else if (SupportedModes->MultiWordDmaMode.Valid) { in AhciModeInitialization()
2524 TransferMode.ModeNumber = (UINT8) SupportedModes->MultiWordDmaMode.Mode; in AhciModeInitialization()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Protocol/IdeControllerInit/
DIdeControllerInit.h319 OUT EFI_ATA_COLLECTIVE_MODE **SupportedModes
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/
DEmmc.h279 UINT8 SupportedModes; // Supported modes [493] member