Lines Matching +full:op +full:- +full:tee

2  * Copyright (c) 2015-2016, Linaro Limited
35 * This file describes the API provided by a TEE driver to user space.
37 * Each TEE driver defines a TEE specific protocol which is used for the
47 #define TEE_IOCTL_SHM_DMA_BUF 0x2 /* dma-buf handle on shared memory */
51 #define TEE_GEN_CAP_GP (1 << 0)/* GlobalPlatform compliant TEE */
56 #define TEE_MEMREF_NULL (__u64)(-1) /* NULL MemRef Buffer */
59 * TEE Implementation ID
65 * OP-TEE specific capabilities
70 * struct tee_ioctl_version_data - TEE version
71 * @impl_id: [out] TEE implementation id
75 * Identifies the TEE implementation, @impl_id is one of TEE_IMPL_ID_* above.
86 * TEE_IOC_VERSION - query version of TEE
88 * Takes a tee_ioctl_version_data struct and returns with the TEE version
95 * struct tee_ioctl_shm_alloc_data - Shared memory allocate argument
111 * TEE_IOC_SHM_ALLOC - allocate shared memory
125 * struct tee_ioctl_buf_data - Variable sized buffer
170 * Matches TEEC_LOGIN_* in GP TEE Client API
180 * Disallow user-space to use GP implementation specific login
181 * method range (0x80000000 - 0xBFFFFFFF). This range is rather
182 * being reserved for REE kernel clients or TEE implementation.
190 * struct tee_ioctl_param - parameter
208 * passed to a trusted application in the TEE.
213 * If a NULL pointer is passed to a TA in the TEE, the (@c)
227 * struct tee_ioctl_open_session_arg - Open session argument
251 * TEE_IOC_OPEN_SESSION - opens a session to a Trusted Application
261 * struct tee_ioctl_invoke_func_arg - Invokes a function in a Trusted
282 * TEE_IOC_INVOKE - Invokes a function in a Trusted Application
291 * struct tee_ioctl_cancel_arg - Cancels an open session or invoke ioctl
301 * TEE_IOC_CANCEL - Cancels an open session or invoke
307 * struct tee_ioctl_close_session_arg - Closes an open session
315 * TEE_IOC_CLOSE_SESSION - Closes a session
321 * struct tee_iocl_supp_recv_arg - Receive a request for a supplicant function
325 * @num_params is the number of params that tee-supplicant has room to
327 * tee-supplicant receives when output.
337 * TEE_IOC_SUPPL_RECV - Receive a request for a supplicant function
346 * struct tee_iocl_supp_send_arg - Send a response to a received request
358 * TEE_IOC_SUPPL_SEND - Send a response to a received request
367 * struct tee_ioctl_shm_register_data - Shared memory register argument
385 * TEE_IOC_SHM_REGISTER - Register shared memory argument
396 * Five syscalls are used when communicating with the TEE driver.
400 * - closes the device file descriptor
401 * - closes a file descriptor connected to allocated shared memory