xref: /openbmc/linux/drivers/char/tpm/tpm_tis_core.h (revision 57dacc2b)
1 /*
2  * Copyright (C) 2005, 2006 IBM Corporation
3  * Copyright (C) 2014, 2015 Intel Corporation
4  *
5  * Authors:
6  * Leendert van Doorn <leendert@watson.ibm.com>
7  * Kylene Hall <kjhall@us.ibm.com>
8  *
9  * Maintained by: <tpmdd-devel@lists.sourceforge.net>
10  *
11  * Device driver for TCG/TCPA TPM (trusted platform module).
12  * Specifications at www.trustedcomputinggroup.org
13  *
14  * This device driver implements the TPM interface as defined in
15  * the TCG TPM Interface Spec version 1.2, revision 1.0.
16  *
17  * This program is free software; you can redistribute it and/or
18  * modify it under the terms of the GNU General Public License as
19  * published by the Free Software Foundation, version 2 of the
20  * License.
21  */
22 
23 #ifndef __TPM_TIS_CORE_H__
24 #define __TPM_TIS_CORE_H__
25 
26 #include "tpm.h"
27 
28 struct tpm_tis_data {
29 	u16 manufacturer_id;
30 	int locality;
31 	int irq;
32 	bool irq_tested;
33 	wait_queue_head_t int_queue;
34 	wait_queue_head_t read_queue;
35 };
36 
37 #endif
38