Lines Matching full:shm
44 * @shm: Memory pool shared with RTC device.
51 struct tee_shm *shm; member
69 param[0].u.memref.shm = priv->shm; in optee_rtc_readtime()
76 optee_tm = tee_shm_get_va(priv->shm, 0); in optee_rtc_readtime()
117 param[0].u.memref.shm = priv->shm; in optee_rtc_settime()
120 rtc_data = tee_shm_get_va(priv->shm, 0); in optee_rtc_settime()
204 param[0].u.memref.shm = priv->shm; in optee_rtc_read_info()
211 info = tee_shm_get_va(priv->shm, 0); in optee_rtc_read_info()
247 struct tee_shm *shm; in optee_rtc_probe() local
277 shm = tee_shm_alloc_kernel_buf(priv->ctx, sizeof(struct optee_rtc_info)); in optee_rtc_probe()
278 if (IS_ERR(shm)) { in optee_rtc_probe()
280 err = PTR_ERR(shm); in optee_rtc_probe()
284 priv->shm = shm; in optee_rtc_probe()
310 tee_shm_free(priv->shm); in optee_rtc_probe()