|
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.
|
|
|
int | tee_get_version (const struct device *dev, struct tee_version_info *info) |
| Get the current TEE version info.
|
|
int | tee_open_session (const struct device *dev, struct tee_open_session_arg *arg, unsigned int num_param, struct tee_param *param, uint32_t *session_id) |
| Open session for Trusted Environment.
|
|
int | tee_close_session (const struct device *dev, uint32_t session_id) |
| Close session for Trusted Environment.
|
|
int | tee_cancel (const struct device *dev, uint32_t session_id, uint32_t cancel_id) |
| Cancel session or invoke function for Trusted Environment.
|
|
int | tee_invoke_func (const struct device *dev, struct tee_invoke_func_arg *arg, unsigned int num_param, struct tee_param *param) |
| Invoke function for Trusted Environment Application.
|
|
int | tee_add_shm (const struct device *dev, void *addr, size_t align, size_t size, uint32_t flags, struct tee_shm **shmp) |
| Helper function to allocate and register shared memory.
|
|
int | tee_rm_shm (const struct device *dev, struct tee_shm *shm) |
| Helper function to remove and unregister shared memory.
|
|
int | tee_shm_register (const struct device *dev, void *addr, size_t size, uint32_t flags, struct tee_shm **shm) |
| Register shared memory for Trusted Environment.
|
|
int | tee_shm_unregister (const struct device *dev, struct tee_shm *shm) |
| Unregister shared memory for Trusted Environment.
|
|
int | tee_shm_alloc (const struct device *dev, size_t size, uint32_t flags, struct tee_shm **shm) |
| Allocate shared memory region for Trusted Environment.
|
|
int | tee_shm_free (const struct device *dev, struct tee_shm *shm) |
| Free shared memory region for Trusted Environment.
|
|
int | tee_suppl_recv (const struct device *dev, uint32_t *func, unsigned int *num_params, struct tee_param *param) |
| Receive a request for TEE Supplicant.
|
|
int | tee_suppl_send (const struct device *dev, unsigned int ret, unsigned int num_params, struct tee_param *param) |
| Send a request for TEE Supplicant function.
|
|
Public APIs for the tee driver.