Home
last modified time | relevance | path

Searched refs:tee_ctx (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/firmware/arm_scmi/transports/
Doptee.c146 struct tee_context *tee_ctx; member
168 ret = tee_client_open_session(agent->tee_ctx, &arg, NULL); in open_session()
181 tee_client_close_session(agent->tee_ctx, tee_session); in close_session()
202 ret = tee_client_invoke_func(agent->tee_ctx, &arg, param); in get_capabilities()
244 ret = tee_client_invoke_func(scmi_optee_private->tee_ctx, &arg, param); in get_channel()
271 ret = tee_client_invoke_func(scmi_optee_private->tee_ctx, &arg, param); in invoke_process_smt_channel()
302 ret = tee_client_invoke_func(scmi_optee_private->tee_ctx, &arg, param); in invoke_process_msg_channel()
336 channel->tee_shm = tee_shm_alloc_kernel_buf(scmi_optee_private->tee_ctx, msg_size); in setup_dynamic_shmem()
400 ret = tee_client_system_session(scmi_optee_private->tee_ctx, channel->tee_session); in scmi_optee_chan_setup()
532 struct tee_context *tee_ctx; in scmi_optee_service_probe() local
[all …]
/linux-6.12.1/drivers/nvmem/
Dstm32-bsec-optee-ta.c103 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()
/linux-6.12.1/drivers/platform/x86/amd/pmf/
Dtee-if.c216 if (!dev->tee_ctx) in amd_pmf_invoke_cmd_enact()
231 ret = tee_client_invoke_func(dev->tee_ctx, &arg, param); in amd_pmf_invoke_cmd_enact()
255 if (!dev->tee_ctx) { in amd_pmf_invoke_cmd_init()
277 ret = tee_client_invoke_func(dev->tee_ctx, &arg, param); in amd_pmf_invoke_cmd_init()
442 dev->tee_ctx = tee_client_open_context(NULL, amd_pmf_amdtee_ta_match, NULL, NULL); in amd_pmf_tee_init()
443 if (IS_ERR(dev->tee_ctx)) { in amd_pmf_tee_init()
445 return PTR_ERR(dev->tee_ctx); in amd_pmf_tee_init()
448 ret = amd_pmf_ta_open_session(dev->tee_ctx, &dev->session_id); in amd_pmf_tee_init()
456 dev->fw_shm_pool = tee_shm_alloc_kernel_buf(dev->tee_ctx, size); in amd_pmf_tee_init()
476 tee_client_close_session(dev->tee_ctx, dev->session_id); in amd_pmf_tee_init()
[all …]
Dpmf.h359 struct tee_context *tee_ctx; member