Lines Matching refs:tee_shm
131 struct tee_shm *tee_shm; member
231 if (channel->tee_shm) in get_channel()
295 param[1].u.memref.shm = channel->tee_shm; in invoke_process_msg_channel()
299 param[2].u.memref.shm = channel->tee_shm; in invoke_process_msg_channel()
327 if (!channel->tee_shm) in scmi_optee_clear_channel()
336 channel->tee_shm = tee_shm_alloc_kernel_buf(scmi_optee_private->tee_ctx, msg_size); in setup_dynamic_shmem()
337 if (IS_ERR(channel->tee_shm)) { in setup_dynamic_shmem()
342 shbuf = tee_shm_get_va(channel->tee_shm, 0); in setup_dynamic_shmem()
421 if (channel->tee_shm) in scmi_optee_chan_setup()
422 tee_shm_free(channel->tee_shm); in scmi_optee_chan_setup()
445 if (channel->tee_shm) { in scmi_optee_chan_free()
446 tee_shm_free(channel->tee_shm); in scmi_optee_chan_free()
447 channel->tee_shm = NULL; in scmi_optee_chan_free()
464 if (channel->tee_shm) { in scmi_optee_send_message()
485 if (channel->tee_shm) in scmi_optee_fetch_response()