1 /* SPDX-License-Identifier: MIT */
3 * Copyright(c) 2020, Intel Corporation. All rights reserved.
6 #ifndef __INTEL_PXP_TEE_INTERFACE_H__
7 #define __INTEL_PXP_TEE_INTERFACE_H__
9 #include <linux/types.h>
11 #define PXP_TEE_APIVER 0x40002
12 #define PXP_TEE_ARB_CMDID 0x1e
13 #define PXP_TEE_ARB_PROTECTION_MODE 0x2
15 /* PXP TEE message header */
16 struct pxp_tee_cmd_header {
20 /* Length of the message (excluding the header) */
24 /* PXP TEE message input to create a arbitrary session */
25 struct pxp_tee_create_arb_in {
26 struct pxp_tee_cmd_header header;
31 /* PXP TEE message output to create a arbitrary session */
32 struct pxp_tee_create_arb_out {
33 struct pxp_tee_cmd_header header;
36 #endif /* __INTEL_PXP_TEE_INTERFACE_H__ */