Lines Matching refs:TPM_SUCCESS
43 if ((result_ = (tpm_command)) != TPM_SUCCESS) { \
58 return TPM_SUCCESS; in TPMClearAndReenable()
92 if (r != TPM_SUCCESS) in ReadSpaceFirmware()
105 return TPM_SUCCESS; in ReadSpaceFirmware()
115 return TPM_SUCCESS; in ReadSpaceFirmware()
139 if (r != TPM_SUCCESS) in WriteSpaceFirmware()
144 if (r == TPM_SUCCESS) in WriteSpaceFirmware()
160 if (TPM_SUCCESS != ReadSpaceFirmware(&rsf)) in SetVirtualDevMode()
174 if (TPM_SUCCESS != WriteSpaceFirmware(&rsf)) in SetVirtualDevMode()
188 if (r != TPM_SUCCESS) in ReadSpaceKernel()
201 return TPM_SUCCESS; in ReadSpaceKernel()
210 return TPM_SUCCESS; in ReadSpaceKernel()
234 if (r != TPM_SUCCESS) in WriteSpaceKernel()
239 if (r == TPM_SUCCESS) in WriteSpaceKernel()
274 if (result != TPM_SUCCESS) in OneTimeInitializeTPM()
278 if (result != TPM_SUCCESS) in OneTimeInitializeTPM()
327 return TPM_SUCCESS; in OneTimeInitializeTPM()
371 } else if (result != TPM_SUCCESS) { in SetupTPM()
399 if (result != TPM_SUCCESS) { in SetupTPM()
431 } else if (TPM_SUCCESS != result) { in SetupTPM()
481 return TPM_SUCCESS; in SetupTPM()
498 return TPM_SUCCESS; in RollbackS3Resume()
517 return TPM_SUCCESS; in RollbackFirmwareSetup()
522 return TPM_SUCCESS; in RollbackFirmwareWrite()
527 return TPM_SUCCESS; in RollbackFirmwareLock()
533 return TPM_SUCCESS; in RollbackKernelRead()
538 return TPM_SUCCESS; in RollbackKernelWrite()
543 return TPM_SUCCESS; in RollbackBackupRead()
548 return TPM_SUCCESS; in RollbackBackupWrite()
553 return TPM_SUCCESS; in RollbackKernelLock()
568 return TPM_SUCCESS; in RollbackS3Resume()
588 return TPM_SUCCESS; in RollbackFirmwareSetup()
630 return TPM_SUCCESS; in RollbackKernelRead()
671 return TPM_SUCCESS; in RollbackKernelLock()