OLD | NEW |
(Empty) | |
| 1 /******************************************************************************* |
| 2 ** |
| 3 ** FILENAME: $Id: i2c_tddl.h 59 2010-10-20 10:04:48Z hkr $ |
| 4 ** COPYRIGHT: Infineon Technologies |
| 5 ** DESCRIPTION: I2C TPM - TIS specific part of the TPM API. |
| 6 ** CREATION DATE: 2010/11/19 |
| 7 ** LAST CHANGE: $Date: 2010-10-20 12:04:48 +0200 (Wed, 20 Oct 2010) $ |
| 8 ** $Author$ |
| 9 ** VERSION: $Revision: 59 $ |
| 10 ** |
| 11 *******************************************************************************/ |
| 12 #ifndef _TPM_TIS_I2C_H_ |
| 13 #define _TPM_TIS_I2C_H_ |
| 14 |
| 15 #include "compatibility.h" |
| 16 |
| 17 /* Initialise tpm_tis_i2c layer |
| 18 * @return 0 on success |
| 19 * < 0 on error |
| 20 */ |
| 21 extern int tpm_tis_i2c_init(struct device *dev); |
| 22 |
| 23 extern void tpm_tis_i2c_cleanup(struct tpm_chip *chip); |
| 24 |
| 25 extern int iic_tpm_write(uint addr, const uchar *buffer, int len); |
| 26 extern int iic_tpm_read(uint addr, uchar *buffer, int len); |
| 27 |
| 28 #endif |
OLD | NEW |