Home
last modified time | relevance | path

Searched refs:ControllerVer (Results 1 – 6 of 6) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/SdBlockIoPei/
DSdHci.c525 UINT16 ControllerVer; in SdPeimHcClockSupply() local
567 Status = SdPeimHcRwMmio (Bar + SD_HC_CTRL_VER, TRUE, sizeof (ControllerVer), &ControllerVer); in SdPeimHcClockSupply()
574 if ((ControllerVer & 0xFF) == 2) { in SdPeimHcClockSupply()
577 } else if (((ControllerVer & 0xFF) == 0) || ((ControllerVer & 0xFF) == 1)) { in SdPeimHcClockSupply()
587 DEBUG ((EFI_D_ERROR, "Unknown SD Host Controller Spec version [0x%x]!!!\n", ControllerVer)); in SdPeimHcClockSupply()
2752 UINT16 ControllerVer; in SdPeimIdentification() local
2827 …s = SdPeimHcRwMmio (Slot->SdHcBase + SD_HC_CTRL_VER, TRUE, sizeof (ControllerVer), &ControllerVer); in SdPeimIdentification()
2832 if ((ControllerVer & 0xFF) == 2) { in SdPeimIdentification()
2834 } else if (((ControllerVer & 0xFF) == 0) || ((ControllerVer & 0xFF) == 1)) { in SdPeimIdentification()
/device/linaro/bootloader/OpenPlatformPkg/Drivers/SdMmc/XenonDxe/
DSdDevice.c1016 UINT16 ControllerVer; in SdCardIdentification() local
1082 …us = SdMmcHcRwMmio (PciIo, Slot, SD_MMC_HC_CTRL_VER, TRUE, sizeof (ControllerVer), &ControllerVer); in SdCardIdentification()
1087 if ((ControllerVer & 0xFF) == 2) { in SdCardIdentification()
1089 } else if (((ControllerVer & 0xFF) == 0) || ((ControllerVer & 0xFF) == 1)) { in SdCardIdentification()
DSdMmcPciHci.c700 UINT16 ControllerVer; in SdMmcHcClockSupply() local
737 …us = SdMmcHcRwMmio (PciIo, Slot, SD_MMC_HC_CTRL_VER, TRUE, sizeof (ControllerVer), &ControllerVer); in SdMmcHcClockSupply()
744 if ((ControllerVer & 0xFF) == 2) { in SdMmcHcClockSupply()
747 } else if (((ControllerVer & 0xFF) == 0) || ((ControllerVer & 0xFF) == 1)) { in SdMmcHcClockSupply()
757 DEBUG ((DEBUG_ERROR, "Unknown SD Host Controller Spec version [0x%x]!!!\n", ControllerVer)); in SdMmcHcClockSupply()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/
DSdDevice.c1016 UINT16 ControllerVer; in SdCardIdentification() local
1082 …us = SdMmcHcRwMmio (PciIo, Slot, SD_MMC_HC_CTRL_VER, TRUE, sizeof (ControllerVer), &ControllerVer); in SdCardIdentification()
1087 if ((ControllerVer & 0xFF) == 2) { in SdCardIdentification()
1089 } else if (((ControllerVer & 0xFF) == 0) || ((ControllerVer & 0xFF) == 1)) { in SdCardIdentification()
DSdMmcPciHci.c700 UINT16 ControllerVer; in SdMmcHcClockSupply() local
737 …us = SdMmcHcRwMmio (PciIo, Slot, SD_MMC_HC_CTRL_VER, TRUE, sizeof (ControllerVer), &ControllerVer); in SdMmcHcClockSupply()
744 if ((ControllerVer & 0xFF) == 2) { in SdMmcHcClockSupply()
747 } else if (((ControllerVer & 0xFF) == 0) || ((ControllerVer & 0xFF) == 1)) { in SdMmcHcClockSupply()
757 DEBUG ((DEBUG_ERROR, "Unknown SD Host Controller Spec version [0x%x]!!!\n", ControllerVer)); in SdMmcHcClockSupply()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/
DEmmcHci.c525 UINT16 ControllerVer; in EmmcPeimHcClockSupply() local
567 Status = EmmcPeimHcRwMmio (Bar + EMMC_HC_CTRL_VER, TRUE, sizeof (ControllerVer), &ControllerVer); in EmmcPeimHcClockSupply()
574 if ((ControllerVer & 0xFF) == 2) { in EmmcPeimHcClockSupply()
577 } else if (((ControllerVer & 0xFF) == 0) || ((ControllerVer & 0xFF) == 1)) { in EmmcPeimHcClockSupply()
587 DEBUG ((EFI_D_ERROR, "Unknown SD Host Controller Spec version [0x%x]!!!\n", ControllerVer)); in EmmcPeimHcClockSupply()