Home
last modified time | relevance | path

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

/openbmc/linux/drivers/firmware/arm_scmi/
H A 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()
554 struct tee_context *tee_ctx; in scmi_optee_service_probe() local
564 if (IS_ERR(tee_ctx)) in scmi_optee_service_probe()
574 agent->tee_ctx = tee_ctx; in scmi_optee_service_probe()
589 tee_client_close_context(tee_ctx); in scmi_optee_service_probe()
[all …]
/openbmc/linux/drivers/nvmem/
H A 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()