REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 Apply uncrustify changes to .c/.h files in the SecurityPkg package Cc: Andrew Fish <afish@apple.com> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
		
			
				
	
	
		
			68 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			68 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
/** @file
 | 
						|
  This header file includes common internal fuction prototypes.
 | 
						|
 | 
						|
Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved. <BR>
 | 
						|
Copyright (c) Microsoft Corporation.
 | 
						|
SPDX-License-Identifier: BSD-2-Clause-Patent
 | 
						|
 | 
						|
**/
 | 
						|
 | 
						|
#ifndef _TPM2_DEVICE_LIB_DTPM_H_
 | 
						|
#define _TPM2_DEVICE_LIB_DTPM_H_
 | 
						|
 | 
						|
/**
 | 
						|
  Return PTP interface type.
 | 
						|
 | 
						|
  @param[in] Register                Pointer to PTP register.
 | 
						|
 | 
						|
  @return PTP interface type.
 | 
						|
**/
 | 
						|
TPM2_PTP_INTERFACE_TYPE
 | 
						|
Tpm2GetPtpInterface (
 | 
						|
  IN VOID  *Register
 | 
						|
  );
 | 
						|
 | 
						|
/**
 | 
						|
  Return PTP CRB interface IdleByPass state.
 | 
						|
 | 
						|
  @param[in] Register                Pointer to PTP register.
 | 
						|
 | 
						|
  @return PTP CRB interface IdleByPass state.
 | 
						|
**/
 | 
						|
UINT8
 | 
						|
Tpm2GetIdleByPass (
 | 
						|
  IN VOID  *Register
 | 
						|
  );
 | 
						|
 | 
						|
/**
 | 
						|
  Return cached PTP interface type.
 | 
						|
 | 
						|
  @return Cached PTP interface type.
 | 
						|
**/
 | 
						|
TPM2_PTP_INTERFACE_TYPE
 | 
						|
GetCachedPtpInterface (
 | 
						|
  VOID
 | 
						|
  );
 | 
						|
 | 
						|
/**
 | 
						|
  Return cached PTP CRB interface IdleByPass state.
 | 
						|
 | 
						|
  @return Cached PTP CRB interface IdleByPass state.
 | 
						|
**/
 | 
						|
UINT8
 | 
						|
GetCachedIdleByPass (
 | 
						|
  VOID
 | 
						|
  );
 | 
						|
 | 
						|
/**
 | 
						|
  The common function cache current active TpmInterfaceType when needed.
 | 
						|
 | 
						|
  @retval EFI_SUCCESS   DTPM2.0 instance is registered, or system does not support register DTPM2.0 instance
 | 
						|
**/
 | 
						|
EFI_STATUS
 | 
						|
InternalTpm2DeviceLibDTpmCommonConstructor (
 | 
						|
  VOID
 | 
						|
  );
 | 
						|
 | 
						|
#endif // _TPM2_DEVICE_LIB_DTPM_H_
 |