• Home
  • Raw
  • Download

Lines Matching refs:ldr_ctx

99     TSS2_TCTILDR_CONTEXT *ldr_ctx;  in tctildr_setup()  local
102 ldr_ctx = calloc (1, sizeof (TSS2_TCTILDR_CONTEXT)); in tctildr_setup()
103 TSS2_TCTI_MAGIC (ldr_ctx) = TCTILDR_MAGIC; in tctildr_setup()
104 TSS2_TCTI_VERSION (ldr_ctx) = TCTI_VERSION; in tctildr_setup()
105 TSS2_TCTI_TRANSMIT (ldr_ctx) = tctildr_transmit; in tctildr_setup()
106 TSS2_TCTI_RECEIVE (ldr_ctx) = tctildr_receive; in tctildr_setup()
107 TSS2_TCTI_CANCEL (ldr_ctx) = tctildr_cancel; in tctildr_setup()
108 TSS2_TCTI_GET_POLL_HANDLES (ldr_ctx) = tctildr_get_poll_handles; in tctildr_setup()
109 TSS2_TCTI_SET_LOCALITY (ldr_ctx) = tctildr_set_locality; in tctildr_setup()
110 TSS2_TCTI_MAKE_STICKY (ldr_ctx) = tctildr_make_sticky; in tctildr_setup()
111 ldr_ctx->library_handle = TEST_TCTI_HANDLE; in tctildr_setup()
114 ldr_ctx->tcti = (TSS2_TCTI_CONTEXT*)tmp; in tctildr_setup()
115 TSS2_TCTI_MAGIC (ldr_ctx->tcti) = TEST_MAGIC; in tctildr_setup()
116 TSS2_TCTI_VERSION (ldr_ctx->tcti) = TEST_VERSION; in tctildr_setup()
117 TSS2_TCTI_TRANSMIT (ldr_ctx->tcti) = tctildr_mock_transmit; in tctildr_setup()
118 TSS2_TCTI_RECEIVE (ldr_ctx->tcti) = tctildr_mock_receive; in tctildr_setup()
119 TSS2_TCTI_CANCEL (ldr_ctx->tcti) = tctildr_mock_cancel; in tctildr_setup()
120 TSS2_TCTI_GET_POLL_HANDLES (ldr_ctx->tcti) = tctildr_mock_get_poll_handles; in tctildr_setup()
121 TSS2_TCTI_SET_LOCALITY (ldr_ctx->tcti) = tctildr_mock_set_locality; in tctildr_setup()
122 TSS2_TCTI_MAKE_STICKY (ldr_ctx->tcti) = tctildr_mock_make_sticky; in tctildr_setup()
124 *state = ldr_ctx; in tctildr_setup()