]>
git.proxmox.com Git - mirror_edk2.git/blob - SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.h
2 This header file includes common internal fuction prototypes.
4 Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved. <BR>
5 Copyright (c) Microsoft Corporation.
6 SPDX-License-Identifier: BSD-2-Clause-Patent
10 #ifndef _TPM2_DEVICE_LIB_DTPM_H_
11 #define _TPM2_DEVICE_LIB_DTPM_H_
14 Return PTP interface type.
16 @param[in] Register Pointer to PTP register.
18 @return PTP interface type.
20 TPM2_PTP_INTERFACE_TYPE
26 Return PTP CRB interface IdleByPass state.
28 @param[in] Register Pointer to PTP register.
30 @return PTP CRB interface IdleByPass state.
38 Return cached PTP interface type.
40 @return Cached PTP interface type.
42 TPM2_PTP_INTERFACE_TYPE
43 GetCachedPtpInterface (
48 Return cached PTP CRB interface IdleByPass state.
50 @return Cached PTP CRB interface IdleByPass state.
58 The common function cache current active TpmInterfaceType when needed.
60 @retval EFI_SUCCESS DTPM2.0 instance is registered, or system does not support register DTPM2.0 instance
63 InternalTpm2DeviceLibDTpmCommonConstructor (
67 #endif // _TPM2_DEVICE_LIB_DTPM_H_