/* SPDX-License-Identifier: GPL-2.0 */1/*2* Copyright (C) Microsoft Corporation3*/45#ifndef __TPM_FTPM_TEE_H__6#define __TPM_FTPM_TEE_H__78#include <linux/tee_drv.h>9#include <linux/tpm.h>10#include <linux/uuid.h>1112/* The TAFs ID implemented in this TA */13#define FTPM_OPTEE_TA_SUBMIT_COMMAND (0)14#define FTPM_OPTEE_TA_EMULATE_PPI (1)1516/* max. buffer size supported by fTPM */17#define MAX_COMMAND_SIZE 409618#define MAX_RESPONSE_SIZE 40961920/**21* struct ftpm_tee_private - fTPM's private data22* @chip: struct tpm_chip instance registered with tpm framework.23* @session: fTPM TA session identifier.24* @ctx: TEE context handler.25* @shm: Memory pool shared with fTPM TA in TEE.26*/27struct ftpm_tee_private {28struct tpm_chip *chip;29u32 session;30struct tee_context *ctx;31struct tee_shm *shm;32};3334#endif /* __TPM_FTPM_TEE_H__ */353637