Home
last modified time | relevance | path

Searched refs:TisReg (Results 1 – 8 of 8) sorted by relevance

/device/linaro/bootloader/edk2/SecurityPkg/Library/TpmCommLib/
DTisPc.c27 IN TIS_PC_REGISTERS_PTR TisReg in TisPcPresenceCheck() argument
32 RegRead = MmioRead8 ((UINTN)&TisReg->Access); in TisPcPresenceCheck()
82 IN TIS_PC_REGISTERS_PTR TisReg, in TisPcReadBurstCount() argument
90 if (BurstCount == NULL || TisReg == NULL) { in TisPcReadBurstCount()
100 DataByte0 = MmioRead8 ((UINTN)&TisReg->BurstCount); in TisPcReadBurstCount()
101 DataByte1 = MmioRead8 ((UINTN)&TisReg->BurstCount + 1); in TisPcReadBurstCount()
126 IN TIS_PC_REGISTERS_PTR TisReg in TisPcPrepareCommand() argument
131 if (TisReg == NULL) { in TisPcPrepareCommand()
135 MmioWrite8((UINTN)&TisReg->Status, TIS_PC_STS_READY); in TisPcPrepareCommand()
137 &TisReg->Status, in TisPcPrepareCommand()
[all …]
/device/linaro/bootloader/edk2/SecurityPkg/Library/Tpm12DeviceLibDTpm/
DTpm12Tis.c200 IN TIS_PC_REGISTERS_PTR TisReg in Tpm12TisPcPresenceCheck() argument
205 RegRead = MmioRead8 ((UINTN)&TisReg->Access); in Tpm12TisPcPresenceCheck()
253 IN TIS_PC_REGISTERS_PTR TisReg, in Tpm12TisPcReadBurstCount() argument
261 if (BurstCount == NULL || TisReg == NULL) { in Tpm12TisPcReadBurstCount()
271 DataByte0 = MmioRead8 ((UINTN)&TisReg->BurstCount); in Tpm12TisPcReadBurstCount()
272 DataByte1 = MmioRead8 ((UINTN)&TisReg->BurstCount + 1); in Tpm12TisPcReadBurstCount()
296 IN TIS_PC_REGISTERS_PTR TisReg in Tpm12TisPcPrepareCommand() argument
301 if (TisReg == NULL) { in Tpm12TisPcPrepareCommand()
305 MmioWrite8((UINTN)&TisReg->Status, TIS_PC_STS_READY); in Tpm12TisPcPrepareCommand()
307 &TisReg->Status, in Tpm12TisPcPrepareCommand()
[all …]
/device/linaro/bootloader/edk2/SecurityPkg/Library/Tpm2DeviceLibDTpm/
DTpm2Tis.c206 IN TIS_PC_REGISTERS_PTR TisReg in TisPcPresenceCheck() argument
211 RegRead = MmioRead8 ((UINTN)&TisReg->Access); in TisPcPresenceCheck()
259 IN TIS_PC_REGISTERS_PTR TisReg, in TisPcReadBurstCount() argument
267 if (BurstCount == NULL || TisReg == NULL) { in TisPcReadBurstCount()
277 DataByte0 = MmioRead8 ((UINTN)&TisReg->BurstCount); in TisPcReadBurstCount()
278 DataByte1 = MmioRead8 ((UINTN)&TisReg->BurstCount + 1); in TisPcReadBurstCount()
302 IN TIS_PC_REGISTERS_PTR TisReg in TisPcPrepareCommand() argument
307 if (TisReg == NULL) { in TisPcPrepareCommand()
311 MmioWrite8((UINTN)&TisReg->Status, TIS_PC_STS_READY); in TisPcPrepareCommand()
313 &TisReg->Status, in TisPcPrepareCommand()
[all …]
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TcgPei/
DTisPei.c42 IN TIS_PC_REGISTERS_PTR TisReg, in TisTpmCommand() argument
56 Status = TisPcPrepareCommand (TisReg); in TisTpmCommand()
66 Status = TisPcReadBurstCount (TisReg, &BurstCount); in TisTpmCommand()
72 MmioWrite8((UINTN)&TisReg->DataFifo, *(BufferIn + Index)); in TisTpmCommand()
80 &TisReg->Status, in TisTpmCommand()
93 MmioWrite8((UINTN)&TisReg->Status, TIS_PC_STS_GO); in TisTpmCommand()
95 &TisReg->Status, in TisTpmCommand()
111 Status = TisPcReadBurstCount (TisReg, &BurstCount); in TisTpmCommand()
117 *(BufferOut + Index) = MmioRead8 ((UINTN)&TisReg->DataFifo); in TisTpmCommand()
143 *(BufferOut + Index) = MmioRead8 ((UINTN)&TisReg->DataFifo); in TisTpmCommand()
[all …]
DTpmComm.c36 IN TIS_PC_REGISTERS_PTR TisReg,
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TcgDxe/
DTisDxe.c38 IN TIS_PC_REGISTERS_PTR TisReg, in TisPcSend() argument
47 Status = TisPcPrepareCommand (TisReg); in TisPcSend()
54 Status = TisPcReadBurstCount (TisReg, &BurstCount); in TisPcSend()
59 MmioWrite8 ((UINTN) &TisReg->DataFifo, *(TpmBuffer + Index)); in TisPcSend()
67 &TisReg->Status, in TisPcSend()
90 IN TIS_PC_REGISTERS_PTR TisReg, in TisPcReceive() argument
105 &TisReg->Status, in TisPcReceive()
119 Status = TisPcReadBurstCount (TisReg, &BurstCount); in TisPcReceive()
124 *(TpmBuffer + Index) = MmioRead8 ((UINTN) &TisReg->DataFifo); in TisPcReceive()
150 *(TpmBuffer + Index) = MmioRead8 ((UINTN) &TisReg->DataFifo); in TisPcReceive()
[all …]
DTpmComm.h94 IN TIS_TPM_HANDLE TisReg,
/device/linaro/bootloader/edk2/SecurityPkg/Include/Library/
DTpmCommLib.h232 IN TIS_PC_REGISTERS_PTR TisReg,
249 IN TIS_PC_REGISTERS_PTR TisReg
266 IN TIS_PC_REGISTERS_PTR TisReg