Lines Matching refs:tee_ctx
143 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()
557 if (IS_ERR(tee_ctx)) in scmi_optee_service_probe()
567 agent->tee_ctx = tee_ctx; in scmi_optee_service_probe()
582 tee_client_close_context(tee_ctx); in scmi_optee_service_probe()
600 tee_client_close_context(agent->tee_ctx); in scmi_optee_service_remove()