Searched refs:tee_ctx (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/platform/x86/amd/pmf/ |
| H A D | tee-if.c | 249 if (!dev->tee_ctx) in amd_pmf_invoke_cmd_enact() 264 ret = tee_client_invoke_func(dev->tee_ctx, &arg, param); in amd_pmf_invoke_cmd_enact() 288 if (!dev->tee_ctx) { in amd_pmf_invoke_cmd_init() 310 ret = tee_client_invoke_func(dev->tee_ctx, &arg, param); in amd_pmf_invoke_cmd_init() 488 dev->tee_ctx = tee_client_open_context(NULL, amd_pmf_amdtee_ta_match, NULL, NULL); in amd_pmf_tee_init() 489 if (IS_ERR(dev->tee_ctx)) { in amd_pmf_tee_init() 491 ret = PTR_ERR(dev->tee_ctx); in amd_pmf_tee_init() 492 dev->tee_ctx = NULL; in amd_pmf_tee_init() 496 ret = amd_pmf_ta_open_session(dev->tee_ctx, &dev->session_id, uuid); in amd_pmf_tee_init() 504 dev->fw_shm_pool = tee_shm_alloc_kernel_buf(dev->tee_ctx, size); in amd_pmf_tee_init() [all …]
|
| H A D | pmf.h | 397 struct tee_context *tee_ctx; member
|
| /linux/drivers/nvmem/ |
| H A D | stm32-bsec-optee-ta.c | 103 struct tee_context *tee_ctx; in stm32_bsec_optee_ta_open() local 108 tee_ctx = tee_client_open_context(NULL, stm32_bsec_optee_ta_match, NULL, NULL); in stm32_bsec_optee_ta_open() 109 if (IS_ERR(tee_ctx)) { in stm32_bsec_optee_ta_open() 110 rc = PTR_ERR(tee_ctx); in stm32_bsec_optee_ta_open() 119 rc = stm32_bsec_ta_open_session(tee_ctx, &session_id); in stm32_bsec_optee_ta_open() 121 tee_client_close_context(tee_ctx); in stm32_bsec_optee_ta_open() 125 stm32_bsec_ta_close_session(tee_ctx, session_id); in stm32_bsec_optee_ta_open() 127 *ctx = tee_ctx; in stm32_bsec_optee_ta_open()
|