Lines Matching defs:shm
155 u32 get_buffer_id(struct tee_shm *shm)
157 struct amdtee_context_data *ctxdata = shm->ctx->data;
163 if (shmdata->kaddr == shm->kaddr) {
343 int amdtee_map_shmem(struct tee_shm *shm)
351 if (!shm)
359 shmem.kaddr = shm->kaddr;
360 shmem.size = shm->size;
373 shmnode->kaddr = shm->kaddr;
375 ctxdata = shm->ctx->data;
385 void amdtee_unmap_shmem(struct tee_shm *shm)
391 if (!shm)
394 buf_id = get_buffer_id(shm);
398 ctxdata = shm->ctx->data;