Lines Matching refs:tee_shm
128 struct tee_shm *tee_shm; member
229 if (channel->tee_shm) in get_channel()
293 param[1].u.memref.shm = channel->tee_shm; in invoke_process_msg_channel()
297 param[2].u.memref.shm = channel->tee_shm; in invoke_process_msg_channel()
343 if (!channel->tee_shm) in scmi_optee_clear_channel()
352 channel->tee_shm = tee_shm_alloc_kernel_buf(scmi_optee_private->tee_ctx, msg_size); in setup_dynamic_shmem()
353 if (IS_ERR(channel->tee_shm)) { in setup_dynamic_shmem()
358 shbuf = tee_shm_get_va(channel->tee_shm, 0); in setup_dynamic_shmem()
459 if (channel->tee_shm) in scmi_optee_chan_setup()
460 tee_shm_free(channel->tee_shm); in scmi_optee_chan_setup()
476 if (channel->tee_shm) { in scmi_optee_chan_free()
477 tee_shm_free(channel->tee_shm); in scmi_optee_chan_free()
478 channel->tee_shm = NULL; in scmi_optee_chan_free()
495 if (channel->tee_shm) { in scmi_optee_send_message()
514 if (channel->tee_shm) in scmi_optee_fetch_response()