Home
last modified time | relevance | path

Searched refs:PresentState (Results 1 – 7 of 7) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/SdBlockIoPei/
DSdHci.c420 UINT32 PresentState; in SdPeimHcCardDetect() local
444 Status = SdPeimHcRwMmio (Bar + SD_HC_PRESENT_STATE, TRUE, sizeof (PresentState), &PresentState); in SdPeimHcCardDetect()
449 if ((PresentState & BIT16) != 0) { in SdPeimHcCardDetect()
473 UINT32 PresentState; in SdPeimHcStopClock() local
483 sizeof (PresentState), in SdPeimHcStopClock()
1103 UINT32 PresentState; in SdPeimCheckTrbEnv() local
1114 PresentState = BIT0 | BIT1; in SdPeimCheckTrbEnv()
1120 PresentState = BIT0; in SdPeimCheckTrbEnv()
1125 sizeof (PresentState), in SdPeimCheckTrbEnv()
1126 PresentState, in SdPeimCheckTrbEnv()
[all …]
/device/linaro/bootloader/OpenPlatformPkg/Drivers/SdMmc/XenonDxe/
DSdDevice.c1018 UINT32 PresentState; in SdCardIdentification() local
1129 … SdMmcHcRwMmio (PciIo, Slot, SD_MMC_HC_PRESENT_STATE, TRUE, sizeof (PresentState), &PresentState); in SdCardIdentification()
1130 if (((PresentState >> 20) & 0xF) != 0) { in SdCardIdentification()
1131 …EBUG_ERROR, "SdCardIdentification: SwitchVoltage fails with PresentState = 0x%x\n", PresentState)); in SdCardIdentification()
1151 … SdMmcHcRwMmio (PciIo, Slot, SD_MMC_HC_PRESENT_STATE, TRUE, sizeof (PresentState), &PresentState); in SdCardIdentification()
1152 if (((PresentState >> 20) & 0xF) != 0xF) { in SdCardIdentification()
1153 …dIdentification: SwitchVoltage fails with PresentState = 0x%x, It should be 0xF\n", PresentState)); in SdCardIdentification()
DSdMmcPciHci.c584 UINT32 PresentState; in SdMmcHcCardDetect() local
589 …= SdMmcHcRwMmio (PciIo, Slot, SD_MMC_HC_PRESENT_STATE, TRUE, sizeof (PresentState), &PresentState); in SdMmcHcCardDetect()
594 if ((PresentState & BIT16) != 0) { in SdMmcHcCardDetect()
643 UINT32 PresentState; in SdMmcHcStopClock() local
655 sizeof (PresentState), in SdMmcHcStopClock()
1388 UINT32 PresentState; in SdMmcCheckTrbEnv() local
1399 PresentState = BIT0 | BIT1; in SdMmcCheckTrbEnv()
1405 PresentState = BIT0; in SdMmcCheckTrbEnv()
1413 sizeof (PresentState), in SdMmcCheckTrbEnv()
1414 PresentState, in SdMmcCheckTrbEnv()
DXenonSdhci.c558 UINT32 IntStatus, PresentState, Rdy, Mask, Retry, Block = 0; in XenonTransferData() local
589 sizeof (PresentState), in XenonTransferData()
590 &PresentState in XenonTransferData()
593 if (!(PresentState & Mask)) { in XenonTransferData()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/
DSdDevice.c1018 UINT32 PresentState; in SdCardIdentification() local
1129 … SdMmcHcRwMmio (PciIo, Slot, SD_MMC_HC_PRESENT_STATE, TRUE, sizeof (PresentState), &PresentState); in SdCardIdentification()
1130 if (((PresentState >> 20) & 0xF) != 0) { in SdCardIdentification()
1131 …EBUG_ERROR, "SdCardIdentification: SwitchVoltage fails with PresentState = 0x%x\n", PresentState)); in SdCardIdentification()
1151 … SdMmcHcRwMmio (PciIo, Slot, SD_MMC_HC_PRESENT_STATE, TRUE, sizeof (PresentState), &PresentState); in SdCardIdentification()
1152 if (((PresentState >> 20) & 0xF) != 0xF) { in SdCardIdentification()
1153 …dIdentification: SwitchVoltage fails with PresentState = 0x%x, It should be 0xF\n", PresentState)); in SdCardIdentification()
DSdMmcPciHci.c584 UINT32 PresentState; in SdMmcHcCardDetect() local
589 …= SdMmcHcRwMmio (PciIo, Slot, SD_MMC_HC_PRESENT_STATE, TRUE, sizeof (PresentState), &PresentState); in SdMmcHcCardDetect()
594 if ((PresentState & BIT16) != 0) { in SdMmcHcCardDetect()
643 UINT32 PresentState; in SdMmcHcStopClock() local
655 sizeof (PresentState), in SdMmcHcStopClock()
1388 UINT32 PresentState; in SdMmcCheckTrbEnv() local
1399 PresentState = BIT0 | BIT1; in SdMmcCheckTrbEnv()
1405 PresentState = BIT0; in SdMmcCheckTrbEnv()
1413 sizeof (PresentState), in SdMmcCheckTrbEnv()
1414 PresentState, in SdMmcCheckTrbEnv()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/
DEmmcHci.c420 UINT32 PresentState; in EmmcPeimHcCardDetect() local
444 …tatus = EmmcPeimHcRwMmio (Bar + EMMC_HC_PRESENT_STATE, TRUE, sizeof (PresentState), &PresentState); in EmmcPeimHcCardDetect()
449 if ((PresentState & BIT16) != 0) { in EmmcPeimHcCardDetect()
473 UINT32 PresentState; in EmmcPeimHcStopClock() local
483 sizeof (PresentState), in EmmcPeimHcStopClock()
1103 UINT32 PresentState; in EmmcPeimCheckTrbEnv() local
1114 PresentState = BIT0 | BIT1; in EmmcPeimCheckTrbEnv()
1120 PresentState = BIT0; in EmmcPeimCheckTrbEnv()
1125 sizeof (PresentState), in EmmcPeimCheckTrbEnv()
1126 PresentState, in EmmcPeimCheckTrbEnv()