Home
last modified time | relevance | path

Searched refs:RegRead (Results 1 – 5 of 5) sorted by relevance

/device/linaro/bootloader/edk2/SecurityPkg/Library/TpmCommLib/
DTisPc.c30 UINT8 RegRead; in TisPcPresenceCheck() local
32 RegRead = MmioRead8 ((UINTN)&TisReg->Access); in TisPcPresenceCheck()
33 return (BOOLEAN)(RegRead != (UINT8)-1); in TisPcPresenceCheck()
56 UINT8 RegRead; in TisPcWaitRegisterBits() local
60 RegRead = MmioRead8 ((UINTN)Register); in TisPcWaitRegisterBits()
61 if ((RegRead & BitSet) == BitSet && (RegRead & BitClear) == 0) in TisPcWaitRegisterBits()
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Config/
DTpmDetection.c42 UINT8 RegRead; in IsDtpmPresent() local
44 RegRead = MmioRead8 ((UINTN)PcdGet64 (PcdTpmBaseAddress)); in IsDtpmPresent()
45 if (RegRead == 0xFF) { in IsDtpmPresent()
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEEConfig/
DTpmDetection.c42 UINT8 RegRead; in IsDtpmPresent() local
44 RegRead = MmioRead8 ((UINTN)PcdGet64 (PcdTpmBaseAddress)); in IsDtpmPresent()
45 if (RegRead == 0xFF) { in IsDtpmPresent()
/device/linaro/bootloader/edk2/SecurityPkg/Library/Tpm12DeviceLibDTpm/
DTpm12Tis.c203 UINT8 RegRead; in Tpm12TisPcPresenceCheck() local
205 RegRead = MmioRead8 ((UINTN)&TisReg->Access); in Tpm12TisPcPresenceCheck()
206 return (BOOLEAN)(RegRead != (UINT8)-1); in Tpm12TisPcPresenceCheck()
228 UINT8 RegRead; in Tpm12TisPcWaitRegisterBits() local
232 RegRead = MmioRead8 ((UINTN)Register); in Tpm12TisPcWaitRegisterBits()
233 if ((RegRead & BitSet) == BitSet && (RegRead & BitClear) == 0) in Tpm12TisPcWaitRegisterBits()
/device/linaro/bootloader/edk2/SecurityPkg/Library/Tpm2DeviceLibDTpm/
DTpm2Tis.c209 UINT8 RegRead; in TisPcPresenceCheck() local
211 RegRead = MmioRead8 ((UINTN)&TisReg->Access); in TisPcPresenceCheck()
212 return (BOOLEAN)(RegRead != (UINT8)-1); in TisPcPresenceCheck()
234 UINT8 RegRead; in TisPcWaitRegisterBits() local
238 RegRead = MmioRead8 ((UINTN)Register); in TisPcWaitRegisterBits()
239 if ((RegRead & BitSet) == BitSet && (RegRead & BitClear) == 0) in TisPcWaitRegisterBits()