Lines Matching +full:op +full:- +full:tee
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2015-2021, 2023 Linaro Limited
9 #include <linux/arm-smccc.h>
32 /* API Return Codes are from the GP TEE Internal Core API Specification */
51 * struct optee_call_waiter - TEE entry may need to wait for a free TEE thread
63 * struct optee_call_queue - OP-TEE call queue management
65 * @waiters List of threads waiting to enter OP-TEE
66 * @total_thread_count Overall number of thread context in OP-TEE or 0
67 * @free_thread_count Number of threads context free in OP-TEE
98 * struct optee_supp - supplicant synchronization struct
104 * communication, else -1
123 * struct optee_pcpu - per cpu notif private struct passed to work functions
131 * struct optee_smc - optee smc communication struct
136 * @notif_irq interrupt used as async notification by OP-TEE or 0
154 * struct optee_ffa_data - FFA communication struct
156 * OP-TEE in secure world
160 * @global_ids FF-A shared memory global handle translation
173 * struct optee_ops - OP-TEE driver internal operations
174 * @do_call_with_arg: enters OP-TEE in secure world
178 * These OPs are only supposed to be used internally in the OP-TEE driver
179 * as a way of abstracting the different methogs of entering OP-TEE in
195 * struct optee - main service struct
200 * @ctx: driver internal TEE context
202 * @ffa: specific to FF-A ABI
321 p->attr = TEE_IOCTL_PARAM_ATTR_TYPE_VALUE_INPUT + in optee_from_msg_param_value()
322 attr - OPTEE_MSG_ATTR_TYPE_VALUE_INPUT; in optee_from_msg_param_value()
323 p->u.value.a = mp->u.value.a; in optee_from_msg_param_value()
324 p->u.value.b = mp->u.value.b; in optee_from_msg_param_value()
325 p->u.value.c = mp->u.value.c; in optee_from_msg_param_value()
331 mp->attr = OPTEE_MSG_ATTR_TYPE_VALUE_INPUT + p->attr - in optee_to_msg_param_value()
333 mp->u.value.a = p->u.value.a; in optee_to_msg_param_value()
334 mp->u.value.b = p->u.value.b; in optee_to_msg_param_value()
335 mp->u.value.c = p->u.value.c; in optee_to_msg_param_value()