Lines Matching refs:tbs_rc
117 TBS_RESULT tbs_rc; in tcti_tbs_receive() local
149 tbs_rc = Tbsip_Submit_Command (tcti_tbs->hContext, in tcti_tbs_receive()
156 if (tbs_rc != TBS_SUCCESS) { in tcti_tbs_receive()
157 LOG_ERROR ("Failed to submit command to TBS with error: 0x%x", tbs_rc); in tcti_tbs_receive()
192 TBS_RESULT tbs_rc; in tcti_tbs_finalize() local
203 tbs_rc = Tbsip_Context_Close (tcti_tbs->hContext); in tcti_tbs_finalize()
204 if (tbs_rc != TBS_SUCCESS) { in tcti_tbs_finalize()
205 LOG_WARNING ("Failed to close context with TBS error: 0x%x", tbs_rc); in tcti_tbs_finalize()
215 TBS_RESULT tbs_rc; in tcti_tbs_cancel() local
219 tbs_rc = Tbsip_Cancel_Commands (tcti_tbs->hContext); in tcti_tbs_cancel()
220 if (tbs_rc != TBS_SUCCESS) { in tcti_tbs_cancel()
221 LOG_WARNING ("Failed to cancel commands with TBS error: 0x%x", tbs_rc); in tcti_tbs_cancel()
262 TBS_RESULT tbs_rc; in Tss2_Tcti_Tbs_Init() local
294 tbs_rc = Tbsi_Context_Create ((PCTBS_CONTEXT_PARAMS)¶ms, &(tcti_tbs->hContext)); in Tss2_Tcti_Tbs_Init()
295 if (tbs_rc != TBS_SUCCESS) { in Tss2_Tcti_Tbs_Init()
296 LOG_WARNING ("Failed to create context with TBS error: 0x%x", tbs_rc); in Tss2_Tcti_Tbs_Init()
300 tbs_rc = Tbsi_GetDeviceInfo (sizeof (info), &info); in Tss2_Tcti_Tbs_Init()
301 if (tbs_rc != TBS_SUCCESS) { in Tss2_Tcti_Tbs_Init()
302 LOG_WARNING ("Failed to get device information with TBS error: 0x%x", tbs_rc); in Tss2_Tcti_Tbs_Init()