Lines Matching refs:TPM_SUCCESS

45 static uint32_t fail_with_error = TPM_SUCCESS;
92 return (++mock_count == fail_at_count) ? fail_with_error : TPM_SUCCESS; in TlclLibInit()
98 return (++mock_count == fail_at_count) ? fail_with_error : TPM_SUCCESS; in TlclStartup()
104 return (++mock_count == fail_at_count) ? fail_with_error : TPM_SUCCESS; in TlclResume()
110 return (++mock_count == fail_at_count) ? fail_with_error : TPM_SUCCESS; in TlclForceClear()
116 return (++mock_count == fail_at_count) ? fail_with_error : TPM_SUCCESS; in TlclSetEnable()
122 return (++mock_count == fail_at_count) ? fail_with_error : TPM_SUCCESS; in TlclSetDeactivated()
142 return (++mock_count == fail_at_count) ? fail_with_error : TPM_SUCCESS; in TlclRead()
160 return (++mock_count == fail_at_count) ? fail_with_error : TPM_SUCCESS; in TlclWrite()
167 return (++mock_count == fail_at_count) ? fail_with_error : TPM_SUCCESS; in TlclDefineSpace()
173 return (++mock_count == fail_at_count) ? fail_with_error : TPM_SUCCESS; in TlclSelfTestFull()
179 return (++mock_count == fail_at_count) ? fail_with_error : TPM_SUCCESS; in TlclContinueSelfTest()
186 return (++mock_count == fail_at_count) ? fail_with_error : TPM_SUCCESS; in TlclGetPermanentFlags()
194 return (++mock_count == fail_at_count) ? fail_with_error : TPM_SUCCESS; in TlclAssertPhysicalPresence()
201 return (++mock_count == fail_at_count) ? fail_with_error : TPM_SUCCESS; in TlclFinalizePhysicalPresence()
207 return (++mock_count == fail_at_count) ? fail_with_error : TPM_SUCCESS; in TlclPhysicalPresenceCMDEnable()
214 return (++mock_count == fail_at_count) ? fail_with_error : TPM_SUCCESS; in TlclSetNvLocked()
220 return (++mock_count == fail_at_count) ? fail_with_error : TPM_SUCCESS; in TlclSetGlobalLock()
226 return (++mock_count == fail_at_count) ? fail_with_error : TPM_SUCCESS; in TlclLockPhysicalPresence()
233 return (++mock_count == fail_at_count) ? fail_with_error : TPM_SUCCESS; in TlclGetPermissions()