Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/firmware/arm_scmi/
Doptee.c143 struct tee_context *tee_ctx; member
166 ret = tee_client_open_session(agent->tee_ctx, &arg, NULL); in open_session()
179 tee_client_close_session(agent->tee_ctx, tee_session); in close_session()
200 ret = tee_client_invoke_func(agent->tee_ctx, &arg, param); in get_capabilities()
242 ret = tee_client_invoke_func(scmi_optee_private->tee_ctx, &arg, param); in get_channel()
269 ret = tee_client_invoke_func(scmi_optee_private->tee_ctx, &arg, param); in invoke_process_smt_channel()
300 ret = tee_client_invoke_func(scmi_optee_private->tee_ctx, &arg, param); in invoke_process_msg_channel()
352 channel->tee_shm = tee_shm_alloc_kernel_buf(scmi_optee_private->tee_ctx, msg_size); in setup_dynamic_shmem()
547 struct tee_context *tee_ctx; in scmi_optee_service_probe() local
556 tee_ctx = tee_client_open_context(NULL, scmi_optee_ctx_match, NULL, NULL); in scmi_optee_service_probe()
[all …]
/Linux-v6.6/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()