Lines Matching defs:shm
152 u32 get_buffer_id(struct tee_shm *shm)
154 struct amdtee_context_data *ctxdata = shm->ctx->data;
160 if (shmdata->kaddr == shm->kaddr) {
340 int amdtee_map_shmem(struct tee_shm *shm)
348 if (!shm)
356 shmem.kaddr = shm->kaddr;
357 shmem.size = shm->size;
370 shmnode->kaddr = shm->kaddr;
372 ctxdata = shm->ctx->data;
382 void amdtee_unmap_shmem(struct tee_shm *shm)
388 if (!shm)
391 buf_id = get_buffer_id(shm);
395 ctxdata = shm->ctx->data;