Lines Matching refs:tee_session
121 u32 tee_session; member
158 static int open_session(struct scmi_optee_agent *agent, u32 *tee_session) in open_session() argument
174 *tee_session = arg.session; in open_session()
179 static void close_session(struct scmi_optee_agent *agent, u32 tee_session) in close_session() argument
181 tee_client_close_session(agent->tee_ctx, tee_session); in close_session()
189 u32 tee_session; in get_capabilities() local
192 ret = open_session(agent, &tee_session); in get_capabilities()
197 arg.session = tee_session; in get_capabilities()
204 close_session(agent, tee_session); in get_capabilities()
237 arg.session = channel->tee_session; in get_channel()
262 .session = channel->tee_session, in invoke_process_smt_channel()
285 .session = channel->tee_session, in invoke_process_msg_channel()
397 ret = open_session(scmi_optee_private, &channel->tee_session); in scmi_optee_chan_setup()
401 ret = tee_client_system_session(scmi_optee_private->tee_ctx, channel->tee_session); in scmi_optee_chan_setup()
419 close_session(scmi_optee_private, channel->tee_session); in scmi_optee_chan_setup()
443 close_session(scmi_optee_private, channel->tee_session); in scmi_optee_chan_free()