Home
last modified time | relevance | path

Searched refs:ta_handle (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/tee/amdtee/
A Dcall.c134 if (ta_data->ta_handle == ta_handle) in get_ta_refcount()
139 ta_data->ta_handle = ta_handle; in get_ta_refcount()
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()
178 count = put_ta_refcount(ta_handle); in handle_unload_ta()
182 ta_handle, count); in handle_unload_ta()
187 cmd.ta_handle = ta_handle; in handle_unload_ta()
209 if (ta_handle == 0) in handle_close_session()
212 cmd.ta_handle = ta_handle; in handle_close_session()
[all …]
A Dcore.c62 handle_unload_ta(sess->ta_handle); in release_session()
117 if (sess->ta_handle == ta_handle) { in alloc_session()
125 sess->ta_handle = ta_handle; in alloc_session()
146 if (ta_handle == sess->ta_handle && in find_session()
237 u32 session_info, ta_handle; in amdtee_open_session() local
265 handle_unload_ta(ta_handle); in amdtee_open_session()
279 handle_unload_ta(ta_handle); in amdtee_open_session()
292 handle_unload_ta(ta_handle); in amdtee_open_session()
307 u32 i, ta_handle, session_info; in amdtee_close_session() local
319 ta_handle = get_ta_handle(session); in amdtee_close_session()
[all …]
A Damdtee_private.h58 u32 ta_handle; member
105 u32 ta_handle; member
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);
A Damdtee_if.h130 u32 ta_handle; member
138 u32 ta_handle; member
149 u32 ta_handle; member
162 u32 ta_handle; member
176 u32 ta_handle; member

Completed in 21 milliseconds