Home
last modified time | relevance | path

Searched refs:ta_handle (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/tee/amdtee/
H A Dcall.c127 static u32 get_ta_refcount(u32 ta_handle) in get_ta_refcount() argument
134 if (ta_data->ta_handle == ta_handle) in get_ta_refcount()
139 ta_data->ta_handle = ta_handle; in get_ta_refcount()
148 static u32 put_ta_refcount(u32 ta_handle) in put_ta_refcount() argument
155 if (ta_data->ta_handle == ta_handle) { in put_ta_refcount()
167 int handle_unload_ta(u32 ta_handle) in handle_unload_ta() argument
173 if (!ta_handle) in handle_unload_ta()
203 handle_close_session(u32 ta_handle, u32 info) handle_close_session() argument
[all...]
H A Dcore.c61 handle_close_session(sess->ta_handle, sess->session_info[i]); in release_session()
62 handle_unload_ta(sess->ta_handle); in release_session()
113 u32 ta_handle = get_ta_handle(session); in alloc_session() local
117 if (sess->ta_handle == ta_handle) { in alloc_session()
125 sess->ta_handle = ta_handle; in alloc_session()
138 u32 ta_handle = get_ta_handle(session); in find_session() local
146 if (ta_handle == sess->ta_handle in find_session()
237 u32 session_info, ta_handle; amdtee_open_session() local
308 u32 i, ta_handle, session_info; amdtee_close_session() local
[all...]
H A Damdtee_if.h124 * @ta_handle: [out] return handle of the loaded TA
131 u32 ta_handle; member
137 * @ta_handle: [in] handle of the loaded TA to be unloaded
140 u32 ta_handle; member
145 * @ta_handle: [in] handle of the loaded TA
151 u32 ta_handle; member
160 * @ta_handle: [in] handle of the loaded TA
164 u32 ta_handle; member
171 * @ta_handle: [in] handle of the loaded TA
178 u32 ta_handle; member
[all...]
H A Damdtee_private.h47 * @ta_handle: handle to Trusted Application (TA) loaded in TEE environment
58 u32 ta_handle; member
100 * @ta_handle: Handle to TA loaded in TEE
105 u32 ta_handle; member
113 * @ta_handle: [in] handle of the loaded Trusted Application (TA)
120 static inline void set_session_id(u32 ta_handle, u32 session_index, in set_session_id() argument
123 *session = (session_index << 16) | (LOWER_TWO_BYTE_MASK & ta_handle); in set_session_id()
155 int handle_unload_ta(u32 ta_handle);
160 int handle_close_session(u32 ta_handle, u32 info);
/kernel/linux/linux-6.6/drivers/tee/amdtee/
H A Dcall.c127 static u32 get_ta_refcount(u32 ta_handle) in get_ta_refcount() argument
134 if (ta_data->ta_handle == ta_handle) in get_ta_refcount()
139 ta_data->ta_handle = ta_handle; in get_ta_refcount()
148 static u32 put_ta_refcount(u32 ta_handle) in put_ta_refcount() argument
155 if (ta_data->ta_handle == ta_handle) { in put_ta_refcount()
167 int handle_unload_ta(u32 ta_handle) in handle_unload_ta() argument
173 if (!ta_handle) in handle_unload_ta()
203 handle_close_session(u32 ta_handle, u32 info) handle_close_session() argument
[all...]
H A Dcore.c61 handle_close_session(sess->ta_handle, sess->session_info[i]); in release_session()
62 handle_unload_ta(sess->ta_handle); in release_session()
113 u32 ta_handle = get_ta_handle(session); in alloc_session() local
117 if (sess->ta_handle == ta_handle) { in alloc_session()
125 sess->ta_handle = ta_handle; in alloc_session()
138 u32 ta_handle = get_ta_handle(session); in find_session() local
146 if (ta_handle == sess->ta_handle in find_session()
237 u32 session_info, ta_handle; amdtee_open_session() local
308 u32 i, ta_handle, session_info; amdtee_close_session() local
[all...]
H A Damdtee_if.h124 * @ta_handle: [out] return handle of the loaded TA
131 u32 ta_handle; member
137 * @ta_handle: [in] handle of the loaded TA to be unloaded
140 u32 ta_handle; member
145 * @ta_handle: [in] handle of the loaded TA
151 u32 ta_handle; member
160 * @ta_handle: [in] handle of the loaded TA
164 u32 ta_handle; member
171 * @ta_handle: [in] handle of the loaded TA
178 u32 ta_handle; member
[all...]
H A Damdtee_private.h47 * @ta_handle: handle to Trusted Application (TA) loaded in TEE environment
58 u32 ta_handle; member
100 * @ta_handle: Handle to TA loaded in TEE
105 u32 ta_handle; member
113 * @ta_handle: [in] handle of the loaded Trusted Application (TA)
120 static inline void set_session_id(u32 ta_handle, u32 session_index, in set_session_id() argument
123 *session = (session_index << 16) | (LOWER_TWO_BYTE_MASK & ta_handle); in set_session_id()
155 int handle_unload_ta(u32 ta_handle);
160 int handle_close_session(u32 ta_handle, u32 info);

Completed in 4 milliseconds