Home
last modified time | relevance | path

Searched refs:device_shm (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/tee/optee/
H A Ddevice.c23 struct tee_shm *device_shm, u32 *shm_size, in get_devices() argument
39 param[0].u.memref.shm = device_shm; in get_devices()
109 struct tee_shm *device_shm = NULL; in __optee_enumerate_devices() local
138 device_shm = tee_shm_alloc_kernel_buf(ctx, shm_size); in __optee_enumerate_devices()
139 if (IS_ERR(device_shm)) { in __optee_enumerate_devices()
141 rc = PTR_ERR(device_shm); in __optee_enumerate_devices()
145 rc = get_devices(ctx, sess_arg.session, device_shm, &shm_size, func); in __optee_enumerate_devices()
149 device_uuid = tee_shm_get_va(device_shm, 0); in __optee_enumerate_devices()
165 tee_shm_free(device_shm); in __optee_enumerate_devices()