27 return (BOOLEAN)(RegRead != (UINT8)-1);
53 for (WaitTime = 0; WaitTime < TimeOut; WaitTime += 30) {
55 if (((RegRead & BitSet) == BitSet) && ((RegRead & BitClear) == 0)) {
80 OUT UINT16 *BurstCount
87 if ((BurstCount ==
NULL) || (TisReg ==
NULL)) {
88 return EFI_INVALID_PARAMETER;
99 *BurstCount = (UINT16)((DataByte1 << 8) + DataByte0);
100 if (*BurstCount != 0) {
106 }
while (WaitTime < TIS_TIMEOUT_D);
129 if (TisReg ==
NULL) {
130 return EFI_INVALID_PARAMETER;
162 if (TisReg ==
NULL) {
163 return EFI_INVALID_PARAMETER;
167 return EFI_NOT_FOUND;
UINTN EFIAPI MicroSecondDelay(IN UINTN MicroSeconds)
UINT8 EFIAPI MmioRead8(IN UINTN Address)
UINT8 EFIAPI MmioWrite8(IN UINTN Address, IN UINT8 Value)
EFI_STATUS EFIAPI Register(IN EFI_PEI_RSC_HANDLER_CALLBACK Callback)
BOOLEAN TisPcPresenceCheck(IN TIS_PC_REGISTERS_PTR TisReg)
EFI_STATUS EFIAPI TisPcWaitRegisterBits(IN UINT8 *Register, IN UINT8 BitSet, IN UINT8 BitClear, IN UINT32 TimeOut)
EFI_STATUS EFIAPI TisPcPrepareCommand(IN TIS_PC_REGISTERS_PTR TisReg)
EFI_STATUS EFIAPI TisPcRequestUseTpm(IN TIS_PC_REGISTERS_PTR TisReg)
EFI_STATUS EFIAPI TisPcReadBurstCount(IN TIS_PC_REGISTERS_PTR TisReg, OUT UINT16 *BurstCount)
#define TIS_PC_ACC_ACTIVE
#define TIS_PC_ACC_RQUUSE