Searched refs:session_id (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/include/zephyr/drivers/ |
D | tee.h | 275 uint32_t *session_id); 283 typedef int (*tee_close_session_t)(const struct device *dev, uint32_t session_id); 292 typedef int (*tee_cancel_t)(const struct device *dev, uint32_t session_id, uint32_t cancel_id); 395 uint32_t *session_id); 400 uint32_t *session_id) in z_impl_tee_open_session() argument 408 return api->open_session(dev, arg, num_param, param, session_id); in z_impl_tee_open_session() 423 __syscall int tee_close_session(const struct device *dev, uint32_t session_id); 425 static inline int z_impl_tee_close_session(const struct device *dev, uint32_t session_id) in z_impl_tee_close_session() argument 433 return api->close_session(dev, session_id); in z_impl_tee_close_session() 449 __syscall int tee_cancel(const struct device *dev, uint32_t session_id, uint32_t cancel_id); [all …]
|
/Zephyr-latest/tests/drivers/tee/optee/src/ |
D | main.c | 140 uint32_t session_id; in ZTEST() local 152 ret = tee_open_session(dev, NULL, 0, NULL, &session_id); in ZTEST() 164 ret = tee_open_session(dev, &arg, 1, ¶m, &session_id); in ZTEST() 167 ret = tee_close_session(dev, session_id); in ZTEST() 175 uint32_t session_id; in ZTEST() local 206 ret = tee_open_session(dev, &arg, 1, ¶m, &session_id); in ZTEST() 214 ret = tee_close_session(dev, session_id); in ZTEST() 222 uint32_t session_id; in ZTEST() local 238 ret = tee_open_session(dev, &arg, 1, ¶m, &session_id); in ZTEST() 244 ret = tee_close_session(dev, session_id); in ZTEST() [all …]
|
/Zephyr-latest/drivers/tee/optee/ |
D | optee.c | 729 static int optee_close_session(const struct device *dev, uint32_t session_id) in optee_close_session() argument 746 marg->session = session_id; in optee_close_session() 759 uint32_t *session_id) in optee_open_session() argument 765 if (!arg || !session_id) { in optee_open_session() 816 *session_id = marg->session; in optee_open_session() 829 static int optee_cancel(const struct device *dev, uint32_t session_id, uint32_t cancel_id) in optee_cancel() argument 847 marg->session = session_id; in optee_cancel()
|