Lines Matching defs:tee_shm
114 * @tee_shm: TEE shared memory handle @req or NULL if using IOMEM shmem
128 struct tee_shm *tee_shm;
229 if (channel->tee_shm)
293 param[1].u.memref.shm = channel->tee_shm;
297 param[2].u.memref.shm = channel->tee_shm;
343 if (!channel->tee_shm)
352 channel->tee_shm = tee_shm_alloc_kernel_buf(scmi_optee_private->tee_ctx, msg_size);
353 if (IS_ERR(channel->tee_shm)) {
358 shbuf = tee_shm_get_va(channel->tee_shm, 0);
459 if (channel->tee_shm)
460 tee_shm_free(channel->tee_shm);
476 if (channel->tee_shm) {
477 tee_shm_free(channel->tee_shm);
478 channel->tee_shm = NULL;
495 if (channel->tee_shm) {
514 if (channel->tee_shm)