Lines Matching refs:shm
310 typedef int (*tee_shm_register_t)(const struct device *dev, struct tee_shm *shm);
319 typedef int (*tee_shm_unregister_t)(const struct device *dev, struct tee_shm *shm);
519 int tee_rm_shm(const struct device *dev, struct tee_shm *shm);
537 uint32_t flags, struct tee_shm **shm);
540 uint32_t flags, struct tee_shm **shm) in z_impl_tee_shm_register() argument
543 return tee_add_shm(dev, addr, 0, size, flags | TEE_SHM_REGISTER, shm); in z_impl_tee_shm_register()
558 __syscall int tee_shm_unregister(const struct device *dev, struct tee_shm *shm);
560 static inline int z_impl_tee_shm_unregister(const struct device *dev, struct tee_shm *shm) in z_impl_tee_shm_unregister() argument
562 return tee_rm_shm(dev, shm); in z_impl_tee_shm_unregister()
580 struct tee_shm **shm);
583 struct tee_shm **shm) in z_impl_tee_shm_alloc() argument
585 return tee_add_shm(dev, NULL, 0, size, flags | TEE_SHM_ALLOC | TEE_SHM_REGISTER, shm); in z_impl_tee_shm_alloc()
600 __syscall int tee_shm_free(const struct device *dev, struct tee_shm *shm);
602 static inline int z_impl_tee_shm_free(const struct device *dev, struct tee_shm *shm) in z_impl_tee_shm_free() argument
604 return tee_rm_shm(dev, shm); in z_impl_tee_shm_free()