Home
last modified time | relevance | path

Searched refs:Capability (Results 1 – 25 of 63) sorted by relevance

123

/device/linaro/bootloader/OpenPlatformPkg/Drivers/SdMmc/XenonDxe/
DSdMmcPciHci.c30 IN SD_MMC_HC_SLOT_CAP *Capability in DumpCapabilityReg() argument
36 DEBUG ((DEBUG_INFO, " == Slot [%d] Capability is 0x%x ==\n", Slot, Capability)); in DumpCapabilityReg()
37 …DEBUG ((DEBUG_INFO, " Timeout Clk Freq %d%a\n", Capability->TimeoutFreq, (Capability->TimeoutUn… in DumpCapabilityReg()
38 DEBUG ((DEBUG_INFO, " Base Clk Freq %dMHz\n", Capability->BaseClkFreq)); in DumpCapabilityReg()
39 DEBUG ((DEBUG_INFO, " Max Blk Len %dbytes\n", 512 * (1 << Capability->MaxBlkLen))); in DumpCapabilityReg()
40 DEBUG ((DEBUG_INFO, " 8-bit Support %a\n", Capability->BusWidth8 ? "TRUE" : "FALSE")); in DumpCapabilityReg()
41 DEBUG ((DEBUG_INFO, " ADMA2 Support %a\n", Capability->Adma2 ? "TRUE" : "FALSE")); in DumpCapabilityReg()
42 DEBUG ((DEBUG_INFO, " HighSpeed Support %a\n", Capability->HighSpeed ? "TRUE" : "FALSE")); in DumpCapabilityReg()
43 DEBUG ((DEBUG_INFO, " SDMA Support %a\n", Capability->Sdma ? "TRUE" : "FALSE")); in DumpCapabilityReg()
44 DEBUG ((DEBUG_INFO, " Suspend/Resume %a\n", Capability->SuspRes ? "TRUE" : "FALSE")); in DumpCapabilityReg()
[all …]
DSdMmcPciHci.h148 IN SD_MMC_HC_SLOT_CAP *Capability
348 OUT SD_MMC_HC_SLOT_CAP *Capability
428 IN SD_MMC_HC_SLOT_CAP Capability
486 IN SD_MMC_HC_SLOT_CAP Capability
506 IN SD_MMC_HC_SLOT_CAP Capability
543 IN SD_MMC_HC_SLOT_CAP Capability
DSdDevice.c889 SD_MMC_HC_SLOT_CAP *Capability; in SdCardSetBusMode() local
900 Capability = &Private->Capability[Slot]; in SdCardSetBusMode()
924 if (S18A && (Capability->Sdr104 != 0) && ((SwitchResp[13] & BIT3) != 0)) { in SdCardSetBusMode()
927 } else if (S18A && (Capability->Sdr50 != 0) && ((SwitchResp[13] & BIT2) != 0)) { in SdCardSetBusMode()
930 } else if (S18A && (Capability->Ddr50 != 0) && ((SwitchResp[13] & BIT4) != 0)) { in SdCardSetBusMode()
975 Status = SdMmcHcClockSupply (PciIo, Slot, ClockFreq * 1000, *Capability); in SdCardSetBusMode()
980 if ((AccessMode == 3) || ((AccessMode == 2) && (Capability->TuningSDR50 != 0))) { in SdCardSetBusMode()
1056 if (Private->Capability[Slot].Voltage33 != 0) { in SdCardIdentification()
1061 } else if (Private->Capability[Slot].Voltage30 != 0) { in SdCardIdentification()
1066 } else if (Private->Capability[Slot].Voltage18 != 0) { in SdCardIdentification()
[all …]
DSdMmcPciHcDxe.c294 Status = SdMmcHcInitHost (Private->PciIo, Slot, Private->Capability[Slot]); in SdMmcPciHcEnumerateDevice()
604 Status = SdMmcHcGetCapability (PciIo, Slot, &Private->Capability[Slot]); in SdMmcPciHcDriverBindingStart()
609 Support64BitDma &= Private->Capability[Slot].SysBus64; in SdMmcPciHcDriverBindingStart()
615 Private->Capability[Slot].Sdr104 = 0; in SdMmcPciHcDriverBindingStart()
616 Private->Capability[Slot].Ddr50 = 0; in SdMmcPciHcDriverBindingStart()
617 Private->Capability[Slot].Sdr50 = 0; in SdMmcPciHcDriverBindingStart()
618 Private->Capability[Slot].BusWidth8 = 0; in SdMmcPciHcDriverBindingStart()
620 if (Private->Capability[Slot].BaseClkFreq == 0) { in SdMmcPciHcDriverBindingStart()
621 Private->Capability[Slot].BaseClkFreq = 0xff; in SdMmcPciHcDriverBindingStart()
624 DumpCapabilityReg (Slot, &Private->Capability[Slot]); in SdMmcPciHcDriverBindingStart()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/
DSdMmcPciHci.c30 IN SD_MMC_HC_SLOT_CAP *Capability in DumpCapabilityReg() argument
36 DEBUG ((DEBUG_INFO, " == Slot [%d] Capability is 0x%x ==\n", Slot, Capability)); in DumpCapabilityReg()
37 …DEBUG ((DEBUG_INFO, " Timeout Clk Freq %d%a\n", Capability->TimeoutFreq, (Capability->TimeoutUn… in DumpCapabilityReg()
38 DEBUG ((DEBUG_INFO, " Base Clk Freq %dMHz\n", Capability->BaseClkFreq)); in DumpCapabilityReg()
39 DEBUG ((DEBUG_INFO, " Max Blk Len %dbytes\n", 512 * (1 << Capability->MaxBlkLen))); in DumpCapabilityReg()
40 DEBUG ((DEBUG_INFO, " 8-bit Support %a\n", Capability->BusWidth8 ? "TRUE" : "FALSE")); in DumpCapabilityReg()
41 DEBUG ((DEBUG_INFO, " ADMA2 Support %a\n", Capability->Adma2 ? "TRUE" : "FALSE")); in DumpCapabilityReg()
42 DEBUG ((DEBUG_INFO, " HighSpeed Support %a\n", Capability->HighSpeed ? "TRUE" : "FALSE")); in DumpCapabilityReg()
43 DEBUG ((DEBUG_INFO, " SDMA Support %a\n", Capability->Sdma ? "TRUE" : "FALSE")); in DumpCapabilityReg()
44 DEBUG ((DEBUG_INFO, " Suspend/Resume %a\n", Capability->SuspRes ? "TRUE" : "FALSE")); in DumpCapabilityReg()
[all …]
DSdMmcPciHci.h148 IN SD_MMC_HC_SLOT_CAP *Capability
348 OUT SD_MMC_HC_SLOT_CAP *Capability
428 IN SD_MMC_HC_SLOT_CAP Capability
486 IN SD_MMC_HC_SLOT_CAP Capability
506 IN SD_MMC_HC_SLOT_CAP Capability
543 IN SD_MMC_HC_SLOT_CAP Capability
DSdDevice.c889 SD_MMC_HC_SLOT_CAP *Capability; in SdCardSetBusMode() local
900 Capability = &Private->Capability[Slot]; in SdCardSetBusMode()
924 if (S18A && (Capability->Sdr104 != 0) && ((SwitchResp[13] & BIT3) != 0)) { in SdCardSetBusMode()
927 } else if (S18A && (Capability->Sdr50 != 0) && ((SwitchResp[13] & BIT2) != 0)) { in SdCardSetBusMode()
930 } else if (S18A && (Capability->Ddr50 != 0) && ((SwitchResp[13] & BIT4) != 0)) { in SdCardSetBusMode()
975 Status = SdMmcHcClockSupply (PciIo, Slot, ClockFreq * 1000, *Capability); in SdCardSetBusMode()
980 if ((AccessMode == 3) || ((AccessMode == 2) && (Capability->TuningSDR50 != 0))) { in SdCardSetBusMode()
1056 if (Private->Capability[Slot].Voltage33 != 0) { in SdCardIdentification()
1061 } else if (Private->Capability[Slot].Voltage30 != 0) { in SdCardIdentification()
1066 } else if (Private->Capability[Slot].Voltage18 != 0) { in SdCardIdentification()
[all …]
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/HiKeyMmcDxe/
DHiKeyMmcDxe.c57 OUT DW_MMC_HC_SLOT_CAP *Capability in HiKeyGetCapability() argument
60 if (Capability == NULL) { in HiKeyGetCapability()
65 CopyMem (Capability, &DwMmcCapability[0], sizeof (DW_MMC_HC_SLOT_CAP)); in HiKeyGetCapability()
67 CopyMem (Capability, &DwMmcCapability[0], sizeof (DW_MMC_HC_SLOT_CAP)); in HiKeyGetCapability()
70 CopyMem (Capability, &DwMmcCapability[1], sizeof (DW_MMC_HC_SLOT_CAP)); in HiKeyGetCapability()
72 CopyMem (Capability, &DwMmcCapability[1], sizeof (DW_MMC_HC_SLOT_CAP)); in HiKeyGetCapability()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey960/HiKey960MmcDxe/
DHiKey960MmcDxe.c50 OUT DW_MMC_HC_SLOT_CAP *Capability in HiKey960GetCapability() argument
53 if (Capability == NULL) { in HiKey960GetCapability()
58 CopyMem (Capability, &DwMmcCapability[0], sizeof (DW_MMC_HC_SLOT_CAP)); in HiKey960GetCapability()
60 CopyMem (Capability, &DwMmcCapability[0], sizeof (DW_MMC_HC_SLOT_CAP)); in HiKey960GetCapability()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/AMD/Styx/Drivers/StyxSataPlatformDxe/
DInitController.c48 UINT32 Capability; in SetSataCapabilities() local
50 Capability = 0; in SetSataCapabilities()
52 Capability |= EFI_AHCI_CAP_SSS; in SetSataCapabilities()
54 Capability |= EFI_AHCI_CAP_SMPS; in SetSataCapabilities()
56 MmioOr32 (AhciBaseAddr + EFI_AHCI_CAPABILITY_OFFSET, Capability); in SetSataCapabilities()
/device/linaro/bootloader/OpenPlatformPkg/Drivers/SdMmc/DwMmcHcDxe/
DDwMmcHci.h285 IN DW_MMC_HC_SLOT_CAP *Capability
451 IN DW_MMC_HC_SLOT_CAP Capability
487 OUT DW_MMC_HC_SLOT_CAP *Capability
568 IN DW_MMC_HC_SLOT_CAP Capability
627 IN DW_MMC_HC_SLOT_CAP Capability
647 IN DW_MMC_HC_SLOT_CAP Capability
684 IN DW_MMC_HC_SLOT_CAP Capability
DSdDevice.c820 DW_MMC_HC_SLOT_CAP *Capability; in SdCardSetBusMode() local
829 Capability = &Private->Capability[Slot]; in SdCardSetBusMode()
831 if ((Capability->BusWidth == 1) || (Capability->BusWidth == 4)) { in SdCardSetBusMode()
832 BusWidths &= Capability[Slot].BusWidth; in SdCardSetBusMode()
834 …DEBUG ((DEBUG_ERROR, "SdCardSetBusMode: BusWidths (%d) in capability are wrong\n", Capability->Bus… in SdCardSetBusMode()
843 if (Private->Capability[Slot].Ddr50) { in SdCardSetBusMode()
866 if (S18A && (Capability->Sdr104 != 0) && ((SwitchResp[13] & BIT3) != 0)) { in SdCardSetBusMode()
869 } else if (S18A && (Capability->Sdr50 != 0) && ((SwitchResp[13] & BIT2) != 0)) { in SdCardSetBusMode()
872 } else if (S18A && (Capability->Ddr50 != 0) && ((SwitchResp[13] & BIT4) != 0)) { in SdCardSetBusMode()
895 Status = DwMmcHcClockSupply (PciIo, Slot, ClockFreq * 1000, *Capability); in SdCardSetBusMode()
[all …]
DDwMmcHci.c31 IN DW_MMC_HC_SLOT_CAP *Capability in DumpCapabilityReg() argument
37 DEBUG ((DEBUG_INFO, " == Slot [%d] Capability is 0x%x ==\n", Slot, Capability)); in DumpCapabilityReg()
38 DEBUG ((DEBUG_INFO, " Base Clk Freq %dKHz\n", Capability->BaseClkFreq)); in DumpCapabilityReg()
39 DEBUG ((DEBUG_INFO, " BusWidth %d\n", Capability->BusWidth)); in DumpCapabilityReg()
40 DEBUG ((DEBUG_INFO, " HighSpeed Support %a\n", Capability->HighSpeed ? "TRUE" : "FALSE")); in DumpCapabilityReg()
41 DEBUG ((DEBUG_INFO, " Voltage 1.8 %a\n", Capability->Voltage18 ? "TRUE" : "FALSE")); in DumpCapabilityReg()
42 DEBUG ((DEBUG_INFO, " 64-bit Sys Bus %a\n", Capability->SysBus64 ? "TRUE" : "FALSE")); in DumpCapabilityReg()
44 if (Capability->SlotType == 0x00) { in DumpCapabilityReg()
46 } else if (Capability->SlotType == 0x01) { in DumpCapabilityReg()
48 } else if (Capability->SlotType == 0x02) { in DumpCapabilityReg()
[all …]
DDwMmcHcDxe.c287 Status = DwMmcHcInitHost (Private->PciIo, Slot, Private->Capability[Slot]); in DwMmcHcEnumerateDevice()
294 Status = DwMmcHcReset (Private->PciIo, Slot, Private->Capability[Slot]); in DwMmcHcEnumerateDevice()
346 IN DW_MMC_HC_SLOT_CAP Capability in DwMmcHcReset() argument
372 Status = DwMmcHcInitClockFreq (PciIo, Slot, Capability); in DwMmcHcReset()
668 Status = DwMmcHcGetCapability (PciIo, Controller, Slot, &Private->Capability[Slot]); in DwMmcHcDriverBindingStart()
673 Support64BitDma &= Private->Capability[Slot].SysBus64; in DwMmcHcDriverBindingStart()
675 if (Private->Capability[Slot].BaseClkFreq == 0) { in DwMmcHcDriverBindingStart()
679 DumpCapabilityReg (Slot, &Private->Capability[Slot]); in DwMmcHcDriverBindingStart()
690 Status = DwMmcHcInitHost (PciIo, Slot, Private->Capability[Slot]); in DwMmcHcDriverBindingStart()
698 Status = DwMmcHcReset (PciIo, Slot, Private->Capability[Slot]); in DwMmcHcDriverBindingStart()
[all …]
/device/linaro/bootloader/edk2/SecurityPkg/Library/Tpm12CommandLib/
DTpm12GetCapability.c26 UINT32 Capability; member
73 Command.Capability = SwapBytes32 (TPM_CAP_FLAG); in Tpm12GetCapabilityFlagPermanent()
114 Command.Capability = SwapBytes32 (TPM_CAP_FLAG); in Tpm12GetCapabilityFlagVolatile()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/
DPciHotPlugSupport.c342 PCI_REG_PCIE_CAPABILITY Capability; in SupportsPcieHotplug() local
356 OFFSET_OF (PCI_CAPABILITY_PCIEXP, Capability); in SupportsPcieHotplug()
362 &Capability in SupportsPcieHotplug()
371 switch (Capability.Bits.DevicePortType) { in SupportsPcieHotplug()
378 if (!Capability.Bits.SlotImplemented) { in SupportsPcieHotplug()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/SdBlockIoPei/
DSdHci.c384 OUT SD_HC_SLOT_CAP *Capability in SdPeimHcGetCapability() argument
395 CopyMem (Capability, &Cap, sizeof (Cap)); in SdPeimHcGetCapability()
520 SD_HC_SLOT_CAP Capability; in SdPeimHcClockSupply() local
531 Status = SdPeimHcGetCapability (Bar, &Capability); in SdPeimHcClockSupply()
535 ASSERT (Capability.BaseClkFreq != 0); in SdPeimHcClockSupply()
537 BaseClkFreq = Capability.BaseClkFreq; in SdPeimHcClockSupply()
733 SD_HC_SLOT_CAP Capability; in SdPeimHcInitClockFreq() local
739 Status = SdPeimHcGetCapability (Bar, &Capability); in SdPeimHcInitClockFreq()
744 if (Capability.BaseClkFreq == 0) { in SdPeimHcInitClockFreq()
775 SD_HC_SLOT_CAP Capability; in SdPeimHcInitPowerVoltage() local
[all …]
DSdBlockIoPei.c494 SD_HC_SLOT_CAP Capability; in InitializeSdBlockIoPeim() local
555 Status = SdPeimHcGetCapability (MmioBase[Index], &Capability); in InitializeSdBlockIoPeim()
559 if (Capability.SlotType != 0x1) { in InitializeSdBlockIoPeim()
583 CopyMem (&Slot->Capability, &Capability, sizeof (Capability)); in InitializeSdBlockIoPeim()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/
DEmmcHci.c384 OUT EMMC_HC_SLOT_CAP *Capability in EmmcPeimHcGetCapability() argument
395 CopyMem (Capability, &Cap, sizeof (Cap)); in EmmcPeimHcGetCapability()
520 EMMC_HC_SLOT_CAP Capability; in EmmcPeimHcClockSupply() local
531 Status = EmmcPeimHcGetCapability (Bar, &Capability); in EmmcPeimHcClockSupply()
535 ASSERT (Capability.BaseClkFreq != 0); in EmmcPeimHcClockSupply()
537 BaseClkFreq = Capability.BaseClkFreq; in EmmcPeimHcClockSupply()
733 EMMC_HC_SLOT_CAP Capability; in EmmcPeimHcInitClockFreq() local
739 Status = EmmcPeimHcGetCapability (Bar, &Capability); in EmmcPeimHcInitClockFreq()
744 if (Capability.BaseClkFreq == 0) { in EmmcPeimHcInitClockFreq()
775 EMMC_HC_SLOT_CAP Capability; in EmmcPeimHcInitPowerVoltage() local
[all …]
DEmmcBlockIoPei.c650 EMMC_HC_SLOT_CAP Capability; in InitializeEmmcBlockIoPeim() local
708 Status = EmmcPeimHcGetCapability (MmioBase[Index], &Capability); in InitializeEmmcBlockIoPeim()
712 if (Capability.SlotType != 0x1) { in InitializeEmmcBlockIoPeim()
736 CopyMem (&Slot->Capability, &Capability, sizeof (Capability)); in InitializeEmmcBlockIoPeim()
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Opal/OpalPasswordSmm/
DOpalAhciMode.c806 UINT32 Capability; in AhciStartCommand() local
811 Capability = AhciReadReg(EFI_AHCI_CAPABILITY_OFFSET); in AhciStartCommand()
842 if ((Capability & BIT24) != 0) { in AhciStartCommand()
890 UINT32 Capability; in AhciReset() local
895 Capability = AhciReadReg (EFI_AHCI_CAPABILITY_OFFSET); in AhciReset()
900 if ((Capability & EFI_AHCI_CAP_SAM) == 0) { in AhciReset()
1195 UINT32 Capability; in AhciModeInitialize() local
1208 Capability = AhciReadReg (EFI_AHCI_CAPABILITY_OFFSET); in AhciModeInitialize()
1213 if ((Capability & EFI_AHCI_CAP_SAM) == 0) { in AhciModeInitialize()
1232 if ((Capability & BIT27) != 0) { in AhciModeInitialize()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Gcd/
DGcd.h42 UINT64 Capability; member
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DBlockIoCrypto.h134 EFI_BLOCK_IO_CRYPTO_CAPABILITY Capability; member
155 EFI_BLOCK_IO_CRYPTO_CAPABILITY Capability; member
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/IndustryStandard/
DWatchdogDescriptionTable.h48 UINT16 Capability; member
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/
DPciExpress21.h326 PCI_REG_PCIE_CAPABILITY Capability; member
367 UINT32 Capability; member
479 PCI_EXPRESS_EXTENDED_CAPABILITIES_VIRTUAL_CHANNEL_VC Capability[1]; member
599 PCI_EXPRESS_EXTENDED_CAPABILITIES_RESIZABLE_BAR_ENTRY Capability[1]; member
602 #define GET_NUMBER_RESIZABLE_BARS(x) (((x->Capability[0].ResizableBarControl) & 0xE0) >> 5)

123