|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Data Structures | |
| struct | tee_driver_api |
| Driver Operations TEE driver operations More... | |
Typedefs | |
| typedef int(* | tee_get_version_t) (const struct device *dev, struct tee_version_info *info) |
| Callback API to get current tee version. | |
| typedef int(* | tee_open_session_t) (const struct device *dev, struct tee_open_session_arg *arg, unsigned int num_param, struct tee_param *param, uint32_t *session_id) |
| Callback API to open session to Trusted Application. | |
| typedef int(* | tee_close_session_t) (const struct device *dev, uint32_t session_id) |
| Callback API to close session to TA. | |
| typedef int(* | tee_cancel_t) (const struct device *dev, uint32_t session_id, uint32_t cancel_id) |
| Callback API to cancel open session of invoke function to TA. | |
| typedef int(* | tee_invoke_func_t) (const struct device *dev, struct tee_invoke_func_arg *arg, unsigned int num_param, struct tee_param *param) |
| Callback API to invoke function to TA. | |
| typedef int(* | tee_shm_register_t) (const struct device *dev, struct tee_shm *shm) |
| Callback API to register shared memory. | |
| typedef int(* | tee_shm_unregister_t) (const struct device *dev, struct tee_shm *shm) |
| Callback API to unregister shared memory. | |
| typedef int(* | tee_suppl_recv_t) (const struct device *dev, uint32_t *func, unsigned int *num_params, struct tee_param *param) |
| Callback API to receive a request for TEE supplicant. | |
| typedef int(* | tee_suppl_send_t) (const struct device *dev, unsigned int ret, unsigned int num_params, struct tee_param *param) |
| Callback API to send a request for TEE supplicant. | |
This group contains the API type definitions, callback signatures, and other helpers required to implement a TEE driver.
#include <zephyr/drivers/tee.h>
Callback API to cancel open session of invoke function to TA.
See tee_cancel() for argument definitions.
#include <zephyr/drivers/tee.h>
Callback API to close session to TA.
See tee_close_session() for argument definitions.
| typedef int(* tee_get_version_t) (const struct device *dev, struct tee_version_info *info) |
#include <zephyr/drivers/tee.h>
Callback API to get current tee version.
See tee_get_version() for argument definitions.
| typedef int(* tee_invoke_func_t) (const struct device *dev, struct tee_invoke_func_arg *arg, unsigned int num_param, struct tee_param *param) |
#include <zephyr/drivers/tee.h>
Callback API to invoke function to TA.
See tee_invoke_func() for argument definitions.
| typedef int(* tee_open_session_t) (const struct device *dev, struct tee_open_session_arg *arg, unsigned int num_param, struct tee_param *param, uint32_t *session_id) |
#include <zephyr/drivers/tee.h>
Callback API to open session to Trusted Application.
See tee_open_session() for argument definitions.
#include <zephyr/drivers/tee.h>
Callback API to register shared memory.
See tee_shm_register() for argument definitions.
#include <zephyr/drivers/tee.h>
Callback API to unregister shared memory.
See tee_shm_unregister() for argument definitions.
| typedef int(* tee_suppl_recv_t) (const struct device *dev, uint32_t *func, unsigned int *num_params, struct tee_param *param) |
#include <zephyr/drivers/tee.h>
Callback API to receive a request for TEE supplicant.
See tee_suppl_recv() for argument definitions.
| typedef int(* tee_suppl_send_t) (const struct device *dev, unsigned int ret, unsigned int num_params, struct tee_param *param) |
#include <zephyr/drivers/tee.h>
Callback API to send a request for TEE supplicant.
See tee_suppl_send() for argument definitions.