25 return PcdGet8 (PcdCRBIdleByPass);
33TPM2_PTP_INTERFACE_TYPE
38 return PcdGet8 (PcdActiveTpmInterfaceType);
51 TPM2_PTP_INTERFACE_TYPE PtpInterface;
57 if (
PcdGet8 (PcdActiveTpmInterfaceType) == 0xFF) {
59 PcdSet8S (PcdActiveTpmInterfaceType, PtpInterface);
62 if ((
PcdGet8 (PcdActiveTpmInterfaceType) == Tpm2PtpInterfaceCrb) && (
PcdGet8 (PcdCRBIdleByPass) == 0xFF)) {
64 PcdSet8S (PcdCRBIdleByPass, IdleByPass);
#define PcdGet64(TokenName)
#define PcdGet8(TokenName)
#define PcdSet8S(TokenName, Value)
UINT8 Tpm2GetIdleByPass(IN VOID *Register)
TPM2_PTP_INTERFACE_TYPE Tpm2GetPtpInterface(IN VOID *Register)
TPM2_PTP_INTERFACE_TYPE GetCachedPtpInterface(VOID)
EFI_STATUS InternalTpm2DeviceLibDTpmCommonConstructor(VOID)
UINT8 GetCachedIdleByPass(VOID)