TianoCore EDK2 master
Loading...
Searching...
No Matches
Tpm2DeviceLibDTpm.h File Reference

Go to the source code of this file.

Functions

TPM2_PTP_INTERFACE_TYPE Tpm2GetPtpInterface (IN VOID *Register)
 
UINT8 Tpm2GetIdleByPass (IN VOID *Register)
 
TPM2_PTP_INTERFACE_TYPE GetCachedPtpInterface (VOID)
 
UINT8 GetCachedIdleByPass (VOID)
 
EFI_STATUS InternalTpm2DeviceLibDTpmCommonConstructor (VOID)
 

Detailed Description

This header file includes common internal fuction prototypes.

Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.
Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file Tpm2DeviceLibDTpm.h.

Function Documentation

◆ GetCachedIdleByPass()

UINT8 GetCachedIdleByPass ( VOID  )

Return cached PTP CRB interface IdleByPass state.

Returns
Cached PTP CRB interface IdleByPass state.

Definition at line 21 of file Tpm2DeviceLibDTpmBase.c.

◆ GetCachedPtpInterface()

TPM2_PTP_INTERFACE_TYPE GetCachedPtpInterface ( VOID  )

Return cached PTP interface type.

Returns
Cached PTP interface type.

Definition at line 34 of file Tpm2DeviceLibDTpmBase.c.

◆ InternalTpm2DeviceLibDTpmCommonConstructor()

EFI_STATUS InternalTpm2DeviceLibDTpmCommonConstructor ( VOID  )

The common function cache current active TpmInterfaceType when needed.

Return values
EFI_SUCCESSDTPM2.0 instance is registered, or system does not support register DTPM2.0 instance

Definition at line 47 of file Tpm2DeviceLibDTpmBase.c.

◆ Tpm2GetIdleByPass()

UINT8 Tpm2GetIdleByPass ( IN VOID *  Register)

Return PTP CRB interface IdleByPass state.

Parameters
[in]RegisterPointer to PTP register.
Returns
PTP CRB interface IdleByPass state.

Definition at line 482 of file Tpm2Ptp.c.

◆ Tpm2GetPtpInterface()

TPM2_PTP_INTERFACE_TYPE Tpm2GetPtpInterface ( IN VOID *  Register)

Return PTP interface type.

Parameters
[in]RegisterPointer to PTP register.
Returns
PTP interface type.

Definition at line 435 of file Tpm2Ptp.c.