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>
44 * struct optee_call_waiter - TEE entry may need to wait for a free TEE thread
56 * struct optee_call_queue - OP-TEE call queue management
58 * @waiters List of threads waiting to enter OP-TEE
59 * @total_thread_count Overall number of thread context in OP-TEE or 0
60 * @free_thread_count Number of threads context free in OP-TEE
91 * struct optee_supp - supplicant synchronization struct
97 * communication, else -1
116 * struct optee_pcpu - per cpu notif private struct passed to work functions
124 * struct optee_smc - optee smc communication struct
129 * @notif_irq interrupt used as async notification by OP-TEE or 0
147 * struct optee_ffa_data - FFA communication struct
149 * OP-TEE in secure world
153 * @global_ids FF-A shared memory global handle translation
166 * struct optee_ops - OP-TEE driver internal operations
167 * @do_call_with_arg: enters OP-TEE in secure world
171 * These OPs are only supposed to be used internally in the OP-TEE driver
172 * as a way of abstracting the different methogs of entering OP-TEE in
188 * struct optee - main service struct
193 * @ctx: driver internal TEE context
195 * @ffa: specific to FF-A ABI
306 p->attr = TEE_IOCTL_PARAM_ATTR_TYPE_VALUE_INPUT + in optee_from_msg_param_value()
307 attr - OPTEE_MSG_ATTR_TYPE_VALUE_INPUT; in optee_from_msg_param_value()
308 p->u.value.a = mp->u.value.a; in optee_from_msg_param_value()
309 p->u.value.b = mp->u.value.b; in optee_from_msg_param_value()
310 p->u.value.c = mp->u.value.c; in optee_from_msg_param_value()
316 mp->attr = OPTEE_MSG_ATTR_TYPE_VALUE_INPUT + p->attr - in optee_to_msg_param_value()
318 mp->u.value.a = p->u.value.a; in optee_to_msg_param_value()
319 mp->u.value.b = p->u.value.b; in optee_to_msg_param_value()
320 mp->u.value.c = p->u.value.c; in optee_to_msg_param_value()